Metadata-Version: 2.5
Name: chainopt
Version: 0.1.0
Summary: Analyze LLM pipelines for cost and latency — SDK and CLI
Project-URL: Homepage, https://chainopt.com
Project-URL: Documentation, https://github.com/1628745/ChainOpt-private/tree/main/docs
Project-URL: Repository, https://github.com/1628745/ChainOpt-private
Project-URL: Issues, https://github.com/1628745/ChainOpt-private/issues
Author-email: Jude Caldwell <jcaldwell@wm.edu>
License-Expression: MIT
License-File: LICENSE
Keywords: anthropic,cli,cost,latency,llm,observability,openai,pipeline
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: anthropic>=0.40
Requires-Dist: httpx<1.0,>=0.27
Requires-Dist: pathspec>=0.12
Requires-Dist: platformdirs>=4.0
Requires-Dist: pydantic>=2.7
Requires-Dist: rich>=13
Requires-Dist: tomli-w>=1.0
Requires-Dist: tomli>=2.0; python_version < '3.11'
Requires-Dist: typer>=0.12
Provides-Extra: dev
Requires-Dist: build>=1.2; extra == 'dev'
Requires-Dist: mypy>=1.11; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest-cov>=5.0; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: respx>=0.21; extra == 'dev'
Requires-Dist: ruff>=0.6; extra == 'dev'
Requires-Dist: twine>=5.1; extra == 'dev'
Description-Content-Type: text/markdown

# ChainOpt

Analyze LLM pipelines and surface evidence-backed recommendations for reducing cost and latency.

## Install

```bash
pip install chainopt
```

## Quickstart

```bash
chainopt init
# run your Python app as usual — ChainOpt intercepts LLM HTTP calls
chainopt analyze
chainopt report
```

## What it does

ChainOpt captures LLM API traffic from your Python process, attributes calls to source locations, and runs static + runtime analysis to find expensive patterns (oversized context, missing cache control, wrong model tier, and more).

## Links

- Homepage: https://chainopt.com
- Issues: https://github.com/1628745/ChainOpt-private/issues
