Skip to content

v0.3.0

Choose a tag to compare

@ktsoator ktsoator released this 22 Jun 08:32
3a6e190

or/agent — a new package

This release adds or/agent, a provider-neutral orchestration layer built on or/llm.

Highlights

  • Stateless RunLoop engine plus a stateful Agent (Prompt, Continue, Subscribe, Steer, FollowUp, Abort, Snapshot, Reset).
  • Tool loop with concurrent execution (per-tool / sequential override) and a terminate hint.
  • Hooks: BeforeToolCall, AfterToolCall, ShouldStopAfterTurn, PrepareNextTurn (including model switching across wire protocols), TransformContext, ConvertToLLM, GetAPIKey.
  • Steering and follow-up queues with QueueAll / QueueOneAtATime modes.
  • Typed tools with optional Label and PrepareArguments.
  • Three runnable examples (basic, tool, hooks) and a package README.

The or/llm package is unchanged and backward compatible.