Metadata-Version: 2.4
Name: fastclaude
Version: 0.0.2
Summary: Small completions-style Python interface backed by the Claude CLI
Author-email: Jeremy Howard <github@jhoward.fastmail.fm>
License: Apache-2.0
Project-URL: Repository, https://github.com/AnswerDotAI/fastclaude
Project-URL: Documentation, https://AnswerDotAI.github.io/fastclaude/
Keywords: nbdev
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: python-fastllm>=0.0.42
Dynamic: license-file

# fastclaude


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

`fastclaude` is a small, completions-style Python interface backed by the installed
Claude Code executable. It inherits Claude CLI authentication, including OAuth and
subscriptions, without requiring direct Anthropic API integration.

One call is one stateless completion:

- accepts complete, editable histories as [`aidialog.msg_parts.Msg`](https://AnswerDotAI.github.io/aidialog/msg_parts.html#msg) objects
- compiles them into real Claude Code sessions rather than flattening them into a prompt
- advertises tools as schemas and ends the run at a `tool_use`, so the caller owns the tool loop
- accepts a history ending in a `ToolResult`, so the standard completions tool loop just works
- streams Claude output and supports native interruption
- remains stateless across requests

See [DEV.md](DEV.md) for the design record and protocol findings.

## Installation

``` sh
pip install fastclaude
```

## Development

``` sh
pip install -e .
```

## License

Apache License 2.0.
