Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 521 Bytes

File metadata and controls

18 lines (13 loc) · 521 Bytes

basic-task

The smallest possible runAgentTask invocation. A domain adapter that finishes after a single decide step, with no streaming, no knowledge provider, no telemetry. Use as the starting point for any new domain agent.

Run

pnpm tsx examples/basic-task/basic-task.ts

What it shows

  • Minimal AgentAdapter<TState, TAction, TActionResult, TEval> implementation
  • The four lifecycle methods: observe, validate, decide, act
  • How runAgentTask returns runRecords you can persist