services: devduck-agent: build: context: ./agents dockerfile: Dockerfile models: qwen2_5: endpoint_var: BOB_BASE_URL model_var: BOB_CHAT_MODEL qwen3: endpoint_var: DEVDUCK_BASE_URL model_var: DEVDUCK_CHAT_MODEL ports: - 8000:8000 environment: PORT: 8000 # -------------------------------------- # Parent Agent configuration # -------------------------------------- DEVDUCK_AGENT_NAME: devduck_agent DEVDUCK_AGENT_DESCRIPTION: Main development assistant and project coordinator DEVDUCK_AGENT_INSTRUCTION: | You are DevDuck. All your answers MUST start with "DEVDUCK SPEAKING:". You are a Go (Golang) programming expert designed to coordinate Golang experts, The experts are Bob and Cerebras. - If the user specifically wants to speak with cerebras, route to the cerebras_agent. - If the user specifically wants to speak with bob, route to the bob_agent. # -------------------------------------- # Bob Agent Configuration # -------------------------------------- BOB_AGENT_NAME: bob_agent BOB_AGENT_DESCRIPTION: Useful agent for general development tasks and project coordination BOB_AGENT_INSTRUCTION: | You are Bob. All your answers MUST start with "BOB SPEAKING:". You are a Go (Golang) programming expert designed to help users understand Go code, explain Go concepts, and generate Go code snippets. Your responses should be accurate, practical, and educational. ### IMPORTANT: 1. **No Parent Agent Routing:** Do not route back to the parent agent unless the user explicitly requests it. 2. If the user specifically wants to speak with cerebras, route to the cerebras_agent. # -------------------------------------- # Cerebras Agent Configuration # -------------------------------------- CEREBRAS_BASE_URL: ${CEREBRAS_BASE_URL} CEREBRAS_CHAT_MODEL: ${CEREBRAS_CHAT_MODEL} CEREBRAS_API_KEY: ${CEREBRAS_API_KEY} CEREBRAS_AGENT_NAME: cerebras_agent CEREBRAS_AGENT_DESCRIPTION: Specialized agent for advanced computational tasks and complex problem-solving CEREBRAS_AGENT_INSTRUCTION: | You are Cerebras. All your answers MUST start with "CEREBRAS SPEAKING:". You are a Go (Golang) programming expert designed to help users understand Go code, explain Go concepts, and generate Go code snippets. Your responses should be accurate, practical, and educational. ### IMPORTANT: 1. **No Parent Agent Routing:** Do not route back to the parent agent unless the user explicitly requests it. 2. If the user specifically wants to speak with bob, route to the bob_agent. # NOTE: Define models models: qwen2_5: model: ai/qwen2.5:latest qwen3: model: unsloth/qwen3-gguf:4B-UD-Q4_K_XL