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.
One call is one stateless completion:
- 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 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 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.2
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.2.tar.gz | 38.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastclaude-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.6 kB
Release files / fastclaude-0.0.2.tar.gz
| Download URL | fastclaude-0.0.2.tar.gz |
|---|---|
| Size | 38.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7e12888390b205bc46ed17ac306bf060c64109bcda86c8d3991545922b94c5c
|
|
BLAKE2b-256 checksum How to use checksums |
15ce58e3f45050cc5e3089228a9d25e12abef79d00502e009ecc9566766b0111
|
| 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.2-py3-none-any.whl
| Download URL | fastclaude-0.0.2-py3-none-any.whl |
|---|---|
| Size | 40.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3745bf2fad11684864662a5d97b81f38032a20e014563fa8b9e650821e670b38
|
|
BLAKE2b-256 checksum How to use checksums |
89646ffc65ae6dbbe5afbddf2c1d4c47a509596db44069413afd7abb4f2dca5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|