Economic control plane for AI agents
Project description
Caracal Core
Economic control plane for AI agents.
Caracal Core is a production-grade infrastructure layer that enforces budget policies, tracks resource usage, and manages agent identities at the network level. It acts as an economic firewall for agentic systems, ensuring autonomous agents operate within defined financial boundaries.
Key Capabilities
- Network-Enforced Policies: Gateway Proxy intercepts API calls to enforce budgets before execution.
- Hierarchical Delegation: Support for parent-child agent structures with delegated spending limits.
- Production Storage: PostgreSQL backend for scalable identity and ledger management.
- MCP Integration: Native adapter for the Model Context Protocol (MCP).
- Economic Settlement: Integrated with ASE v1.1.0 for cryptographic delegation and settlement.
Quick Start
Installation
uv pip install caracal-core
# or
pip install caracal-core
Initialize System
Initialize the configuration and database schema:
caracal init
caracal db migrate up
Start Gateway
Launch the policy enforcement gateway:
caracal gateway start
Architecture
Caracal Core v0.4.0 follows a modular design:
- Gateway Proxy: High-performance HTTP/gRPC reverse proxy for interception.
- Policy Engine: Stateless decision engine for real-time budget enforcement.
- Agent Registry: Identity management with PostgreSQL persistence.
- Ledger: Immutable, append-only record of all economic events.
- MCP Adapter: Bridge for connecting MCP-compliant tools and agents.
Documentation
Quick Start Guides
- Docker Compose Quickstart - Get started with Docker Compose
- Docker Quickstart - Basic Docker setup
- Docker MCP Quickstart - MCP integration with Docker
- Kubernetes Quickstart - Deploy on Kubernetes
Deployment & Operations
- Deployment Guide - Complete deployment instructions
- Production Guide - Production best practices
- Operational Runbook - Day-to-day operations
Configuration
- Configuration Example - Complete configuration reference
- Environment Variables - Environment variable reference
Development & Release
- Scripts Documentation - Version management and release scripts
- Release Notes - Latest release information
For full documentation, standard compliance details, and API reference, please visit our official documentation.
Version Management
Caracal Core uses a single VERSION file as the source of truth for all version references. To update the version:
- Edit the
VERSIONfile with the new version number - Run
./scripts/update-version.shto update all references - Use
./scripts/release.shfor automated release process
See scripts/README.md for detailed documentation.
License
GNU Affero General Public License v3.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file caracal_core-0.4.0.tar.gz.
File metadata
- Download URL: caracal_core-0.4.0.tar.gz
- Upload date:
- Size: 316.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2a5d71e2a92d39669937805eda36dacc3cc8a8be1c3509462c65b787029aecf
|
|
| MD5 |
daab27fcca5e1fe5d4e172501a1ddb10
|
|
| BLAKE2b-256 |
7f13f8df199fe7b8d996c550d28ee6289a152fc5df613a22a6b17c9544f655ee
|
File details
Details for the file caracal_core-0.4.0-py3-none-any.whl.
File metadata
- Download URL: caracal_core-0.4.0-py3-none-any.whl
- Upload date:
- Size: 359.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49ac3f3f906f5400b66e3d4e3e3a57d88532fbd0e1fec3b01e1f60fbc9589408
|
|
| MD5 |
07589ccb6d71945108afc1092f53548a
|
|
| BLAKE2b-256 |
fb09908a258113d97d34778e90b4d7ff979cb866e9f46c27e1ae0d183a1296a9
|