Skip to main content

Tailspin AI

Token optimization and compression for Claude API requests. Reduces token usage while maintaining context quality through intelligent compression, caching, and context management.

Installation

pip install tailspin-ai

Usage

See main Tailspin repository for documentation and examples.

Features

  • Smart Compression: Automatic token optimization for text, code, and logs
  • Semantic Caching: Cache-aware compression that preserves prefix stability
  • LiteLLM Integration: Route requests to any LLM provider via LiteLLM
  • Context Management: Intelligent context windowing and summarization
  • Compression Pipeline: Extensible transform pipeline for custom compression logic

Configuration

Configure via environment variables or config.py:

litellm_enabled: bool = False
litellm_endpoint: str = ""
litellm_api_key: str = ""
litellm_provider: str = "hosted_vllm"

Contributing

Contributions welcome. See main repository.

License

MIT

Metadata

Release files for tailspin-remix 0.1.0

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

Source distribution (sdist)

Source distribution for tailspin-remix 0.1.0
File Size Uploaded Provenance Actions
tailspin_remix-0.1.0.tar.gz 1.1 MB Without provenance Details for tailspin_remix-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tailspin-remix 0.1.0
File Interpreter ABI Platform Actions
tailspin_remix-0.1.0-py3-none-any.whl Python 3 none any Details for tailspin_remix-0.1.0-py3-none-any.whl

Total release size: 2.3 MB

Release files / tailspin_remix-0.1.0.tar.gz

Download URL tailspin_remix-0.1.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
606afac87bc3a7aa960c7ae8e6c9537edcaf917069fca71b6d18248b1dea7d61
BLAKE2b-256 checksum
How to use checksums
9bf67123d283e6960474fbcda0ad0faba3f08e3cba07a6b509de920fb9019875
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / tailspin_remix-0.1.0-py3-none-any.whl

Download URL tailspin_remix-0.1.0-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e7f60660575f520796db20d2b608abc2f683b90bd8101ddd9e83cf171c149dc3
BLAKE2b-256 checksum
How to use checksums
f4bbb4093651bf145e90acc187d7d02a0a9169abcb3d678d62081f4aa6dc64fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for tailspin-remix 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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