CUGA LogoCUGA AGENT
Start

System Components

Every piece of CUGA mapped to the five architectural layers.

System Components

CUGA is organized into five layers. This table maps each product piece to its layer and where to read more.

By layer

1. Clients

PieceWhat it doesDocs
Web UIChat and Manage UI in the browserDemos · Manage
Python SDKCugaAgent / CugaSupervisor in your appCugaAgent
CLIcuga start, knowledge/policy helpersCLI presets

2. Orchestrator (LangGraph)

PieceWhat it doesDocs
CugaAgentSingle-agent graph — plan, execute, answerCugaAgent
CugaSupervisorRouter across several agents (local or A2A)CugaSupervisor
PoliciesIntent Guard, Playbook, Tool Guide, Tool Approval, Output Formatter, ToolGuardPolicies
Human-in-the-loopSuggest action → wait for approval → continueTool Approval
ReflectionSecond look after a step; retry if off-trackTodos, reflection, shortlisting
TodosChecklist for multi-step CugaLite tasksTodos, reflection, shortlisting
Tool shortlisterfind_tools when the catalog is largeTodos, reflection, shortlisting
Context summarizationCompress older turns in long threadsContext summarization
Agent spawnNested CugaAgent mid-run (spawn_agent)How it works — Multi-agent

Internal graph nodes (Task Analyzer, Plan Decomposition, Browser/API Planners, Code Agent, Action Agent) run automatically — you configure agents and policies, not individual nodes.

3. Capability layer

PieceWhat it doesDocs
LLM ClientProvider abstraction (OpenAI, WatsonX, Groq, …)Models
Browser RuntimePlaywright automation for web tasksTask modes
Tool AdapterPython tools, OpenAPI, MCPTools
Knowledge EngineDocling ingest, embeddings, search, citationsKnowledge
MemoryLearn from past runs (guidelines + trajectories)Memory
Agent SkillsSKILL.md playbooks via load_skillSkills
SandboxCode execution backends (native, e2b, …)Sandbox

4. Persistence

PieceWhat it doesDocs
Vector DBMilvus or pgvector for knowledge/policy vectorsStorage
Config DBConversations, policies, published agent versionsStorage

5. External services

PieceWhat it doesDocs
LLM providersRemote model APIsModels
MCP / OpenAPI serversExternal tool sourcesTools
Secrets vaultAPI keys and credentialsSecrets vault
ObservabilityOpenLit, Langfuse, Activity tracker + cuga-vizObservability

Quick lookup

I want to…Start here
Embed an agent in PythonCugaAgent
Run several agents on one taskCugaSupervisor
Govern behavior safelyPolicies
Add documents the agent can citeKnowledge
Learn from past runsMemory
Package reusable workflowsSkills
Start the server locallyCLI presets
Draft and publish in the UIManage and publish
Deploy to KubernetesSelf-host
Tune models and storageConfigure

Full walkthrough: How CUGA works.

Ecosystem

RepoRole
cuga-agentThis harness (SDK, server, policies, knowledge, Memory)
cuga-skillsShared runtime skill catalog
cuga-harness-kitIDE assistant skills for building with CUGA
cuga-evalMulti-benchmark evaluation