fastclaude
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 request starts from complete history:
- accepts complete, editable histories as
aidialog.msg_parts.Msgobjects - compiles them into real Claude Code sessions rather than flattening them into a prompt
- advertises tools as schemas and ends the turn at a
tool_use, so the caller owns the tool loop - continues a history ending in
ToolResults by deferral: the pending call is marked in the transcript and its known result served on resume - streams Claude output and supports native interruption
- remains stateless: each request is one process, and nothing is held between requests
See DEV.md for the design record and protocol findings.
Installation
pip install fastclaude
Development
pip install -e .
License
Apache License 2.0.
Metadata
Release files for fastclaude 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastclaude-0.0.4.tar.gz | 38.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastclaude-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.1 kB
Release files / fastclaude-0.0.4.tar.gz
| Download URL | fastclaude-0.0.4.tar.gz |
|---|---|
| Size | 38.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
520f84708547864ebd739739d0c11e06aa4120c2e19d4d042715be13a97c69cf
|
|
BLAKE2b-256 checksum How to use checksums |
d266421a5d9c653cc95aae5d8fbf071b7b02a4a206302c10f6205947ce3ab097
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / fastclaude-0.0.4-py3-none-any.whl
| Download URL | fastclaude-0.0.4-py3-none-any.whl |
|---|---|
| Size | 40.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d117c46d628ffcb200fe9fed0960485a464c42f8c99b4a96beb95638cb361491
|
|
BLAKE2b-256 checksum How to use checksums |
0f39e565f599050a0495d0745bbaa419543ca6c99cc1dbfa53897b84ca7c1565
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|