Skip to main content

Module agent

Module agent 

Source
Expand description

Agent loop + tool abstraction (packages/agent).

Modules§

agent_loop
The agent loop (packages/agent/agent-loop.ts): stream an assistant response, execute any tool calls, feed results back, and repeat until the model stops.
context
Agent context snapshot and event protocol.
tool
Tool abstraction (AgentTool trait) and the permission gate hook.