Skip to main content
The Control Plane Client SDK provides a comprehensive Python interface to Kubiya’s Control Plane services, enabling you to programmatically manage models, runtimes, skills, policies, agents, workers, and the context graph.
The Control Plane Client (ControlPlaneClient) is the modern SDK for accessing Kubiya’s Control Plane services. It provides service-oriented access to all platform capabilities including graph operations, cognitive memory, and infrastructure management.

Key Features

  • 🧠 Context Graph Operations: Intelligent search, semantic search, and graph queries
  • 💾 Cognitive Memory: Store and recall context across interactions
  • 👥 Multi-Agent Teams: Create and orchestrate collaborative agent teams
  • 📁 Project Organization: Organize agents and teams into structured projects
  • ⏰ Job Scheduling: Schedule recurring tasks with cron or webhook triggers
  • 🌍 Environment Management: Manage isolated runtime environments
  • 🗺️ Task Planning: AI-powered task decomposition and planning
  • 🔄 Context Resolution: Entity context with inheritance across layers
  • 🤖 Agent & Model Management: Access and configure LLMs and agents
  • 🛠️ Skills & Policies: Configure tools, capabilities, and access controls
  • 📊 Infrastructure Management: Monitor workers and execution infrastructure

Quick Start

Available Control Plane Services

The Control Plane Client provides access to these services:

Client Initialization

Basic Initialization

Using Environment Variables

The recommended approach for secure credential management:

Advanced Configuration

Core Services

Context Graph Service

Query and explore your knowledge graph with AI-powered search:

Intelligent Search

AI-powered graph search with Claude Agent

Semantic Search

Vector-based natural language search

Cognitive Memory

Store and recall context

Full Graph API

Complete Context Graph documentation

Dataset Management

Manage cognitive datasets for memory and knowledge:
Learn more about Dataset Management →

Graph Ingestion

Import nodes and relationships into the context graph:
Learn more about Graph Ingestion →

Models Service

Manage LLM models and configurations:
Learn more about Models Service →

Runtimes Service

Configure agent runtime environments:
Learn more about Runtimes Service →

Skills Service

Manage tools and capabilities:
Learn more about Skills Service →

Policies Service

Manage security and access policies:
Learn more about Policies Service →

Agents Service

Manage Control Plane agents:
Learn more about Agents Service →

Workers Service

Monitor and manage execution infrastructure:
Learn more about Workers Service →

Teams Service

Create and manage multi-agent teams:
Learn more about Teams Service →

Projects Service

Organize agents and teams into projects:
Learn more about Projects Service →

Environments Service

Manage runtime environments:
Learn more about Environments Service →

Jobs Service

Schedule and automate tasks:
Learn more about Jobs Service →

Context Service

Manage entity context with inheritance:
Learn more about Context Service →

Task Planning Service

AI-powered task planning and decomposition:
Learn more about Task Planning Service →

Error Handling

The SDK provides specialized exceptions for different failure scenarios:
Learn more about Error Handling →

Best Practices

1. Use Environment Variables for Credentials

2. Handle Errors Appropriately

3. Use Batch Operations for Efficiency

4. Clean Up Resources

5. Use Type Hints

Learn more about Best Practices →

Common Patterns

Pagination

Retry Logic

Context Manager

Architecture

The Control Plane Client SDK is organized into service modules:

Next Steps

Context Graph

Explore the knowledge graph

Intelligent Search

AI-powered graph search

Teams Service

Multi-agent team collaboration

Jobs Service

Schedule and automate tasks

Projects Service

Organize agents and teams

Environments Service

Manage runtime environments

Task Planning

AI-powered task planning

Context Service

Context resolution with inheritance

Agents Service

Manage agents

Models Service

Manage LLM models

Skills Service

Configure tools and capabilities

Best Practices

SDK best practices guide