Metadata-Version: 2.4
Name: docketeer-anthropic
Version: 0.0.17
Summary: Anthropic inference backend plugin for Docketeer
Project-URL: Homepage, https://github.com/chrisguidry/docketeer
Project-URL: Repository, https://github.com/chrisguidry/docketeer
Project-URL: Issues, https://github.com/chrisguidry/docketeer/issues
Author-email: Chris Guidry <guid@omg.lol>
License-Expression: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.12
Requires-Dist: anthropic
Requires-Dist: docketeer
Description-Content-Type: text/markdown

# docketeer-anthropic

Anthropic inference backend plugin for Docketeer.

This plugin provides two inference backends:

- **api**: Direct integration with the Anthropic API (default)
- **claude-code**: Uses the `claude -p` command via an executor (requires
  [Claude Code](https://docs.anthropic.com/en/docs/claude-code) installed and
  an OAuth token from `claude setup-token`)

## Installation

```bash
pip install docketeer-anthropic
```

## Configuration

| Variable | Default | Description |
|---|---|---|
| `DOCKETEER_ANTHROPIC_BACKEND` | `api` | Backend type: `api` or `claude-code` |
| `DOCKETEER_ANTHROPIC_API_KEY` | _(required for api)_ | Anthropic API key |
| `DOCKETEER_CLAUDE_CODE_OAUTH_TOKEN` | _(required for claude-code)_ | OAuth token from `claude setup-token` |
| `DOCKETEER_ANTHROPIC_MODEL_SMART` | `claude-opus-4-6` | Model for the `smart` tier |
| `DOCKETEER_ANTHROPIC_MODEL_BALANCED` | `claude-sonnet-4-6` | Model for the `balanced` tier |
| `DOCKETEER_ANTHROPIC_MODEL_FAST` | `claude-haiku-4-5-20251001` | Model for the `fast` tier |

Then configure Docketeer to use the Anthropic inference plugin:

```bash
export DOCKETEER_INFERENCE=anthropic
```
