Overview
Coze Loop is a developer-oriented platform for developing and operating AI agents, covering the lifecycle from prompt writing through debugging and evaluation to production monitoring. It comes from the Coze team and is the open-source edition of their commercial product, sharing the core framework so teams can self-host and extend it.
The platform is organised around three modules that usually live in three separate tools. Prompt development gives you a visual playground for interactive testing, side-by-side comparison of different LLMs' output, and version management of the prompts themselves. Evaluation adds managed evaluation sets, configurable evaluators and experiments, so prompt and agent output can be scored automatically on dimensions like accuracy, conciseness and compliance instead of eyeballed.
Observability closes the loop. An SDK reports traces covering the whole execution path — prompt parsing, model invocation, tool execution — capturing intermediate results and exceptions along the way, so a regression seen in production can be traced back to the prompt version that caused it. Coze Loop is written in Go, ships Docker Compose and Helm deployments, and integrates with OpenAI, Volcengine Ark and other model providers.
What it does
- Prompt playground for real-time interactive testing and side-by-side comparison of output across different LLMs
- Prompt version management, so a production regression traces back to a specific revision
- Evaluation module with managed evaluation sets, evaluators and experiments for automated multi-dimensional scoring
- Trace observability across the full execution path — prompt parsing, model calls and tool execution — with intermediate results and exceptions captured
- SDK-based trace reporting, plus integration with OpenAI, Volcengine Ark and other model providers
- Self-hosted via Docker Compose or a Kubernetes Helm chart
Getting started
Coze Loop is deployed rather than installed as a library. Docker Compose is the quickest route; a Helm chart is provided for Kubernetes. You configure at least one model before starting the service.
Clone the repository
Deployment configuration lives in the repo, so start by cloning it.
git clone https://github.com/coze-dev/coze-loop.git
cd coze-loopConfigure a model
Edit release/deployment/docker-compose/conf/model_config.yaml and set the api_key and model fields for your provider — for Volcengine Ark, model is the endpoint ID of the model access point.
# release/deployment/docker-compose/conf/model_config.yaml
api_key: <your provider api key>
model: <model or endpoint id>Start the service
One make target brings up the Docker Compose stack in development mode.
make compose-upOpen the console
Browse to the local instance and start creating prompts, evaluation sets and experiments. For Kubernetes, deploy the Helm chart instead — the quickstart wiki covers a Minikube walkthrough.
http://localhost:8082Commands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Compare how several models answer the same prompt before committing one to production, with the comparison recorded rather than ad hoc
- Score an agent's output automatically on accuracy, conciseness or compliance whenever a prompt changes
- Trace a bad production answer back through tool calls and model invocations to the step that went wrong
- Self-host the whole prompt-eval-observability loop when traces and prompts cannot be sent to a hosted LLMOps vendor
How Coze Loop compares
Coze Loop alongside other open-source observability & llmops tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Langfuse | ★ 34.8k | A self-hostable platform for tracing LLM and agent calls, managing prompts, and running evaluations to debug and improve AI applications. |
| Opik | ★ 22.1k | An open-source platform from Comet for tracing, evaluating, and monitoring LLM applications, RAG systems, and agent workflows with dashboards and LLM-as-judge metrics. |
| RagaAI Catalyst | ★ 16.2k | Python SDK that combines agentic tracing, metric evaluation, dataset and prompt management, guardrails and red-teaming for LLM and multi-agent applications. |
| TensorZero | ★ 11.7k | An open-source LLMOps platform that puts a single gateway in front of every major LLM provider and adds observability, evaluation, optimization, and A/B testing. |
| CodeBurn | ★ 11.1k | Reads the session files 41 AI coding tools already write to disk and breaks token spend down by model, project and task — no API keys or proxy — then flags waste and correlates spend with git commits. |
| Evidently | ★ 7.9k | A monitoring and evaluation framework for ML and LLM systems that tracks output quality, drift, and test results over time with reports and dashboards. |
| OpenLLMetry | ★ 7.4k | An OpenTelemetry-based SDK that auto-instruments LLM providers, vector databases, and frameworks so traces flow into any existing observability backend. |
| Coze Loop | ★ 5.7k | Prompt development, evaluation and tracing for AI agents in one platform |
