Skip to main content

Agent Package

The Agent package owns messaging handlers, webhooks, scheduled runtime work, and public HTTP surfaces that need server-side aggregation or signing boundaries.

Boundary

  • Runtime assembly starts in packages/agent/src/index.ts.
  • Route and response contracts use shared public-contract exports.
  • Chain-aware data readers remain in shared modules; Agent routes compose them with HTTP policy, rate limiting, cache behavior, and safe error responses.
  • Secrets and provider configuration stay in the root environment pipeline.

Read packages/agent/AGENTS.md and packages/agent/README.md before changing or deploying this package. Use the generated API index for current public routes and package exports.