Skip to content

slice 1.0.1: AnthropicProvider — minimal streaming + tool use #22

@sausi-7

Description

@sausi-7

Phase 1.0 demo slice · Difficulty: D2

Scope

The smallest workable LLMProvider ABC and a single AnthropicProvider implementation. No factory, no provider switching. Key read from ANTHROPIC_API_KEY env var (BYOK UI is deferred to full Phase 1).

Acceptance criteria

  • LLMProvider.stream(messages, tools) -> AsyncIterator[Event] defined.
  • Events: token, tool_call, tool_result, done, error.
  • AnthropicProvider streams tokens and surfaces tool-use blocks.
  • Smoke test (manual is fine for the slice; recorded fixture preferred).

Carries forward into full Phase 1 issue 1.1.2 with no rewrite.

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