-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add manager-developer agent architecture with handoffs #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Create two-agent system where manager orchestrates and developer executes - Implement 3-phase workflow: stream read, pagination, remaining streams - Use openai-agents handoffs for structured agent communication - Add Pydantic models for type-safe data passing between agents - Create phase-specific prompt templates for developer guidance - Update README and poe tasks for new architecture - Maintain compatibility with existing MCP tools and infrastructure Co-Authored-By: AJ Steers <[email protected]>
Original prompt from AJ Steers
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. Testing This Branch via MCPTo test the changes in this specific branch with an MCP client like Claude Desktop, use the following configuration: {
"mcpServers": {
"connector-builder-mcp-dev": {
"command": "uvx",
"args": ["--from", "git+https://github.com/airbytehq/connector-builder-mcp.git@devin/1757363034-manager-developer-agents", "connector-builder-mcp"]
}
}
} Testing This Branch via CLIYou can test this version of the MCP Server using the following CLI snippet: # Run the CLI from this branch:
uvx 'git+https://github.com/airbytehq/connector-builder-mcp.git@devin/1757363034-manager-developer-agents#egg=airbyte-connector-builder-mcp' --help PR Slash CommandsAirbyte Maintainers can execute the following slash commands on your PR:
|
Co-Authored-By: AJ Steers <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete this file and move it's content into the python file and/or into frontmatter of the prompt md files
- Move Pydantic models from separate phase_models.py into run_manager_developer_agents.py - Delete phase_models.py file as requested in GitHub comment - Update imports to use pydantic.BaseModel directly - Maintain unified script interface with no separate code paths - All functionality preserved including handoffs mechanism Co-Authored-By: AJ Steers <[email protected]>
- Merge run_manager_developer_agents.py functionality into run_mcp_agent.py - Use headless mode to automatically trigger manager-developer architecture - Use interactive mode for single-agent with conversation loop - Delete separate run_manager_developer_agents.py to eliminate code paths - Update poe tasks to use unified script interface - Preserve all existing CLI arguments and handoffs mechanism - Update documentation to reflect unified interface Co-Authored-By: AJ Steers <[email protected]>
…ger-developer-agents
PyTest Results (Full)0 tests 0 ✅ 0s ⏱️ Results for commit efd86b3. ♻️ This comment has been updated with latest results. |
feat: add manager-developer agent architecture with handoffs
Summary
This PR introduces a new two-agent architecture for the Builder MCP system where a "manager" agent orchestrates the connector building process by delegating work to a "developer" agent across 3 phases using the openai-agents library's handoffs mechanism.
Key Components:
Workflow Phases:
The new architecture maintains full compatibility with existing MCP tools and infrastructure while providing more structured, delegated connector development.
Review & Testing Checklist for Human
poe run-manager-developer "Test API"
and verify the manager agent successfully delegates to developer agent across all 3 phasespoe run-mcp-agent
still works to ensure no regressions in single-agent architectureNotes
run-manager-developer
,run-manager-developer-custom
,run-manager-developer-headless
prompts/
directory provide detailed guidance for developer agentImportant
Auto-merge enabled.
This PR is set to merge automatically when all requirements are met.