Skip to main content

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

Deployment & Operations

Configuration

Development & Release

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:

  1. Edit the VERSION file with the new version number
  2. Run ./scripts/update-version.sh to update all references
  3. Use ./scripts/release.sh for automated release process

See scripts/README.md for detailed documentation.

License

GNU Affero General Public License v3.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

caracal_core-0.4.0.tar.gz (316.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

caracal_core-0.4.0-py3-none-any.whl (359.6 kB view details)

Uploaded Python 3

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

Hashes for caracal_core-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d2a5d71e2a92d39669937805eda36dacc3cc8a8be1c3509462c65b787029aecf
MD5 daab27fcca5e1fe5d4e172501a1ddb10
BLAKE2b-256 7f13f8df199fe7b8d996c550d28ee6289a152fc5df613a22a6b17c9544f655ee

See more details on using hashes here.

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

Hashes for caracal_core-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49ac3f3f906f5400b66e3d4e3e3a57d88532fbd0e1fec3b01e1f60fbc9589408
MD5 07589ccb6d71945108afc1092f53548a
BLAKE2b-256 fb09908a258113d97d34778e90b4d7ff979cb866e9f46c27e1ae0d183a1296a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page