home / skills / a5c-ai / babysitter / autogen-setup
This skill configures AutoGen agents and orchestrates multi-agent conversations, enabling reliable autonomous planning and human-in-the-loop workflows.
npx playbooks add skill a5c-ai/babysitter --skill autogen-setupReview the files below or copy the command above to add this skill to your agents.
---
name: autogen-setup
description: Microsoft AutoGen multi-agent configuration for conversational AI systems
allowed-tools:
- Read
- Write
- Edit
- Bash
- Glob
- Grep
---
# AutoGen Setup Skill
## Capabilities
- Configure AutoGen agents (AssistantAgent, UserProxyAgent)
- Set up agent conversations and group chats
- Implement code execution capabilities
- Design human-in-the-loop patterns
- Configure nested agent architectures
- Implement custom reply functions
## Target Processes
- multi-agent-system
- autonomous-task-planning
## Implementation Details
### Agent Types
1. **AssistantAgent**: LLM-powered assistant
2. **UserProxyAgent**: Human proxy with code execution
3. **GroupChatManager**: Multi-agent orchestration
4. **ConversableAgent**: Base class for custom agents
### Configuration Options
- LLM configuration (models, temperatures)
- Code execution settings
- Human input mode
- Max consecutive auto-replies
- Function calling configuration
### Patterns
- Two-agent conversations
- Group chats with selection
- Nested conversations
- Teachable agents
### Best Practices
- Proper termination conditions
- Safe code execution sandboxing
- Clear agent system messages
- Monitor conversation flow
### Dependencies
- pyautogen
This skill configures Microsoft AutoGen multi-agent setups for conversational AI systems, enabling deterministic, resumable orchestration of agent workflows. It provides ready patterns for assistant and user-proxy agents, group chats, nested architectures, and safe code execution. The skill focuses on practical configuration options and human-in-the-loop designs to build robust, auditable agent systems.
The skill defines agent classes (AssistantAgent, UserProxyAgent, ConversableAgent) and a GroupChatManager to orchestrate multi-agent conversations. It exposes LLM settings, code execution controls, reply limits, and function-calling hooks so you can tune behavior and safety. You wire agents into two-agent, group, or nested conversation patterns and apply termination and sandboxing policies for reliable operation.
Can agents execute arbitrary code?
Code execution is supported but must be sandboxed and explicitly configured. Limit available modules and enforce time and resource caps.
How do I keep conversations resumable?
Persist conversation state, agent roles, and pending actions. Use deterministic LLM settings and record system messages to reproduce context on restart.