Skip to main content

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.Msg objects
  • 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.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastclaude 0.0.5
File Size Uploaded
fastclaude-0.0.5.tar.gz 38.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastclaude 0.0.5
File Interpreter ABI Platform
fastclaude-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 79.2 kB

Release files / fastclaude-0.0.5.tar.gz

Download URL fastclaude-0.0.5.tar.gz
Size 38.5 kB
Tags Source
SHA-256 checksum
How to use checksums
151339eeaed2ecd144f107868380233686b95b2ae7a0f2825b577206e16a47ce
BLAKE2b-256 checksum
How to use checksums
3a0362481a4a76fded7d5a7326408061c6d97495bac4c746214b6ec018e95c3c
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.5-py3-none-any.whl

Download URL fastclaude-0.0.5-py3-none-any.whl
Size 40.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a61e6e879be38626eebd1b084c5347b8c8f85ab61c08249631aa0ea22723d39
BLAKE2b-256 checksum
How to use checksums
a2733b6b1a413df58467cc8c06eac2f3fd9bf4f389df252fce6a0f48fd317fdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

0.0.6

2 release files

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page