06

Agents and tools

Core platform1 min read

Build bounded specialists and register typed, auditable capabilities.

ManagerAgent
Owns the user run and calls bounded specialists as tools.
ResearchAgent
Performs read-only web, connector, and market research.
CodeAgent
Plans and reviews patches; execution is delegated to a sandbox.
PortfolioAgent
Computes balances, allocation, PnL, and strategy artifacts.
RiskAgent
Returns allow, reject, or approval-required decisions independently.
  • Every external input and tool contract is validated with shared Zod schemas.
  • Every tool declares a risk tier, required scopes, rate limit, timeout, idempotency behavior, audit event, and approval rule.
  • Use agents-as-tools for bounded work. Use handoffs only when the specialist should own the rest of the user-facing turn.
  • Never expose unrestricted shell, provider secrets, raw signing, or exchange withdrawals to an LLM-facing agent.

Was this page helpful?

Edit on GitHub