Ai Dev Agents
БесплатноНе проверенAutonomous AI development teams using Claude Code Agent Teams architecture
Описание
Autonomous AI development teams using Claude Code Agent Teams architecture
README
Autonomous AI development team coordination built on Claude Code Agent Teams architecture. Enables Team Leads to orchestrate specialized AI teammates (PM, Architect, Developer, QA, Security) through shared task lists, inter-agent messaging, and persistent learning.
Features
Core Coordination
- Claude Code Agent Teams Integration: Native support for spawning and orchestrating AI teammates
- Shared Task List: Centralized task management with file ownership tracking
- Inter-Agent Messaging: Direct peer-to-peer communication between teammates
- File Conflict Detection: Prevents parallel edits to the same files
Workflows
- Graceful Shutdown: Coordinated shutdown requests with approval/rejection flows
- Plan Approval: PM and Architect teammates submit plans for Team Lead review
- Code Review: Peer review requests with approval tracking
- Branch Management: Feature branch coordination with PR creation
Learning & Intelligence
- Hybrid Learning System: MCP Memory (real-time) + Git (persistent)
- Consensus Validation: Patterns validated by multiple teammates before persisting
- Requirements Management: BACKLOG.md and GitHub Issues parsing with RICE scoring
- Stakeholder Simulation: AI personas evaluate requirement impact
Installation
Prerequisites
Claude Code with Agent Teams:
# Enable experimental Agent Teams feature export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1Node.js 18+: Required for TypeScript and MCP server
Setup
# Clone repository
cd /path/to/ai-dev-agents
# Install dependencies
npm install
# Build TypeScript
npm run build
# Configure MCP server in Claude Code settings
# Add to ~/.claude/settings.json:
{
"mcpServers": {
"ai-dev-agents-mcp": {
"command": "node",
"args": ["/path/to/ai-dev-agents/dist/index.js"],
"env": {}
}
}
}
Usage
Use the /ai-dev-team skill in Claude Code for quick team spawning, or see CLAUDE.md for manual control and advanced patterns.
/ai-dev-team spawn standard
Testing
Running Tests
# Run all tests
npm test
# Run specific test file
npm test lifecycle.test.ts
# Run with coverage
npm test -- --coverage
# Watch mode (re-runs on file changes)
npm run test:watch
Test Coverage
The project maintains >80% test coverage across unit and integration tests.
Unit Tests
Individual module validation with focused test cases:
src/tasks.test.ts- Task creation, claiming, file conflict detection (8 test cases)- File ownership conflict detection
- Task status transitions
- MCP tool interface validation
src/lifecycle.test.ts- Shutdown workflow validation (12 test cases)- Shutdown request creation and tracking
- Approval and rejection flows
- Multiple agent coordination
- State transitions
src/team.test.ts- Permission inheritance documentation (6 test cases)- Team member structure validation
- spawn_teammate MCP tool parameters
- Permission adjustment scenarios
src/pm-workflow.test.ts- PM requirements management (8 test cases)- RICE scoring and prioritization
- Autonomous decision-making by confidence level
- Plan approval workflow
src/requirements/backlog-parser.test.ts- BACKLOG.md parsing (7 test cases)- Markdown parsing with priority markers
- RICE metadata extraction
- MoSCoW categorization
src/requirements/github-issues.test.ts- GitHub Issues integration (6 test cases)- Issue fetching and parsing
- Label-based priority inference
- Metadata extraction
src/tools/requirements.test.ts- MCP tool interfaces (5 test cases)- list_requirements tool validation
- evaluate_stakeholder_impact tool
- request_requirement_clarification tool
Integration Tests
End-to-end workflow validation across modules:
src/integration.test.ts- Cross-module workflow coordination (15 test cases)Team Coordination (3 tests):
- Complete workflow: team creation → spawn → task → completion
- File conflict detection prevents parallel edits
- Multiple tasks in parallel without conflicts
Messaging Integration (3 tests):
- Complete message flow: send → receive → mark read
- Broadcast pattern to multiple recipients
- Multi-message conversation workflow
Shutdown Integration (3 tests):
- Graceful shutdown with approval
- Shutdown rejection with reason
- Multiple shutdown requests tracked independently
Cross-Module Workflows (6 tests):
- Complete feature workflow: task → implement → message → review → complete
- Conflict resolution workflow with messaging
- Shutdown coordination with task cleanup
Test Philosophy
Unit Tests:
- Validate individual module behavior in isolation
- Mock external dependencies (Git, GitHub API, filesystem)
- Fast execution (<2 seconds for unit suite)
- Focus on our MCP server logic, not framework internals
Integration Tests:
- Validate cross-module workflows end-to-end
- Simulate complete user scenarios
- Test state management and coordination
- No external dependencies (in-memory only)
- Fast execution (<5 seconds for integration suite)
What We Don't Test:
- Claude Code Agent Teams framework behavior (trust spawn_teammate, delegate mode, etc.)
- External APIs (GitHub, Git) - mocked or skipped
- UI/UX - this is a headless MCP server
Coverage Goals:
- Critical paths: 100% (team coordination, task claiming, messaging)
- Business logic: >90% (requirements parsing, RICE scoring, stakeholder simulation)
- Edge cases: >80% (error handling, conflict detection, state transitions)
- Overall: >80% line coverage
Continuous Testing
Tests run automatically on:
- Pre-commit hooks (via git hooks)
- Pull request creation
- Main branch commits
Development
Development Workflow
# Build TypeScript
npm run build
# Watch mode (rebuilds on file changes)
npm run dev
# Start MCP server
npm start
# Run tests in watch mode
npm run test:watch
Project Structure
ai-dev-agents/
├── src/
│ ├── index.ts # MCP server entry point
│ ├── server.ts # MCP protocol implementation
│ ├── team.ts # Team and teammate registry
│ ├── tasks.ts # Task list storage and conflict detection
│ ├── messages.ts # Inter-agent messaging queue
│ ├── lifecycle.ts # Shutdown coordination
│ ├── learning.ts # Pattern learning and validation
│ ├── planning.ts # Plan approval workflow
│ ├── review.ts # Code review requests
│ ├── branches.ts # Branch management
│ ├── pr.ts # Pull request coordination
│ ├── hooks.ts # Quality gate hooks
│ ├── roles.ts # Agent role definitions
│ ├── types.ts # TypeScript type definitions
│ ├── requirements/ # Requirements management
│ │ ├── sources.ts # Multi-source requirement aggregation
│ │ ├── backlog-parser.ts # BACKLOG.md parsing
│ │ ├── github-issues.ts # GitHub Issues integration
│ │ ├── prioritizer.ts # RICE scoring
│ │ └── stakeholder.ts # Stakeholder simulation
│ └── tools/ # MCP tool definitions
│ └── requirements.ts # Requirements MCP tools
├── dist/ # Compiled JavaScript (generated)
├── .planning/ # Project planning documents
├── CLAUDE.md # Manual control documentation
├── README.md # This file
├── package.json # Dependencies and scripts
└── tsconfig.json # TypeScript configuration
Adding New Features
- Define Types: Add type definitions to
src/types.ts - Implement Logic: Create module in
src/(e.g.,src/my-feature.ts) - Add MCP Tools: Register tools in
src/server.tsor dedicated tool file - Write Tests: Create unit tests (
src/my-feature.test.ts) and integration tests - Update Documentation: Document in
README.mdandCLAUDE.md - Test Coverage: Ensure >80% coverage for new code
Debugging
Enable MCP Server Logging:
# Set debug level in environment
DEBUG=mcp:* npm start
Check Claude Code Logs:
tail -f ~/.claude/logs/mcp.log | grep ai-dev-agents-mcp
Test Individual MCP Tools:
# Use Node.js REPL to test tools directly
node
> import { callMessageTool } from './dist/messages.js'
> await callMessageTool('send_message', { from: 'dev1', to: 'dev2', content: 'test' })
Architecture
MCP Server Components
Team Registry:
- Tracks active teams and teammates
- Stores spawn metadata and status
- Provides team lookup and status updates
Task Store:
- In-memory task list with CRUD operations
- File ownership tracking and conflict detection
- Status transitions (pending → in_progress → completed)
Message Queue:
- Peer-to-peer messaging between agents
- Unread message tracking
- Inbox filtering by read status
Shutdown Manager:
- Graceful shutdown request/approval workflow
- Tracks pending shutdown requests
- Prevents duplicate requests per agent
Learning System:
- Pattern proposal and consensus validation
- Git persistence for cross-session learning
- MCP Memory for real-time access
Requirements Management:
- BACKLOG.md and GitHub Issues parsing
- RICE scoring (Reach × Impact × Confidence / Effort)
- Stakeholder simulation with AI personas
- Autonomous PM decision-making
MCP Protocol
The server exposes resources and tools via the Model Context Protocol:
Resources:
memory:///team- Team configuration and member listmemory:///tasks- Shared task listmemory:///patterns- Learned patterns and best practicestasks:///{taskId}- Individual task details
Tools:
spawn_teammate- Create new AI teammatesend_message,get_inbox,mark_read- Messagingcreate_task,list_tasks,update_task- Task managementcheck_file_conflicts- File ownership validationrequest_shutdown,approve_shutdown,reject_shutdown- Shutdown coordinationsubmit_plan_approval,respond_plan_approval- Plan reviewrequest_review,respond_review- Code reviewlist_requirements,evaluate_stakeholder_impact- Requirements management
Claude Code Integration
The MCP server works within Claude Code's Agent Teams architecture:
- Team Lead spawns in delegate mode (coordination only)
- Team Lead uses
spawn_teammateMCP tool to create specialized teammates - Teammates inherit Team Lead's permissions (file access, sandbox, tools)
- All coordination happens through MCP tools (no direct Claude API calls)
- Teammates work independently, coordinating via task list and messages
- Learning persists to Git for cross-session knowledge sharing
Design Principles
Fail-Fast on Conflicts: Task claiming throws errors on file conflicts, forcing explicit resolution.
In-Memory State: All state kept in-memory for fast access. Git used only for persistent learning.
No External Dependencies in Tests: Tests mock Git, GitHub API, and filesystem for fast, reliable execution.
Trust the Framework: We test our MCP server logic, not Claude Code Agent Teams framework behavior.
Autonomous Decision-Making: PM and teammates make operational decisions autonomously, escalating only when needed.
Contributing
Development Setup
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Make changes with tests
- Verify tests pass:
npm test - Commit with conventional commits:
git commit -m "feat: add my feature" - Push and create pull request
Commit Message Format
<type>(<scope>): <description>
[optional body]
[optional footer]
Types:
feat: New featurefix: Bug fixtest: Add or update testsdocs: Documentation changesrefactor: Code refactoringchore: Build/tooling changes
Examples:
feat(tasks): add file ownership conflict detection
test(integration): add cross-module workflow tests
docs(readme): update testing documentation
Code Review Checklist
- Tests written and passing (
npm test) - Type checking passes (
npm run build) - Coverage >80% for new code
- Documentation updated (README.md, CLAUDE.md)
- Conventional commit messages
- No external dependencies added without discussion
License
ISC
Support
For issues, feature requests, or questions:
- Open a GitHub issue
- Check
CLAUDE.mdfor detailed usage patterns - Review
.planning/directory for project roadmap
Acknowledgments
Built on:
- Claude Code Agent Teams: Anthropic's AI orchestration framework
- Model Context Protocol (MCP): Standardized AI tool interface
- TypeScript: Type-safe implementation
- Vitest: Fast unit testing framework
Установка Ai Dev Agents
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Cittasana/ai-dev-agentsFAQ
Ai Dev Agents MCP бесплатный?
Да, Ai Dev Agents MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Ai Dev Agents?
Нет, Ai Dev Agents работает без API-ключей и переменных окружения.
Ai Dev Agents — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Ai Dev Agents в Claude Desktop, Claude Code или Cursor?
Открой Ai Dev Agents на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Gmail
Read, send and search emails from Claude
автор: GoogleSlack
Send, search and summarize Slack messages
автор: SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Klavis AI
Open Source MCP Infra. Hosted MCP servers and MCP clients on Slack and Discord.
Work90210/APIFold
Turn any REST API into a hosted MCP server. 18 free public servers (GitHub, Stripe, Slack, OpenAI, Notion, and more) — no setup required, bring your own API key
автор: Work90210arikusi/deepseek-mcp-server
MCP server for DeepSeek AI with chat, reasoning, multi-turn sessions, function calling, thinking mode, and cost tracking.
автор: arikusihashgraph-online/hashnet-mcp-js
MCP server for the Registry Broker. Discover, register, and chat with AI agents on the Hashgraph network.
автор: hashgraph-onlineprofullstack/mcp-server
A comprehensive MCP server aggregating 20+ tools including SEO optimization, document conversion, domain lookup, email validation, QR generation, weather data,
автор: profullstackWayStation-ai/mcp
Seamlessly and securely connect Claude Desktop and other MCP hosts to your favorite apps (Notion, Slack, Monday, Airtable, etc.). Takes less than 90 secs.
автор: waystation-aiCompare Ai Dev Agents with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории communication
