Metadata-Version: 2.4
Name: fastclaude
Version: 0.0.3
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.

Each top-level user turn starts from complete history, while its tool rounds stay live:

- 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 pauses after a complete `tool_use` batch, so the caller owns the tool loop
- accepts the complete `ToolResult` batch through `resume`, then continues the same Claude process
- streams Claude output and supports native interruption
- remains stateless between top-level user turns

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.
