Documentation
¶
Overview ¶
Example: drive a parent agent with a subagent end-to-end with no LLM credentials. Two scripted-mock providers — one for the parent, one for the research subagent — replay JSONL transcripts that capture: parent calls subagent, subagent returns its answer, parent emits a final summary.
Both agents share an eventlog handle; the research subagent's events land in the parent's session row under branch="research" so an audit query against the parent session returns both. We inspect the resulting SQLite database at the end to show the agent_eventlog rows tagged by branch.
go run ./examples/with-subagent
Click to show internal directories.
Click to hide internal directories.