
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
ai-duo-framework
Advanced tools
A structured framework for orchestrating collaboration between AI agents in software development projects
AI Duo Framework is a structured methodology and toolset for orchestrating collaboration between multiple AI agents in software development projects. It provides clear separation of concerns between Solution Architecture and Implementation roles, enabling efficient, high-quality software development with AI assistance.
npm install -g ai-duo-framework
npm install ai-duo-framework
ai-duo init my-awesome-project
This will prompt you for:
Open two terminal windows in your project directory:
Terminal 1 - Solution Architect:
cd my-awesome-project
# Provide your AI with: context/SOLUTION_ARCHITECT_PROMPT.md
# Start giving your project requirements
Terminal 2 - Software Developer:
cd my-awesome-project
# Provide your AI with: context/SOFTWARE_DEVELOPER_PROMPT.md
# The AI will monitor for instructions
context/INSTRUCTIONS.mdimplementation/IMPLEMENTATION_RESULTS.md# Create a new project
ai-duo init [project-name]
# Check project status
ai-duo status
# Validate project structure
ai-duo validate
# Archive a completed phase
ai-duo archive <phase-number>
# Show help
ai-duo --help
my-project/
├── context/ # Architecture & communication
│ ├── SOLUTION_ARCHITECT_PROMPT.md # Architect AI instructions
│ ├── SOFTWARE_DEVELOPER_PROMPT.md # Developer AI instructions
│ ├── INSTRUCTIONS.md # Architect → Developer specs
│ ├── MEMORY.md # Shared learnings
│ └── COLLABORATION_PROTOCOL.md # Communication rules
│
├── implementation/ # Development results
│ └── IMPLEMENTATION_RESULTS.md # Developer → Architect
│
├── tests/ # Testing (Architect-controlled)
│ ├── scripts/ # Test implementations
│ ├── outputs/ # Test results
│ ├── logs/ # Test logs
│ └── TEST_FRAMEWORK.md # Testing guidelines
│
├── versions/ # Version control
│ ├── COMMIT_TEMPLATE.md # Commit message format
│ └── ROLLBACK_GUIDE.md # Rollback procedures
│
├── src/ # Your actual project code
└── dist/ # Build outputs
graph TD
A[User Requirements] --> B[Solution Architect AI]
B --> C{Writes Instructions}
C --> D[INSTRUCTIONS.md]
D --> E[Software Developer AI]
E --> F{Implements Code}
F --> G[src/ folder]
F --> H[IMPLEMENTATION_RESULTS.md]
H --> I[Solution Architect AI]
I --> J{Reviews & Tests}
J -->|Approved| K[Next Phase]
J -->|Needs Changes| C
The framework uses status flags for clear communication:
[READY_FOR_IMPLEMENTATION] - Specs ready for developer[IMPLEMENTATION_COMPLETE] - Code ready for review[REVISION_REQUIRED] - Changes needed[PHASE_COMPLETE] - Phase approved[BLOCKED] - Need intervention[CLARIFICATION_NEEDED] - Ambiguous requirementsCreate custom project templates in templates/:
ai-duo init my-project --template custom-template
Archive completed phases for version control:
ai-duo archive 1 # Archives phase 1 with timestamp
Check project status programmatically:
const { checkStatus } = require('ai-duo-framework');
const status = await checkStatus('./my-project');
console.log(status);
We welcome contributions! Please see our Contributing Guide for details.
git clone https://github.com/cwmaia/ai-duo-framework.git
cd ai-duo-framework
npm install
npm link # Test CLI locally
npm test
AIs conflicting with each other:
ai-duo validateRequirements unclear:
Tests failing repeatedly:
MIT - See LICENSE file for details
Built with inspiration from modern software development practices and the potential of AI collaboration.
Made with ❤️ by developers, for developers using AI
Transform your development workflow with intelligent AI collaboration
FAQs
A structured framework for orchestrating collaboration between AI agents in software development projects
The npm package ai-duo-framework receives a total of 1 weekly downloads. As such, ai-duo-framework popularity was classified as not popular.
We found that ai-duo-framework demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.