Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

choreoai-cli

A Claude-Code-style coding agent harness built on choreoai.

choreoai-cli is an interactive terminal REPL that runs a coding agent in your current directory using choreoai's LLMAgent, tools, budget, and trace — so the harness itself is budget-bounded and observable.

Status: pre-alpha. This is a minimal but working slice (v0), not a full Claude Code clone.

Features (v0)

  • Interactive REPL (choreoai-cli) with /help, /reset, /exit
  • Polished terminal UI: rich panels/markdown/syntax + prompt_toolkit history/multiline input
  • Live-streamed tool calls via choreoai event subscribers (spinner while the model thinks)
  • Coding tools: read_file, write_file, list_dir, run_shell (path jail under --cwd)
  • Shell commands require confirmation unless --auto is set
  • Built on choreoai: LLMAgent tool loop, Budget + Trace middleware, typed event stream
  • Default model: claude-sonnet-5 (via choreoai / Anthropic)

Install

Requires Python 3.10+.

pip install choreoai-cli

This installs the PyPI package choreoai-cli and its dependency choreoai (also from PyPI).

Install from source

git clone https://github.com/choreo-ai/choreoai-cli
cd choreoai-cli
pip install -e ".[dev]"

Local choreoai development

PyPI requires a normal version pin (choreoai>=0.0.1), not a git URL. For local / offline development against a checkout of the framework:

# Install framework from local checkout first (editable)
pip install -e C:\karthik\repos\choreo   # or: pip install -e /path/to/choreo

# Then install the CLI (and optional dev extras)
pip install -e ".[dev]"

If choreoai is already installed editable, pip install -e ".[dev]" will satisfy choreoai>=0.0.1 without hitting PyPI for that package.

Usage

# Live agent (requires ANTHROPIC_API_KEY)
export ANTHROPIC_API_KEY=sk-ant-...
choreoai-cli

# Skip shell confirmation prompts (use carefully)
choreoai-cli --auto

# Single non-interactive command
choreoai-cli -c "List the files in this directory"

# Custom working directory
choreoai-cli --cwd /path/to/project

REPL commands

Command Action
/help Show help
/reset Clear session budget, shell approvals, and trace
/exit Quit

Anything else is sent to the coding agent as an instruction.

Input uses prompt_toolkit when the terminal is interactive (history, Esc+Enter for multiline submit). Pipes and tests fall back to plain input.

Environment

Variable Required Notes
ANTHROPIC_API_KEY For live Default model is claude-sonnet-5

Offline tests inject a fake BaseChatModel and do not need an API key.

Tests

# Prefer editable local choreoai if you have a checkout
pip install -e /path/to/choreo
pip install -e ".[dev]"
pytest

Tests are offline: no network and no ANTHROPIC_API_KEY.

How it works

  1. Builds a choreoai LLMAgent with a coding-assistant system prompt and file/shell tools.
  2. Wraps each turn in choreoai BudgetMiddleware + TraceMiddleware (onion stack).
  3. Runs the agent tool loop; prints tool calls, the final answer (rich), budget usage, and a short trace summary.

License

MIT © 2026 Karthik Reddy

Metadata

Release files for choreoai-cli 0.0.5

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

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for choreoai-cli 0.0.5
File Size Uploaded Provenance Actions
choreoai_cli-0.0.5.tar.gz 18.5 kB With provenance Details for choreoai_cli-0.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 34.2 kB

Release files / choreoai_cli-0.0.5.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL choreoai_cli-0.0.5.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9422a1effb2b84d85ec306cad4d48616341ba45c5771986fe3726af33868eca7
BLAKE2b-256 checksum
How to use checksums
b3902f495167fc5c357f830366dfc16108c788db63515237cb3d9ff62a0a7375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

Release files / choreoai_cli-0.0.5-py3-none-any.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL choreoai_cli-0.0.5-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60c7b6ec3f773d7e66161eeb916eb495f4d5f4a25e0ac64e7a3166c06afb86f7
BLAKE2b-256 checksum
How to use checksums
99608d83e5d4952c79901adcdeb826bb5ce08f8035c04fc0f0a0502767c7d8e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

Security for choreoai-cli 0.0.5

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.

Change of provenance

The configuration that created this release differs from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Select from 2 files

Attestation for choreoai_cli-0.0.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

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.

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