AI agents and harnesses
CWCloud helps you build, deploy and operate AI agents for DevOps, platform engineering and the observability of production platforms. We don't only expose LLMs (large language models): we develop and operate the harness around them (the loop, the tools, the guardrails and the telemetry), mostly in Go and Python.
$ cwc ai mcpStarting cwc MCP server on http://127.0.0.1:8080/mcp$ cwc ai agent --provider anthropic -s http://127.0.0.1:8080/mcp \ -p "Why is the checkout service failing in prod?"↻ tool qwctl_search index=otel-logs level=ERROR↻ tool cwc_monitor_ls status=failure↻ tool cwc_k8s_events ns=checkout✔ Root cause: DB connection pool exhausted since 09:42 (deploy v2.3.1)
Harness
What's a harness?
Receives a trigger
A chat message, a GitLab issue comment, a webhook, a CRON, an alert...
Lets the model reason
With instructions (we keep them as versioned markdown skills next to the code).
Exposes tools
Through MCP (Model Context Protocol) or the platform API, always with the permissions of the caller and never more.
Loops
On the tool results with a bounded number of rounds, then produces a final answer.
Asks for a confirmation
Preview first, then write, before any destructive action.
Observes everything
Audit of each call with the token usage, correlation IDs, OpenTelemetry traces and alerts.
Building blocks
CLIs that are also MCP servers and agents
An MCP server
ai mcp exposes its commands as tools. For cwc, the tool definitions are generated on the fly from the CLI commands, so every new subcommand becomes a tool without extra work.
A terminal agent
ai agent runs the tool-calling loop against the MCP server with the LLM provider of your choice.
A web agent
ai web-agent is exposed over HTTP, and can be used as a GitLab webhook triggered by issue comments, or registered as a CWCloud AI adapter.
cwc ai mcp
cwc ai agent -p "List my instances that are not running" -s "http://127.0.0.1:8080/mcp" --provider anthropic
Platform
Run your agents on CWCloud
CWCloud AI (CWAI)
CWAI exposes the LLMs behind a normalized API and chat with conversation history and token usage accounting. Besides the built-in adapters, you can register external adapters (any HTTP endpoint such as one of our web agents) and share them with other users.
Serverless functions as agent runtime
The low-code serverless engine runs agents and harnesses without managing any infrastructure: functions in Python, Go, JavaScript, Bash or Blockly, triggered over HTTP, webhooks or CRON, with HTTP, WebSocket or MQTT callbacks, state in the KV storage and calls to the CWAI adapters.
Templated deployments
When an agent needs a long-running service (a self-hosted model, an MCP server, a vector database...), you can deploy it as a templated environment on virtual machines or Kubernetes, the GitOps way.
Interoperability
Interoperability with LLM providers
--provider) or a configuration:Self-hosted open source models: any OpenAI-compatible endpoint. For example, to use a model served locally by Ollama:
cwc configure set openai_base_url "http://127.0.0.1:11434/v1"
cwc ai agent -p "Which DNS records are pointing to a deleted instance?" -s "http://127.0.0.1:8080/mcp" --provider openai -m "qwen3"
Ready to agentize your platform?
The CLIs are open source, but on premises instances of CWCloud need the Enterprise Edition (EE) to use the AI features. Contact us for more information.