Thanks for your interest in contributing to AgentMesh! This project aims to create a universal coordination protocol for AI coding agents.
git clone https://github.com/codeahead-dev/agent-mesh.git
cd agent-mesh
npm install
npm test- Open an issue with a clear description
- Include steps to reproduce
- Include your Node.js version and OS
- Open an issue with the
featurelabel - Describe the use case and why it matters
- If possible, reference how it fits the protocol
- Fork the repo and create your branch from
main - Write tests for any new functionality
- Ensure all tests pass:
npm test - Keep PRs focused — one feature or fix per PR
The codebase is intentionally simple:
bin/agent-mesh.js → CLI entry point (routes commands)
src/protocol.js → Protocol constants and file utilities
src/init.js → Initialize .agent-mesh/ directory
src/register.js → Agent registration
src/router.js → @mention routing (the killer feature)
src/task.js → Task management
src/message.js → Inter-agent messaging
src/context.js → Token-aware context sharing
src/watch.js → File conflict detection
src/daemon.js → Real-time coordination daemon
src/status.js → Dashboard display
src/index.js → Programmatic API
templates/PROTOCOL.md → The self-describing protocol spec
- Files are the interface. Don't add features that require a server to work.
- Keep it simple. No build step. No transpilation. Pure Node.js ESM.
- Protocol first. Changes to the protocol must be backwards-compatible.
- Test everything. Every feature needs a test.
- ES Modules (import/export)
- No TypeScript (keeps it zero-build)
- Descriptive function names
- JSDoc comments for public functions
By contributing, you agree that your contributions will be licensed under the MIT License.