compose-for-agents / adk-sock-shop
CLAUDE.md1k starsChanged 17 months agoApache-2.0View on GitHub
This is an ADK (Agent Development Kit) multi-agent fact-checking system with three coordinated agents: - To add models and gateways to an existing compose.yaml file, you should figure out which model you want to use, and which mcp servers are needed. - Create a service entry like the following: but replace the servers value with a comma-separate list of the MCP servers that you want to use. - Also, if there is no top-level secrets entry with a mcp_secret entry…
- Reads credentials
Trending
Quiet since May.thin dataabout the whole repository
Who's talking about docker/compose-for-agents
- @docker.com“Spin up Agno in minutes. This walkthrough shows how to run an Agno agent using Docker Compose and Offload. …”Bluesky · Sep 5, 2025 · 5 likes
- @docker.com“Working with LangChainGo? The latest Compose for Agents video shows how to get it running fast with Docker …”Bluesky · Sep 14, 2025 · 3 likes
- joe10832/skills-expand-your-team-with-copilot“> - use java 25”GitHub · Oct 24, 2025 · 1 reactions
- @docker.com“Get Agno running in minutes with Docker Compose and Offload. Local or cloud setup, one command, no hassle. …”Bluesky · Sep 6, 2025 · 1 likes
- A Hacker News story“MinionS Protocol – Cost-Efficient Local-Remote LLM Collaboration”Hacker News · Sep 5, 2025 · 1 points
The biggest 5 of 11 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 11
Talked about on GitHub, Bluesky and Hacker News (11 times).
On GitHub · 7
- Oct 24, 2025> - use java 25 — joe10832/skills-expand-your-team-with-copilot1 reaction · 1 comment
- May 29, 2026ADR 0008 — Framework de orquestación multi-agente — federico-dominguez/lina0 reactions · 2 comments
- Sep 30, 2025Multimedia example — ramdan-clond/BUSINESS.idStore0 reactions
- Sep 22, 2025> Yoo- live information infringement — actions/download-artifact0 reactions
- Aug 17, 2025name: ci — docker/docker-bench-security0 reactions
2 more on GitHub
- Jul 21, 2025docs(agentic-compose): add Go example — docker/docs0 reactions · 1 comment
- Jul 16, 2025Wrong link to MCP UI with Vercel AI SDK under Agentic AI Samples — docker/docs0 reactions
On Bluesky · 3
- Sep 5, 2025Spin up Agno in minutes. This walkthrough shows how to run an Agno agent using Docker Compose and Offload. Local or cloud. One command. No… — @docker.com5 likes and reposts
- Sep 14, 2025Working with LangChainGo? The latest Compose for Agents video shows how to get it running fast with Docker Compose. Local or cloud, one… — @docker.com3 likes and reposts
- Sep 6, 2025Get Agno running in minutes with Docker Compose and Offload. Local or cloud setup, one command, no hassle. Watch the walkthrough and start… — @docker.com1 likes and repost
On Hacker News · 1
- Sep 5, 2025MinionS Protocol – Cost-Efficient Local-Remote LLM Collaboration1 point · 1 comment
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Use Google Cloud Run deployment with compose.gcloudrun.yaml for cloud deployment
- Distinctive: line 46
No external tools - pure reasoning agent
- Distinctive: line 63
All agents use LiteLLM for model abstraction with OpenAI format
- Distinctive: line 69
Create a service entry like the following:
- Very specific: line 107
If the user wnts the model_name qwen3 then the model_image_ref should be ai/qwen3:14B-Q6_K
- Distinctive: line 109
Add a new entry to that service's definition with the following content.
- Distinctive: line 118
If it's unclear which service needs this definition then ask.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Development Commands
Build and Run
# Build and push multi-platform image (requires hydrobuild builder)
make build-adk-imageDevelopment Tools
# Type checking
pyright
# Code formatting and linting
ruff check
ruff formatTesting and Development
- Access the web interface at http://localhost:8080 after running
docker compose up --build - Use Google Cloud Run deployment with
compose.gcloudrun.yamlfor cloud deployment
Architecture Overview
This is an ADK (Agent Development Kit) multi-agent fact-checking system with three coordinated agents:
Agent Hierarchy
- Root Agent:
llm_auditor(SequentialAgent) atagents/agent.py:22- Orchestrates the entire fact-checking workflow
- Coordinates between Critic and Reviser agents sequentially
- Critic Agent:
agents/sub_agents/critic/agent.py:27- Has access to DuckDuckGo search via MCP (Model Context Protocol)
- Gathers external evidence to support or refute claims
- Uses
mcp/duckduckgo:searchtoolset
- Reviser Agent:
agents/sub_agents/reviser/agent.py:97- No external tools - pure reasoning agent
- Refines conclusions based on Critic's findings
- Uses content processing callbacks for model compatibility
Agent Communication Pattern
- User submits question → Auditor
- Auditor → Critic (with search tools)
- Critic gathers evidence → Auditor
- Auditor → Reviser (reasoning only)
- Reviser refines conclusion → Auditor
- Auditor delivers final answer
Special Implementation Notes
- Reviser agent uses content preprocessing callbacks (
force_string_content,_remove_end_of_edit_mark) for model compatibility - MCP tools are configured via
create_mcp_toolsets()in critic agent - All agents use LiteLLM for model abstraction with OpenAI format
Generating a compose.yaml file
- To add models and gateways to an existing compose.yaml file, you should figure out which model you want to use, and which mcp servers are needed.
Create a service entry like the following:
mcp-gateway: image: docker/mcp-gateway:latest use_api_socket: true command: - --transport=sse - --servers=server1,server2,server3 - --config=/mcp_config - --secrets=docker-desktop:/run/secrets/mcp_secret secrets: - mcp_secretbut replace the servers value with a comma-separate list of the MCP servers that you want to use.
Also, if there is no top-level
secretsentry with amcp_secretentry then add one. It should look like:secrets: mcp_secret: file: ./.mcp.envand remind that the user that Docker offload will require secrets to be stored in a local file named .mcp.env
Whenever a model is needed, add a toplevel entry in the compose.yaml file with the name of the model. It should look like:
models: <model_name>: model: <model_image_ref>but replace the <model_name> with whatever model the user wants to use. If the user wnts the model_name qwen3 then the model_image_ref should be ai/qwen3:14B-Q6_K
Whenever a model is added, the user must specify what service needs the model. Add a new entry to that service's definition with the following content.
models: <model_name>: endpoint_var: MODEL_RUNNER_URL model_var: MODEL_RUNNER_MODELIf it's unclear which service needs this definition then ask. Always add the model to just the service definition that needs it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

