Orchesis is a transparent HTTP proxy for AI agents. Every request passes through a 17-phase detection pipeline before reaching the LLM provider. Zero dependencies. MIT license.
SDK sees one agent. Static analysis sees code. Observability sees metrics. Proxy sees everything, in real time, without code changes.
Installation
pip install orchesis
With integrations
pip install orchesis[integrations]
One line change
Before:
client = OpenAI(base_url="https://api.openai.com/v1")
After:
client = OpenAI(base_url="http://localhost:8080/v1")
# 17 security phases now active
Why proxy, not SDK?
| Approach | What it sees | Code changes |
|---|---|---|
| SDK/callbacks (LangSmith, LangChain) | One agent, one session | Required |
| Static analysis (Snyk, Semgrep) | Code at rest | Required |
| Observability (Datadog, Helicone) | Metrics and logs | Required |
| Orchesis proxy | All agents, all requests, cross-session | None |
The proxy layer sees what SDK cannot: cross-agent patterns, fleet-level anomalies, duplicate context across providers.
What Orchesis does
Security: 17-phase detection. Prompt injection, credential leaks, tool abuse. 25 signatures.
Cost: Semantic cache. Budget enforcement. Token Yield tracking. MVE result: 0.8% overhead, 12x context growth detected.
Reliability: Auto-healing. Circuit breakers. Loop detection. 6 recovery actions.
Observability: Real-time dashboard. Flow X-Ray. Agent Reliability Score.
By the numbers
| Metric | Value |
|---|---|
| Pipeline phases | 17 |
| Threat signatures | 25 across 10 categories |
| Proxy overhead | 0.8% measured |
| Context collapse | 12x growth caught |
| MAST coverage | 78.6% |
| OWASP coverage | 80% |
| Tests passing | 2,969 |
| Dependencies | 0 (stdlib only) |
Free MCP Security Scanner
We scanned 900+ MCP configurations on GitHub. 75% had at least one security issue: hardcoded credentials, overpermissioned tools, missing input validation.
Run the scanner on your own configs:
npx orchesis-scan
Or visit: https://orchesis.io/scan
52 security checks across 10 categories. No data sent to external servers.
Website | Documentation | MCP Scanner | GitHub | Blog
MIT License. Built with zero dependencies.
Metadata
Release files for orchesis 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| orchesis-0.2.1.tar.gz | 852.4 kB | Without provenance | Details for orchesis-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| orchesis-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for orchesis-0.2.1-py3-none-any.whl |
Total release size: 1.5 MB
Release files / orchesis-0.2.1.tar.gz
| Download URL | orchesis-0.2.1.tar.gz |
|---|---|
| Size | 852.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
362727758e0b916f6bcafbc340840fae284e944ece026f00f96213ccc6a8fd1b
|
|
BLAKE2b-256 checksum How to use checksums |
9db6882b476e1ed66c6140bce50675cad1027c29b5d5a30f5e2773c78858af43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / orchesis-0.2.1-py3-none-any.whl
| Download URL | orchesis-0.2.1-py3-none-any.whl |
|---|---|
| Size | 655.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67b1e93b00371607f20712de5b238c4a1113d8994abf95464901f3769a6b96c8
|
|
BLAKE2b-256 checksum How to use checksums |
57d3965a8df3674b040faa07d80c0a5ac550f52a2ed2dbc3ae46abedd1f85b7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for orchesis 0.2.1
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.