Package agentbase supplies the defaults an agent adapter would otherwise hand-copy. Most adapters implement several ports.Agent methods identically: no config keys, prompt delivered in the launch command, and (for the simpler harnesses) no hooks, no resume, no session metadata. E
// Source: https://github.com/Untrivial-ai/agent-orchestrator | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. // Package agentbase supplies the defaults an agent adapter would otherwise // hand-copy. Most adapters implement several ports.Agent methods identically: // no config keys, prompt delivered in the launch command, and (for the simpler // harnesses) no hooks, no resume, no session metadata. Embedding Base gives an // adapter those defaults so it only writes the methods it actually customizes. package agentbase import ( "context" "strings" "github.com/aoagents/agent-orchestrator/backend/internal/ports" ) // ModelConfigSpec returns the common optional model config field ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key