An autonomous mediation layer for the freelance economy using multi-agent AI coordination and MongoDB Atlas.
OverHeadAI is a multi-agent system where specialized AI agents (Architect, Critic, Mediator) collaborate using MongoDB as a shared coordination layer. The system:
- Eliminates management overhead between clients and freelancers
- Uses the "Gatekeeper" pattern - clients only see work that passes quality verification (Level 8+)
- Enables autonomous negotiations through intelligent agents
Interviews the client through multi-turn conversation to understand requirements, then generates a comprehensive technical specification.
Evaluates freelancer submissions against requirements. Only scores ≥ 8/10 are visible to clients (the "Gatekeeper" pattern).
Generates professional notifications for clients when verified work is ready for review.
- Backend: Node.js + Express + TypeScript
- AI Engine: Fireworks AI (firefunction-v2)
- Database: MongoDB Atlas
- Authentication: JWT
- Payments: x402 Protocol (coming soon)
cd backend
npm installCopy .env.example to .env and fill in:
MONGODB_URI=your_mongodb_atlas_connection_string
JWT_SECRET=your_jwt_secret
FIREWORKS_API_KEY=your_fireworks_api_keynpm run devPOST /api/auth/register- Register as Client or FreelancerPOST /api/auth/login- LoginGET /api/auth/me- Verify token
POST /api/projects- Create project (Client)GET /api/projects- List projectsGET /api/projects/:id- Project detailsPOST /api/projects/:id/approve- Approve work (Client)
POST /api/chat/:projectId/start- Start conversationPOST /api/chat/:projectId/message- Send messagePOST /api/chat/:projectId/generate- Generate requirementsGET /api/chat/:projectId- Get conversation history
POST /api/revisions- Submit work (Freelancer)GET /api/revisions/:projectId- Get revisions
Statement Two: Multi-Agent Collaboration
- Agents discover and assign tasks via MongoDB
- Shared "whiteboard" pattern for context coordination
- Token-efficient state management
Statement Four: Agentic Payments (Coming Soon)
- x402 protocol integration
- Autonomous escrow and payment release
MIT