Directories
¶
| Path | Synopsis |
|---|---|
|
Package agentcore is the public entry point of the SDK.
|
Package agentcore is the public entry point of the SDK. |
|
Package compaction keeps a conversation within a model's context window using three mechanisms aligned 1:1 with claude-code (see docs/COMPACTION-SPEC-3.md):
|
Package compaction keeps a conversation within a model's context window using three mechanisms aligned 1:1 with claude-code (see docs/COMPACTION-SPEC-3.md): |
|
Package coordinator implements coordinator mode: a top-level agent that decomposes work and delegates each unit to isolated "worker" subagents instead of doing the work itself.
|
Package coordinator implements coordinator mode: a top-level agent that decomposes work and delegates each unit to isolated "worker" subagents instead of doing the work itself. |
|
Package harness implements the agent's core loop as a state machine: stream a completion, recover from max-output-tokens / prompt-too-long, surface text/thinking/tool events, execute tool calls through a streaming executor (FIFO + exclusive scheduling), gate the Stop transition with hooks and a token budget, and repeat.
|
Package harness implements the agent's core loop as a state machine: stream a completion, recover from max-output-tokens / prompt-too-long, surface text/thinking/tool events, execute tool calls through a streaming executor (FIFO + exclusive scheduling), gate the Stop transition with hooks and a token budget, and repeat. |
|
Package hook provides Go-native lifecycle hooks (FR-08): callbacks fired at eight points in the agent loop that can observe state, block or rewrite tool calls, inject context, and gate the Stop transition.
|
Package hook provides Go-native lifecycle hooks (FR-08): callbacks fired at eight points in the agent loop that can observe state, block or rewrite tool calls, inject context, and gate the Stop transition. |
|
Package llm defines a vendor-neutral message model and a pluggable Provider interface, with adapters that speak the Anthropic Messages API and the OpenAI Chat Completions API.
|
Package llm defines a vendor-neutral message model and a pluggable Provider interface, with adapters that speak the Anthropic Messages API and the OpenAI Chat Completions API. |
|
Package mcp integrates Model Context Protocol tools (FR-10).
|
Package mcp integrates Model Context Protocol tools (FR-10). |
|
Package memory gives the agent persistent, file-backed long-term memory.
|
Package memory gives the agent persistent, file-backed long-term memory. |
|
Package noa is a model-driven context-compression engine: a pure core with no host dependency, no I/O, and no model calls.
|
Package noa is a model-driven context-compression engine: a pure core with no host dependency, no I/O, and no model calls. |
|
Package noaadapter wires the pure noa engine into Norma: it projects llm.Message into noa's flat representation and back, persists state and archives, and exposes the Compress tool.
|
Package noaadapter wires the pure noa engine into Norma: it projects llm.Message into noa's flat representation and back, persists state and archives, and exposes the Compress tool. |
|
Package permission is the agent's safety boundary.
|
Package permission is the agent's safety boundary. |
|
Package plan implements plan mode: the agent first explores read-only and drafts a plan, then calls ExitPlanMode to present it for approval.
|
Package plan implements plan mode: the agent first explores read-only and drafts a plan, then calls ExitPlanMode to present it for approval. |
|
Package skill implements the skill system: named, reusable instruction packages the agent can invoke on demand.
|
Package skill implements the skill system: named, reusable instruction packages the agent can invoke on demand. |
|
Package subagent lets the agent delegate to isolated child agents (FR-09).
|
Package subagent lets the agent delegate to isolated child agents (FR-09). |
|
Package tool defines the CoreTool contract and the built-in file/shell tools that give the agent its hands.
|
Package tool defines the CoreTool contract and the built-in file/shell tools that give the agent its hands. |
|
Package transcript persists a conversation to an append-only JSONL log on disk and reconstructs it for resume.
|
Package transcript persists a conversation to an append-only JSONL log on disk and reconstructs it for resume. |
Click to show internal directories.
Click to hide internal directories.