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 top-level user turn starts from complete history, while its tool rounds stay live:

  • 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 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 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.3

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.3
File Size Uploaded
fastclaude-0.0.3.tar.gz 39.7 kB Details

Built distribution (wheel)

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

Total release size: 81.5 kB

Release files / fastclaude-0.0.3.tar.gz

Download URL fastclaude-0.0.3.tar.gz
Size 39.7 kB
Tags Source
SHA-256 checksum
How to use checksums
db3dea80bcc01a0406d191e3c6ecfbe600560d1f090831bf9502f22a58df4885
BLAKE2b-256 checksum
How to use checksums
94c20404fddb98788bebcf34ae09936c1877b7cd99cdaf807ed6b6150dbb8e1a
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.3-py3-none-any.whl

Download URL fastclaude-0.0.3-py3-none-any.whl
Size 41.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c9292ff01154a44a65b63a9b711371997789f642950cad0fd7f6d182633f931
BLAKE2b-256 checksum
How to use checksums
85ca19af9b4658ed56e19a6a882c99a4cb59898cacd3b663e25c97a2bd625ff9
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

0.0.5

2 release files

0.0.4

2 release files

This release

0.0.3 This release

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