by cuga-project
CUGA is an open-source generalist agent harness for the enterprise, supporting complex task execution on web and APIs, OpenAPI/MCP integrations, composable architecture, reasoning modes, and policy-aware features.
# Add to your Claude Code skills
git clone https://github.com/cuga-project/cuga-agentcuga-agent is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by cuga-project. CUGA is an open-source generalist agent harness for the enterprise, supporting complex task execution on web and APIs, OpenAPI/MCP integrations, composable architecture, reasoning modes, and policy-aware features. It has 1,203 GitHub stars.
cuga-agent's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/cuga-project/cuga-agent" and add it to your Claude Code skills directory (see the Installation section above).
cuga-agent is primarily written in Python. It is open-source under cuga-project on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh cuga-agent against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
The enterprise agent harness for sovereign, policy-controlled automation.
CUGA turns business requests into actions across your applications, APIs, and documents. Deploy in your private cloud or prepare an air-gapped environment, enforce fine-grained execution policies, and use open models on infrastructure you control. Connect your tools, configure your workflows, and optimize inference for your workload.
Get started · Documentation · Python SDK · Deploy on Kubernetes
CUGA Apps · CUGA Harness Kit · Discord
Apache 2.0 · Configurable Generalist Agent · Built with IBM SiL
English · 简体中文
Use Python 3.12 and uv. CUGA supports Python 3.11.5 to 3.14; we recommend 3.12.
git clone https://github.com/cuga-project/cuga-agent.git
cd cuga-agent
uv sync --python 3.12
test -f .env || cp .env.example .env
Set your provider, model, and credentials in .env. See model configuration for supported providers.
uv run cuga start manager --crm
Open /manage at the local URL printed by the CLI. Try the CRM tools, configure policies, and test a draft before publishing. More source and demo options.
Prefer to try it in your browser first? Open the quickstart notebook in Colab.
| Your priority | What CUGA gives you |
|---|---|
| Sovereignty | Run the harness in your environment. Connect privately hosted models and tools. Preload supporting model artifacts for disconnected deployments. |
| Execution policies | Block disallowed intents, require approval for selected tools, guide workflows with playbooks, and configure tool-level guards. |
| Inference efficiency | Choose open models, tune reasoning modes, shortlist relevant tools, set tool-call budgets, and inspect token usage with per-run receipts. |
| Faster delivery | Connect MCP servers, OpenAPI services, and Python tools. Configure and test an agent in the UI before publishing a version. |
| Recurring automation | Use the separate events service to run agents on schedules, webhooks, and application events, with run history in Events Studio. |
| Reusable experience | Load task-specific skills and use a configured Evolve integration to retrieve relevant guidance and user preferences. |
Configure tools and policies beside a draft chat, then publish a version for users.

Current UI, captured from this repository with illustrative Revenue Operations configuration data. Internal endpoints and version labels are examples.
| Set approval policies | Manage specialized agents |
|---|---|
![]() |
![]() |
| Choose which tools need approval and show the proposed code before execution. | Configure individual agents and supervisors for different business workflows. |
https://github.com/user-attachments/assets/2c51ab34-cb7a-43f8-aa1d-9a4cf8e27b5c
Visual tour of the current UI with sample configuration, flows, run history, and memory records. It does not show a live agent run. Media details.
| Workflow | What an agent can do with the right tools and policies |
|---|---|
| Revenue operations | Match a contact list against CRM, join account data, calculate revenue percentiles, and draft a report. Gate account updates with Tool Approval. |
| Knowledge assistance | Search company documents, answer with citations, and combine shared reference material with documents uploaded to a conversation. |
| Cross-application operations | Use CugaSupervisor to coordinate specialized agents, each with its own tools and instructions, and prepare results for review. |
| Browser and API automation | Combine structured API calls with browser interactions for workflows spanning services and web interfaces. |
| Recurring operations | Schedule a weekday report or react to a new document through the events service, then deliver the result to a configured channel. |
Start with the CRM demo, the knowledge walkthrough, or the multi-agent examples.
| Capability | What it enables |
|---|---|
| Multi-agent coordination | Give specialists focused tools and instructions, then route work through CugaSupervisor. |
| Knowledge with citations | Combine shared company documents with conversation uploads and inspect cited sources. Knowledge walkthrough. |
| Reusable agent skills | Package procedures in SKILL.md files and load the relevant instructions when a task needs them. Skills guide. |
| Execution visibility | Record trajectories with tracker_enabled=true, inspect them with cuga viz, and enable per-run receipts for token usage, model calls, tool calls, and elapsed time. Run receipts. |
| Access control | Configure OIDC sign-in and enable separate chat and management role checks. Authentication setup. |
Use Python 3.12 and uv. uv manages the project environment automatically, so you can run commands with uv run without creating or activating an environment manually.
git clone https://github.com/cuga-project/cuga-agent.git
cd cuga-agent
uv sync --python 3.12
test -f .env || cp .env.example .env
Edit .env to choose a model provider and set its credentials. For an OpenAI endpoint:
AGENT_SETTING_CONFIG=settings.openai.toml
OPENAI_API_KEY=your-api-key
MODEL_NAME=your-model-name
uv run cuga start demo_crm --read-only
Open the local URL printed by the CLI. Try:
from contacts.txt show me which users belong to the crm system
For the configuration UI, open /manage on the same server. Connect tools, configure policies, test a draft, and Publish when it is ready.
| Next step | Command or guide |
|---|---|
| Start the manager with CRM tools | uv run cuga start manager --crm |
| Try document-based assistance | uv run cuga start demo_knowledge |
| Try supervisor orchestration | uv run cuga start demo_supervisor |
| Inspect execution trajectories | DYNACONF_ADVANCED_FEATURES__TRACKER_ENABLED=true uv run cuga start demo, then uv run cuga viz |
| Configure another model provider | Model configuration · Environment example |
Point the OpenAI-compatible configuration at your private inference service:
AGENT_SETTING_CONFIG=settings.openai.toml
OPENAI_BASE_URL=http://your-inference-service:8000/v1
OPENAI_API_KEY=your-endpoint-key
MODEL_NAME=your-served-model-name
Use the model identifier exposed by your server. Hosted providers and private endpoints share the same harness; model capability, task complexity, and your configuration determine accuracy and inference spending.
Require approval before updating a CRM account. Configure a ToolGuard to block a booking that exceeds the customer's membership limits. CUGA combines request policies, tool-level enforcement, and human approval so teams can define where an agent may act.
CUGA includes five policy types, configurable through the UI or Python SDK.
| Policy | Purpose |
|---|---|
| Intent Guard | Block or respond to requests matching configured intent rules. |
| Playbook | Supply a standard process for a matching task. |
| Tool Approval | Pause selected tool execution for human approval. |
| Tool Guide | Add domain instructions; attach ToolGuard code to enforce configured rules before a tool executes. |
| Output Formatter | Shape responses to match a configured output format. |
An active ToolGuard checks the applicable app/tool call before the underlying tool runs. A blocked call returns a policy violation without calling that tool. Guard enforcement requires an applicable, enabled guard; instructions alone do not create this execution check.
Combine these with sandbox isolation, tool selection, and execution budgets. Intent matching and natural-language guidance depend on thei