Codocia Docs
Generated by Codocia from # codocia Markdown blocks.
Architecture
Section titled “Architecture”flowchart TD m_agent["agent<br/>Agent owns execution planning and model/tool orchestration."] m_auth["auth<br/>Auth owns secret references and provider access profiles."] m_bridge["bridge<br/>Bridge owns adapter-safe DTOs for moving legacy boundary data into Core."] m_chat["chat<br/>Chat owns sessions, turns, and message history."] m_cli["cli<br/>CLI owns the minimal executable skill command loop."] m_engine["engine<br/>Engine owns core composition and command execution boundary."] m_event["event<br/>Event owns shared stream and trace event types."] m_model["model<br/>Model owns provider and model identity for the core."] m_proto["proto<br/>Proto owns the command and response protocol model."] m_python_skrun_skill["python-skrun-skill<br/>Python skill owns the SDK wrapper for executable skill artifacts."] m_run["run<br/>Run owns durable task and run execution concepts."] m_runtime["runtime<br/>Runtime owns executable skill artifacts."] m_server["server<br/>Server owns the product ingress boundary."] m_skill["skill<br/>Skill owns skill metadata and AI-facing context resolution."] m_skrun_native["skrun-native<br/>Py owns the PyO3 module boundary for the core."] m_store["store<br/>Store owns backend-neutral repository contracts."] m_tool["tool<br/>Tool owns the callable tool contract and registry."] m_cli_tui_web_mcp_adapters --> m_server m_python_native_bridge --> m_proto m_python_native_bridge --> m_server m_python_package --> m_runtime m_agent --> m_event m_agent --> m_model m_agent --> m_skill m_agent --> m_tool m_auth --> m_model m_auth --> m_store m_bridge --> m_auth m_bridge --> m_chat m_bridge --> m_model m_bridge --> m_run m_bridge --> m_skill m_bridge --> m_tool m_chat --> m_agent m_chat --> m_event m_chat --> m_skill m_chat --> m_store m_cli --> m_runtime m_engine --> m_agent m_engine --> m_auth m_engine --> m_chat m_engine --> m_event m_engine --> m_model m_engine --> m_proto m_engine --> m_run m_engine --> m_skill m_engine --> m_store m_engine --> m_tool m_external_python_agent_frameworks --> m_python_skrun_skill m_future_cli_and_server_skill_entrypoints --> m_runtime m_proto --> m_auth m_proto --> m_chat m_proto --> m_event m_proto --> m_model m_proto --> m_run m_proto --> m_skill m_proto --> m_tool m_python_skrun_skill --> m_runtime m_python_skrun_coreclient_native --> m_skrun_native m_run --> m_agent m_run --> m_chat m_run --> m_event m_run --> m_skill m_run --> m_store m_runtime --> m_serde_json m_server --> m_engine m_server --> m_proto m_skill --> m_store m_skrun_native --> m_engine m_skrun_native --> m_model m_skrun_native --> m_runtime m_skrun_native --> m_serverModules
Section titled “Modules”agent·rust: Agent owns execution planning and model/tool orchestration.auth·rust: Auth owns secret references and provider access profiles.bridge·rust: Bridge owns adapter-safe DTOs for moving legacy boundary data into Core.chat·rust: Chat owns sessions, turns, and message history.cli·rust: CLI owns the minimal executable skill command loop.engine·rust: Engine owns core composition and command execution boundary.event·rust: Event owns shared stream and trace event types.model·rust: Model owns provider and model identity for the core.proto·rust: Proto owns the command and response protocol model.python-skrun-skill·python: Python skill owns the SDK wrapper for executable skill artifacts.run·rust: Run owns durable task and run execution concepts.runtime·rust: Runtime owns executable skill artifacts.server·rust: Server owns the product ingress boundary.skill·rust: Skill owns skill metadata and AI-facing context resolution.skrun-native·rust: Py owns the PyO3 module boundary for the core.store·rust: Store owns backend-neutral repository contracts.tool·rust: Tool owns the callable tool contract and registry.