Metadata-Version: 2.4
Name: pycaber
Version: 0.2.5681
Summary: Python instrumentation and in-process data use policy for AI applications
License-Expression: LicenseRef-Caber-Community-Preview
Project-URL: Homepage, https://caber.com
Project-URL: Documentation, https://docs.caber.com/sdk-auto/
Project-URL: Examples, https://github.com/Caber-Systems/examples
Project-URL: License, https://github.com/Caber-Systems/preview-license/blob/v1.2/LICENSE-PREVIEW.md
Keywords: ai agents,rag,mcp,observability,data governance,policy enforcement,provenance
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE-PREVIEW.md
Requires-Dist: jsonschema<5,>=4.23
Requires-Dist: wrapt>=1.14
Provides-Extra: auto
Provides-Extra: framework-test
Requires-Dist: aiohttp<4,>=3.12; extra == "framework-test"
Requires-Dist: bottle<1,>=0.13; extra == "framework-test"
Requires-Dist: django<6,>=5.2; extra == "framework-test"
Requires-Dist: falcon<5,>=4; extra == "framework-test"
Requires-Dist: fastapi<1,>=0.115; extra == "framework-test"
Requires-Dist: flask<4,>=3.1; extra == "framework-test"
Requires-Dist: httpx<1,>=0.28; extra == "framework-test"
Requires-Dist: pytest-asyncio<2,>=1; extra == "framework-test"
Requires-Dist: quart<1,>=0.20; extra == "framework-test"
Requires-Dist: sanic<26,>=25.3; extra == "framework-test"
Requires-Dist: sanic-testing<25,>=24.6; extra == "framework-test"
Requires-Dist: starlette<1,>=0.40; extra == "framework-test"
Requires-Dist: tornado<7,>=6.5; extra == "framework-test"
Requires-Dist: websockets<16,>=15; extra == "framework-test"
Dynamic: license-file

# PyCaber

**Control what reaches the model.**

PyCaber instruments Python applications so Caber can evaluate how retrieved content is used before it reaches an AI model. It is the application SDK for the Caber Community Preview.

## What you can do

- Instrument supported HTTP clients, servers, and agent frameworks through `caber-run` or `pycaber.auto`.
- Evaluate fragment-level policy in the application process using the context Caber has linked across sources. Policies can release, mask, replace, or withhold content.
- Review instrumented activity and policy decisions in the Caber Console.

## Try it

```bash
pip install "pycaber[auto]"
```

Follow the examples to start a Preview deployment and configure the SDK connection. Then start your application with `caber-run python app.py`. Use the SDK guide for supported integrations and programmatic setup.

## Community Preview

Use the Preview for evaluation on non-production infrastructure with non-production data. Preview limits apply.

[Try the free preview](https://github.com/Caber-Systems/examples) · [Read the docs](https://docs.caber.com/sdk-auto/) · [Caber website](https://caber.com) · [Preview license](https://github.com/Caber-Systems/preview-license/blob/v1.2/LICENSE-PREVIEW.md)
