Anthropic Claude API with PicoClaw

PicoClaw supports Anthropic as a provider, so you can pair Claude’s reasoning quality with a tiny local runtime on edge devices or servers. The heavy lifting stays in the API; PicoClaw handles triggers, chat bridges, and schedules.

1. API key

Create a key in the Anthropic console. Scope keys per environment (dev vs prod) and rotate if exposed.

2. Configuration

Add anthropic under providers with your key, then select a Claude model in agents.defaults.model per Configuration. See Providers for the provider list.

3. Cost and context

Long prompts and tool-style workflows increase tokens fast. For cron or log summaries, tighten prompts and cap output length. For interactive bots, monitor usage in the Anthropic dashboard.

4. Next steps