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.3.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.3.0.tar.gz (286.9 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.3.0-py3-none-any.whl (321.8 kB view details)

Uploaded Python 3

File details

Details for the file caracal_core-0.3.0.tar.gz.

File metadata

  • Download URL: caracal_core-0.3.0.tar.gz
  • Upload date:
  • Size: 286.9 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.3.0.tar.gz
Algorithm Hash digest
SHA256 4bbefe0e3164df619f55bd1a4c155e4ec9fba28d0a04f6ad2e619cc6ff8278ab
MD5 ff598c389f645a788e80890840729120
BLAKE2b-256 2e1ccae80c52024e6f0060d4a83afd2532b0275ce4618a8aed21a946f315b370

See more details on using hashes here.

File details

Details for the file caracal_core-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: caracal_core-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 321.8 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4da302b0b49fedb80adae3afc2b542b7b744b5f1859d38a42b76a250046e802c
MD5 efa2c4d36069ea70358adc5522b31a23
BLAKE2b-256 87b67d75261ecb9a4948ac5e911ad86218b76eb1421abb6f67e975e5968208d2

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