You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_docker-agent can export OpenTelemetry traces of an agent run to any OTLP/HTTP backend. This is separate from [product-analytics telemetry](../telemetry/index.md) and is opt-in via the `--otel` flag._
9
+
_Docker Agent can export OpenTelemetry traces of an agent run to any OTLP/HTTP backend. This is separate from [product-analytics telemetry](../telemetry/index.md) and is opt-in via the `--otel` flag._
10
10
11
-
When enabled, docker-agent emits OpenTelemetry GenAI (`gen_ai.*`) and MCP (`mcp.*`) spans following the [OpenTelemetry semantic conventions](https://opentelemetry.io/docs/specs/semconv/gen-ai/). Spans cover the agent turn, model calls (with token usage and cost attributes), tool calls, MCP client/server activity, sub-agent hand-offs, and provider fallbacks. W3C `traceparent` context is propagated so the whole run renders as a single connected trace tree.
11
+
When enabled, Docker Agent emits OpenTelemetry GenAI (`gen_ai.*`) and MCP (`mcp.*`) spans following the [OpenTelemetry semantic conventions](https://opentelemetry.io/docs/specs/semconv/gen-ai/). Spans cover the agent turn, model calls (with token usage and cost attributes), tool calls, MCP client/server activity, sub-agent hand-offs, and provider fallbacks. W3C `traceparent` context is propagated so the whole run renders as a single connected trace tree.
12
12
13
13
## Enabling
14
14
@@ -20,7 +20,7 @@ Without an exporter endpoint configured, spans are recorded locally as no-ops. T
20
20
21
21
## Configuration
22
22
23
-
docker-agent reads the standard OTLP environment variables:
23
+
Docker Agent reads the standard OTLP environment variables:
24
24
25
25
| Variable | Purpose |
26
26
| --- | --- |
@@ -32,7 +32,7 @@ docker-agent reads the standard OTLP environment variables:
32
32
> [!NOTE]
33
33
> **Base endpoint, not the full signal URL**
34
34
>
35
-
> Set `OTEL_EXPORTER_OTLP_ENDPOINT` to the **base** endpoint (for example `https://cloud.langfuse.com/api/public/otel`). docker-agent appends `/v1/traces` for you, matching the value documented by Langfuse and LangSmith. A bare `host:port` is also accepted and gets `https://` (or `http://` for localhost).
35
+
> Set `OTEL_EXPORTER_OTLP_ENDPOINT` to the **base** endpoint (for example `https://cloud.langfuse.com/api/public/otel`). Docker Agent appends `/v1/traces` for you, matching the value documented by Langfuse and LangSmith. A bare `host:port` is also accepted and gets `https://` (or `http://` for localhost).
36
36
37
37
> [!WARNING]
38
38
> **Message content can contain sensitive data**
@@ -88,7 +88,7 @@ docker agent run agent.yaml --otel
88
88
> [!NOTE]
89
89
> **Langfuse and LangSmith ingest traces only**
90
90
>
91
-
> Both backends accept the traces signal only. docker-agent also wires metric and log exporters at the same endpoint, so their periodic exports return `404` against trace-only backends. This is harmless to traces but appears in the debug log. Point a full OTLP collector at the endpoint if you also want metrics and logs.
91
+
> Both backends accept the traces signal only. Docker Agent also wires metric and log exporters at the same endpoint, so their periodic exports return `404` against trace-only backends. This is harmless to traces but appears in the debug log. Point a full OTLP collector at the endpoint if you also want metrics and logs.
_docker-agent collects anonymous usage data to help improve the tool. Telemetry can be disabled at any time._
9
+
_Docker Agent collects anonymous usage data to help improve the tool. Telemetry can be disabled at any time._
10
10
11
-
On first startup, docker-agent displays a notice about telemetry collection so you're always informed. All events are processed synchronously when recorded.
11
+
On first startup, Docker Agent displays a notice about telemetry collection so you're always informed. All events are processed synchronously when recorded.
_Common issues and how to resolve them when working with docker-agent._
9
+
_Common issues and how to resolve them when working with Docker Agent._
10
10
11
11
## Common Errors
12
12
@@ -29,7 +29,7 @@ The agent hit its `max_iterations` limit without completing the task.
29
29
30
30
### Model Fallback Triggered
31
31
32
-
When the primary model fails, docker-agent automatically switches to fallback models. Look for log messages like `"Switching to fallback model"`.
32
+
When the primary model fails, Docker Agent automatically switches to fallback models. Look for log messages like `"Switching to fallback model"`.
33
33
34
34
-**429 errors:** Rate limited — the cooldown period keeps using the fallback
35
35
-**5xx errors:** Server issues — retries with exponential backoff first, then falls back
@@ -49,7 +49,7 @@ agents:
49
49
50
50
## Missing credentials or model errors
51
51
52
-
When docker-agent can't find a usable model at startup, it fails fast with an actionable error. The message names the exact next step. `docker agent doctor` is the fastest way to see the full picture — which providers have credentials, whether Docker Model Runner is reachable, and which model `auto` would pick.
52
+
When Docker Agent can't find a usable model at startup, it fails fast with an actionable error. The message names the exact next step. `docker agent doctor` is the fastest way to see the full picture — which providers have credentials, whether Docker Model Runner is reachable, and which model `auto` would pick.
53
53
54
54
### Required environment variables not set
55
55
@@ -109,7 +109,7 @@ If instead you see `cannot query Docker Model Runner at <url>`, Docker Model Run
109
109
110
110
## Debug Mode
111
111
112
-
The first step for any issue is enabling debug logging. This provides detailed information about what docker-agent is doing internally.
112
+
The first step for any issue is enabling debug logging. This provides detailed information about what Docker Agent is doing internally.
113
113
114
114
```bash
115
115
# Enable debug logging (writes to ~/.cagent/cagent.debug.log)
@@ -168,7 +168,7 @@ If the agent hangs or times out, check that you can reach the provider's API end
168
168
169
169
- Ensure the MCP tool command is installed and on your `PATH`
170
170
- Check file permissions — tools need to be executable
171
-
- Test MCP tools independently before integrating with docker-agent
171
+
- Test MCP tools independently before integrating with Docker Agent
172
172
- For Docker-based MCP tools (`ref: docker:*`), ensure Docker Desktop is running
173
173
174
174
### Filesystem / shell tool errors
@@ -184,7 +184,7 @@ MCP and LSP toolsets are managed by a supervisor that auto-restarts them when th
184
184
-`/tools` — the unified tools dialog. Its top section lists every toolset with its current state (`Stopped`, `Starting`, `Ready`, `Degraded`, `Restarting`, `Failed`), restart count, and last error; the bottom section lists every tool the agent can call. Start here whenever a tool seems missing or stuck.
185
185
-`/toolset-restart <name>` — force a supervisor-driven reconnect of the named toolset. Useful after completing OAuth, when a remote MCP server has been redeployed, or when a language server like `gopls` is unresponsive.
186
186
187
-
Remote MCP servers that return `401 invalid_token` (e.g. because the stored OAuth token was revoked or rotated) are now self-healing: docker-agent silently exchanges the refresh token for a new one when possible, or surfaces an OAuth re-authentication prompt on your next message when refresh is not possible. No more stuck toolsets that require a process restart — but if you want to trigger re-auth immediately, `/toolset-restart <name>` forces it right away.
187
+
Remote MCP servers that return `401 invalid_token` (e.g. because the stored OAuth token was revoked or rotated) are now self-healing: Docker Agent silently exchanges the refresh token for a new one when possible, or surfaces an OAuth re-authentication prompt on your next message when refresh is not possible. No more stuck toolsets that require a process restart — but if you want to trigger re-auth immediately, `/toolset-restart <name>` forces it right away.
188
188
189
189
MCP tools using stdio transport must complete the initialization handshake before becoming available. If tools fail silently:
190
190
@@ -196,15 +196,15 @@ MCP tools using stdio transport must complete the initialization handshake befor
196
196
> [!NOTE]
197
197
> **Startup tool-listing timeout**
198
198
>
199
-
> At startup, docker-agent queries each toolset for its tool list. If a toolset does not respond within 10 seconds (e.g. a wedged MCP stdio server that never answers `tools/list`), that toolset is skipped with a warning and the remaining toolsets load normally. The sidebar resolves showing whichever tools did load — no infinite spinner. Enable `--debug` to see the warning message, and use `/toolset-restart <name>` once the server becomes responsive.
199
+
> At startup, Docker Agent queries each toolset for its tool list. If a toolset does not respond within 10 seconds (e.g. a wedged MCP stdio server that never answers `tools/list`), that toolset is skipped with a warning and the remaining toolsets load normally. The sidebar resolves showing whichever tools did load — no infinite spinner. Enable `--debug` to see the warning message, and use `/toolset-restart <name>` once the server becomes responsive.
200
200
201
201
If a toolset keeps crashing in a tight loop, tune the [`lifecycle`](../../configuration/tools/index.md#toolset-lifecycle) block on the toolset (e.g. raise `backoff.initial`, lower `max_restarts`, or switch to the `best-effort` profile) so a flaky dependency does not amplify into a restart storm.
202
202
203
203
## Configuration Errors
204
204
205
205
### YAML syntax issues
206
206
207
-
docker-agent validates config at startup and reports errors with line numbers. Common problems:
207
+
Docker Agent validates config at startup and reports errors with line numbers. Common problems:
208
208
209
209
- Incorrect indentation (YAML is whitespace-sensitive)
210
210
- Missing quotes around values containing special characters (`:`, `#`, `{`, `}`)
@@ -231,7 +231,7 @@ docker-agent validates config at startup and reports errors with line numbers. C
231
231
232
232
### Port conflicts
233
233
234
-
When running docker-agent as an API server or MCP server, ensure the port is not already in use:
234
+
When running Docker Agent as an API server or MCP server, ensure the port is not already in use:
Copy file name to clipboardExpand all lines: docs/concepts/agents/index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
---
2
2
title: "Agents"
3
-
description: "Agents are the core building blocks of docker-agent. Each agent is an AI-powered entity with a model, instructions, tools, and optional sub-agents."
3
+
description: "Agents are the core building blocks of Docker Agent. Each agent is an AI-powered entity with a model, instructions, tools, and optional sub-agents."
4
4
keywords: docker agent, ai agents, concepts, agents
_Agents are the core building blocks of docker-agent. Each agent is an AI-powered entity with a model, instructions, tools, and optional sub-agents._
9
+
_Agents are the core building blocks of Docker Agent. Each agent is an AI-powered entity with a model, instructions, tools, and optional sub-agents._
10
10
11
11
## What is an Agent?
12
12
13
-
An agent in docker-agent is defined by:
13
+
An agent in Docker Agent is defined by:
14
14
15
15
-**Model** — The AI model powering it (e.g., Claude, GPT-5, Gemini). See [Models](../models/index.md).
16
16
-**Description** — A brief summary of what the agent does (used by other agents for delegation)
@@ -34,7 +34,7 @@ agents:
34
34
35
35
## The Root Agent
36
36
37
-
Every docker-agent configuration has a **root agent** — the entry point that receives user messages. In a single-agent setup, this is the only agent. In a multi-agent setup, the root agent acts as a coordinator, delegating tasks to specialized sub-agents.
37
+
Every Docker Agent configuration has a **root agent** — the entry point that receives user messages. In a single-agent setup, this is the only agent. In a multi-agent setup, the root agent acts as a coordinator, delegating tasks to specialized sub-agents.
Copy file name to clipboardExpand all lines: docs/concepts/distribution/index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ _Package, share, and run agents via OCI-compatible registries — just like cont
12
12
13
13
## Overview
14
14
15
-
docker-agent agents can be pushed to any OCI-compatible registry (Docker Hub, GitHub Container Registry, etc.) and pulled/run anywhere. This makes sharing agents as easy as sharing Docker images.
15
+
Docker Agent agents can be pushed to any OCI-compatible registry (Docker Hub, GitHub Container Registry, etc.) and pulled/run anywhere. This makes sharing agents as easy as sharing Docker images.
16
16
17
17
> [!TIP]
18
18
> For CLI commands related to distribution, see [CLI Reference](../../features/cli/index.md) (`docker agent share push`, `docker agent share pull`, `docker agent alias`).
docker-agent supports pulling from private GitHub repositories and registries that require authentication. Use standard Docker login or GitHub authentication:
111
+
Docker Agent supports pulling from private GitHub repositories and registries that require authentication. Use standard Docker login or GitHub authentication:
112
112
113
113
```bash
114
114
# Login to a registry
@@ -122,7 +122,7 @@ $ docker agent run docker.io/myorg/private-agent:latest
122
122
> [!NOTE]
123
123
> **Docker Desktop credentials**
124
124
>
125
-
> When pulling or running an agent from a `docker.com` or `*.docker.com` HTTPS URL (e.g. `desktop.docker.com`), docker-agent automatically forwards your Docker Desktop JWT for authentication — no explicit login required when Docker Desktop is running and signed in.
125
+
> When pulling or running an agent from a `docker.com` or `*.docker.com` HTTPS URL (e.g. `desktop.docker.com`), Docker Agent automatically forwards your Docker Desktop JWT for authentication — no explicit login required when Docker Desktop is running and signed in.
126
126
>
127
127
> Note: `docker.io` (the standard Docker Hub registry domain) is a separate domain and is **not** covered by automatic JWT forwarding. Agents pulled from `docker.io` or `registry-1.docker.io` still require `docker login docker.io` for private repositories.
0 commit comments