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.2.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

For full documentation, standard compliance details, and API reference, please visit our official 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.2.0.tar.gz (162.1 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.2.0-py3-none-any.whl (165.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: caracal_core-0.2.0.tar.gz
  • Upload date:
  • Size: 162.1 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.2.0.tar.gz
Algorithm Hash digest
SHA256 e3649e54ce6f084fb1010c33a75ff9bc72e264bf72408e8a4bee7728b6c32fa9
MD5 7cff1c96803b48273cf3128ca7a2ff07
BLAKE2b-256 b3083850d7c6845275278dfb17e855879629a5334d90512210631c0860d22b10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: caracal_core-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 165.7 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a7ce81c7c71294da228853ec8b0688d7645016eabc6752e0aff6b7894817eef
MD5 9ba97d4ab07ae1e3fbdbb162f2b84fd7
BLAKE2b-256 1027e60aa25b3c9993e05b1141c4d4775095fd44d25fd23c8569db89eb59b2ec

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