Skip to main content

Agent Control Plane API - Multi-tenant AI agent orchestration and management platform

Project description

Kubiya Control Plane API

Multi-tenant AI agent orchestration and management platform powered by Temporal workflows.

Installation

Basic Installation

pip install kubiya-control-plane-api

Installation with Extras

Install with development dependencies:

pip install "kubiya-control-plane-api[dev]"

Install with test dependencies:

pip install "kubiya-control-plane-api[test]"

Install with all optional dependencies:

pip install "kubiya-control-plane-api[all]"

Running for Development

1. Clone the repository

git clone https://github.com/kubiyabot/agent-control-plane.git
cd agent-control-plane

2. Set up environment variables

Create a .env file with the required variables (see below).

3. Build an image and run.

make build

make up

The API will be available at http://localhost:7777/api/docs

Running the Worker

The worker processes Temporal workflows for agent execution.

Using the CLI command

After installing the package, run:

kubiya-control-plane-worker

Using Python module

python -m control_plane_api.worker

Required Environment Variables

The following environment variables must be set to run the worker:

Temporal Configuration (Required)

TEMPORAL_HOST=localhost:7233
TEMPORAL_NAMESPACE=default
  • TEMPORAL_HOST: Address of your Temporal server
  • TEMPORAL_NAMESPACE: Temporal namespace to use

Database Configuration (Required)

Option 1: Direct PostgreSQL

DATABASE_URL=postgresql://user:password@localhost:5432/control_plane

Option 2: Supabase

SUPABASE_URL=https://your-project.supabase.co
SUPABASE_SERVICE_KEY=your-service-role-key
SUPABASE_POSTGRES_URL=postgresql://user:password@host:5432/database

You need either DATABASE_URL or all three Supabase variables.

Temporal Cloud Authentication (If using Temporal Cloud)

If connecting to Temporal Cloud instead of a self-hosted server, you also need one of:

Option A: API Key

TEMPORAL_API_KEY=your-temporal-cloud-api-key

Option B: mTLS Certificates

TEMPORAL_CLIENT_CERT_PATH=/path/to/cert.pem
TEMPORAL_CLIENT_KEY_PATH=/path/to/key.pem

Quick Start Example

# 1. Install the package
pip install kubiya-control-plane-api

# 2. Set required environment variables
export TEMPORAL_HOST=localhost:7233
export TEMPORAL_NAMESPACE=default
export DATABASE_URL=postgresql://user:password@localhost:5432/control_plane

# 3. Run the worker
kubiya-control-plane-worker

The worker will connect to Temporal and start processing agent execution workflows.

Project details


Release history Release notifications | RSS feed

This version

0.3.0

Download files

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

Source Distribution

kubiya_control_plane_api-0.3.0.tar.gz (257.1 kB view details)

Uploaded Source

Built Distribution

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

kubiya_control_plane_api-0.3.0-py3-none-any.whl (326.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kubiya_control_plane_api-0.3.0.tar.gz
  • Upload date:
  • Size: 257.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kubiya_control_plane_api-0.3.0.tar.gz
Algorithm Hash digest
SHA256 80105a2c34d3897ccd46878dd46e8525ec939ee2b6db8ebe271601ce7e454da4
MD5 60abe49edc7ea802c2f34fe8286acfa1
BLAKE2b-256 5ab5854d39dbd24771a20882438f0c837d4a38d9b7ac38996fea8f2e8f0d926b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kubiya_control_plane_api-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a76d6f14bfd5f4a9992bbc1fb0ae5f741a9c780cffe6a6c5dc9d838272a6cfac
MD5 f3426d371276e44eb1c9e3b15f244138
BLAKE2b-256 eee56141b37af1db2f95382ba7e98fcc0b29629f9813df4867f452f6859d2e18

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