Skip to content

slice 1.0.4: agent loop runner — provider + tool dispatch + event emit #25

@sausi-7

Description

@sausi-7

Phase 1.0 demo slice · Difficulty: D2

Scope

The minimum loop: take a system prompt + user prompt + provider + tool registry; stream events; dispatch tool calls; feed results back; terminate on done.

No token-budget trimming, no conversation persistence, no multi-turn — that's deferred.

Acceptance criteria

  • Async function returning an AsyncIterator[Event].
  • Tool-call → tool-result round-trip works against write_file and read_file.
  • Loop terminates cleanly on done or error.
  • Smoke test against a FakeProvider that scripts a write_file call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    D2Intermediate — touches one subsystemepic:agent-coreLives under packages/agent-corephase-1.0Phase 1.0 — demo-ready vertical slice (launch gif)slice:demoPart of the launch-day demo-gif slice

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions