Skip to main content
AI agents

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.

Harness

What's a harness?

A model alone only produces text. An agent needs a harness that:
01

Receives a trigger

A chat message, a GitLab issue comment, a webhook, a CRON, an alert...

02

Lets the model reason

With instructions (we keep them as versioned markdown skills next to the code).

03

Exposes tools

Through MCP (Model Context Protocol) or the platform API, always with the permissions of the caller and never more.

04

Loops

On the tool results with a bounded number of rounds, then produces a final answer.

05

Asks for a confirmation

Preview first, then write, before any destructive action.

06

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

All our CLIs written in Go share the same agentic harness. Each one can be used as:

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

The whole CWCloud platform. Tutorial

qwctl

Quickwit logs and traces, Alertmanager-compatible alerting. Tutorial

edtctl

Dynatrace (extends dtctl), Alertmanager-compatible alerting. Tutorial

cwclock

Time tracking. Tutorial

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

Your agents are not locked to a provider. Switching is a matter of a flag (--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.