Skip to main content

0latency CLI

Verbatim CLI capture wrapper for Claude Code, Codex, Gemini CLI, and Aider. Captures all user inputs and agent outputs as role-tagged atoms, stored locally or synced to the 0Latency cloud memory platform.

Installation

pip install -e .

Usage

# Wrap Claude Code session (writes to cloud if authenticated)
0latency claude

# Wrap Claude Code with local-only storage
0latency --local claude

# Dry-run mode (show what would be captured)
0latency --explain claude

# Authenticate with 0Latency cloud
0latency login

# Check status
0latency status

# Pass arguments to Claude Code
0latency claude --print "what is 2+2"
0latency claude /path/to/project

Commands

  • 0latency claude [args...] - Wrap Claude Code session with verbatim capture
  • 0latency login - Authenticate with OAuth device-code flow
  • 0latency status - Show auth state, storage info, and sync status

Flags

  • --local - Force local-only storage (override cloud writes)
  • --explain - Dry-run mode showing what would be captured
  • --version - Show version information
  • --help - Show help message

License

MIT

Reliability Features (v0.3.0)

Production-hardened for long-running sessions and adverse conditions:

  • Crash Recovery: Zero atom loss via rolling buffer + auto-import
  • Backpressure Handling: Local queue (10K cap) with exponential backoff retry
  • Large Paste Support: UTF-8-safe chunking up to 1M+ characters
  • Long-Session Stability: Ring buffers keep RSS < 500MB in 4+ hour sessions
  • Interactive Prompts: Y/N and password prompts pass through (not captured)
  • Tool-Call Tracking: Multi-tool chains atomized with sequence metadata
  • Async Background: Non-blocking capture for long-running bash commands
  • Atom Batching: API efficiency via 10-atom batches or 2s flush

See docs/reliability.md for details and verification.

Metadata

Release files for 0latency-cli 0.3.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 0latency-cli 0.3.0
File Size Uploaded Provenance
0latency_cli-0.3.0.tar.gz 71.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for 0latency-cli 0.3.0
File Interpreter ABI Platform
0latency_cli-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 104.5 kB

Release files / 0latency_cli-0.3.0.tar.gz

Download URL 0latency_cli-0.3.0.tar.gz
Size 71.3 kB
Tags Source
SHA-256 checksum
How to use checksums
acbcb587ce25322d46ad65df527fae1abeef6d010f16c5e18424c641f99fdc1a
BLAKE2b-256 checksum
How to use checksums
d9d5bef8e0093b55f67a8ecd585783d442bac1923817a791f290af3ceae48667
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / 0latency_cli-0.3.0-py3-none-any.whl

Download URL 0latency_cli-0.3.0-py3-none-any.whl
Size 33.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10525eb22848afe096e2cb45f697988ce4498c8e78f4705bf0ddafd9c10ef8e0
BLAKE2b-256 checksum
How to use checksums
c1673b9d2b9ca906b69763cb7e1484a858a14ea193aed5e10e8345e4df903874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for 0latency-cli 0.3.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.3.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