agent/

directory
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: AGPL-3.0

Directories

Path Synopsis
adapter
acpprofile
Package acpprofile adapts the ACP runtime profile registry to the stable turn contract consumed by Channel.
Package acpprofile adapts the ACP runtime profile registry to the stable turn contract consumed by Channel.
agentsession
Package agentsession adapts Chat thread metadata to the minimal descriptor consumed by the ACP runtime.
Package agentsession adapts Chat thread metadata to the minimal descriptor consumed by the ACP runtime.
channelcontact
Package channelcontact adapts Channel routes to Agent messaging contacts.
Package channelcontact adapts Channel routes to Agent messaging contacts.
channelidentity
Package channelidentity adapts Channel configuration data to the neutral platform identity projection consumed by Agent application orchestration.
Package channelidentity adapts Channel configuration data to the neutral platform identity projection consumed by Agent application orchestration.
channelmessaging
Package channelmessaging adapts Agent-owned messaging ports to the Channel delivery runtime.
Package channelmessaging adapts Agent-owned messaging ports to the Channel delivery runtime.
channelqueue
Package channelqueue adapts channel queue controls to the application service without exposing queue storage types to channels or RPC.
Package channelqueue adapts channel queue controls to the application service without exposing queue storage types to channels or RPC.
Package application orchestrates agent turns, including context assembly, persistence, memory, compaction, approvals, and runtime invocation.
Package application orchestrates agent turns, including context assembly, persistence, memory, compaction, approvals, and runtime invocation.
Package background implements a background task manager for long-running commands and subagent work.
Package background implements a background task manager for long-running commands and subagent work.
context
fragment
Package contextfrag defines the typed intermediate representation used to describe context before it is rendered into provider-specific SDK inputs.
Package contextfrag defines the typed intermediate representation used to describe context before it is rendered into provider-specific SDK inputs.
Package decision holds app-layer decision DTOs and shared waiting primitives.
Package decision holds app-layer decision DTOs and shared waiting primitives.
feedback
Package feedback defines stable user-facing External Agent errors.
Package feedback defines stable user-facing External Agent errors.
input
Package-shared MCP form-elicitation core: translates an MCP elicitation requestedSchema into the strict ask_user question payload and maps the submitted answers back into schema-conformant content.
Package-shared MCP form-elicitation core: translates an MCP elicitation requestedSchema into the strict ask_user question payload and maps the submitted answers back into schema-conformant content.
Package event defines the stream events shared by agent runtimes and the conversation layer.
Package event defines the stream events shared by agent runtimes and the conversation layer.
payload
Package payload defines the on-wire shapes for agent-emitted events published to the chat event hub.
Package payload defines the on-wire shapes for agent-emitted events published to the chat event hub.
runtime
acp
Driver adapts the ACP session pool to the external runtime port, so ACP sits at the same level as the other out-of-process external agent runtimes (codex, claude-code) and the application keeps one turn orchestration for all of them.
Driver adapts the ACP session pool to the external runtime port, so ACP sits at the same level as the other out-of-process external agent runtimes (codex, claude-code) and the application keeps one turn orchestration for all of them.
acp/client
Package client manages Agent Control Protocol processes, sessions, and events.
Package client manages Agent Control Protocol processes, sessions, and events.
agentprocess
Package agentprocess provides the shared bridge-backed stdio process used by direct External Agent drivers.
Package agentprocess provides the shared bridge-backed stdio process used by direct External Agent drivers.
agentstate
Package agentstate defines the External Agent persistence contract for native session checkpoints: JSONL trees owned by an out-of-process runtime (an ACP agent, codex, claude-code) that Memoh snapshots to and restores from the database without making their opaque records part of the canonical chat timeline.
Package agentstate defines the External Agent persistence contract for native session checkpoints: JSONL trees owned by an out-of-process runtime (an ACP agent, codex, claude-code) that Memoh snapshots to and restores from the database without making their opaque records part of the canonical chat timeline.
claudecode
Database checkpointing for Claude Code sessions.
Database checkpointing for Claude Code sessions.
claudecode/claudecfg
Package claudecfg holds the Bot Agent configuration contract for the direct Claude Code runtime.
Package claudecfg holds the Bot Agent configuration contract for the direct Claude Code runtime.
codex
Package codex implements the direct codex app-server runtime driver: it speaks the v2 protocol (internal/agent/runtime/codex/protocol) to a pinned codex CLI running inside the bot workspace, with no ACP adapter in between.
Package codex implements the direct codex app-server runtime driver: it speaks the v2 protocol (internal/agent/runtime/codex/protocol) to a pinned codex CLI running inside the bot workspace, with no ACP adapter in between.
codex/codexcfg
Package codexcfg holds the Bot Agent configuration contract for the direct codex runtime.
Package codexcfg holds the Bot Agent configuration contract for the direct codex runtime.
codex/protocol
Package protocol implements the wire contract Memoh speaks with the codex app-server: JSON-RPC 2.0 semantics over newline-delimited JSON on stdio, with the `jsonrpc` version field omitted, as the app-server does.
Package protocol implements the wire contract Memoh speaks with the codex app-server: JSON-RPC 2.0 semantics over newline-delimited JSON on stdio, with the `jsonrpc` version field omitted, as the app-server does.
codex/protocolgen
Package protocolgen generates the Go types for the codex app-server v2 protocol from the vendored JSON Schema snapshot under schema/.
Package protocolgen generates the Go types for the codex app-server v2 protocol from the vendored JSON Schema snapshot under schema/.
external
Package external defines the neutral port between the agent application layer and out-of-process runtimes: Codex, Claude Code, and ACP agents.
Package external defines the neutral port between the agent application layer and out-of-process runtimes: Codex, Claude Code, and ACP agents.
session/ledger
Package ledger is the durable half of the session runtime: the record of which runs were admitted, who owns them, and how they ended.
Package ledger is the durable half of the session runtime: the record of which runs were admitted, who owns them, and how they ended.
toolmount
Package toolmount serves the Memoh tool gateway (HTTP MCP) into a bot workspace over the bridge's reverse-HTTP stream, so an external agent runtime inside the container reaches Memoh tools at the workspace-local proxy URL.
Package toolmount serves the Memoh tool gateway (HTTP MCP) into a bot workspace over the bridge's reverse-HTTP stream, so an external agent runtime inside the container reaches Memoh tools at the workspace-local proxy URL.
Package turn defines the application-level contract for starting and observing agent turns.
Package turn defines the application-level contract for starting and observing agent turns.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL