Emdash — Parallel Multi-Agent Dev Environment
Open-source agentic development environment (YC W26) that runs multiple AI coding agents in parallel, each in isolated git worktrees. Supports Claude Code, Codex, Gemini CLI, and 20+ agents. 3,600+ stars.
What it is
Emdash is an open-source agentic development environment (YC W26) that runs multiple AI coding agents in parallel. Each agent operates in an isolated git worktree, preventing conflicts between concurrent code changes. Emdash supports Claude Code, Codex, Gemini CLI, and over 20 other AI coding agents.
Emdash targets engineering teams that want to parallelize AI-assisted development. Instead of running one agent at a time, you can assign different tasks to different agents and merge results.
How it saves time or tokens
Serial AI coding means waiting for one agent to finish before starting the next task. Emdash lets you run five or ten agents simultaneously, each working on a separate feature or bug fix in its own git worktree. The isolation prevents merge conflicts during development.
By distributing tasks across agents, Emdash reduces wall-clock time for large refactoring or feature development projects from hours to minutes.
How to use
- Install Emdash:
npm install -g emdash
- Initialize in your project directory:
cd your-project
emdash init
- Launch parallel agents with task assignments:
emdash run --agent claude-code --task 'Add user authentication'
emdash run --agent claude-code --task 'Write unit tests for the API'
emdash run --agent codex --task 'Refactor the database layer'
- Each agent works in an isolated git worktree. When done, review the changes and merge them into main.
Example
# Check status of all running agents
emdash status
# Output:
# Agent 1 (claude-code) - auth-feature [running] worktree: .emdash/wt-1
# Agent 2 (claude-code) - api-tests [done] worktree: .emdash/wt-2
# Agent 3 (codex) - db-refactor [running] worktree: .emdash/wt-3
# Merge completed work
emdash merge wt-2
Related on TokRepo
- AI Tools for Coding — AI coding assistants and development tools
- Multi-Agent Frameworks — Frameworks for orchestrating multiple AI agents
Common pitfalls
- Running too many agents on a single machine. Each agent consumes CPU, memory, and API rate limits. Start with 2-3 parallel agents and scale up based on your hardware and API quotas.
- Not reviewing agent output before merging. Parallel agents can produce conflicting architectural decisions. Review each worktree before merging to maintain code consistency.
- Assigning overlapping tasks to different agents. If two agents modify the same files, merging becomes complex. Assign tasks that touch different parts of the codebase.
- Failing to review community discussions and changelogs before upgrading. Breaking changes in major versions can disrupt existing workflows. Pin versions in production and test upgrades in staging first.
Frequently Asked Questions
Emdash supports Claude Code, OpenAI Codex, Gemini CLI, and over 20 other AI coding agents. The agent interface is extensible, so you can add support for custom or proprietary coding assistants.
Each agent runs in a separate git worktree, which is an independent working directory linked to the same repository. Changes in one worktree do not affect others. When an agent finishes, you merge its worktree branch into the main branch, just like a regular git merge.
Emdash prevents conflicts during development by isolating each agent in its own worktree. However, if two agents modify the same files, you will encounter merge conflicts when combining their work. The best practice is to assign non-overlapping tasks.
Yes. Emdash is open-source and backed by Y Combinator (W26 batch). The project has over 3,600 GitHub stars. You can self-host it or use it as a CLI tool in your development workflow.
The practical limit depends on your machine resources and API rate limits. Each agent needs its own worktree (disk space) and API access. Most teams run 3-5 agents in parallel on a development machine. Cloud environments can support more.
Citations (3)
- Emdash GitHub— Emdash runs multiple AI coding agents in parallel with isolated git worktrees
- Git Documentation— Git worktree documentation for multiple working directories
- Anthropic Documentation— Claude Code AI coding assistant
Related on TokRepo
Source & Thanks
Created by General Action. Licensed under MIT.
emdash — ⭐ 3,600+
Thanks to the Emdash team and Y Combinator for pushing parallel agent development forward.
Discussion
Related Assets
Moodle — Open-Source Learning Management System
The most widely used open-source learning platform, providing course management, assessments, and collaboration tools for educators and organizations worldwide.
Sylius — Headless E-Commerce Framework on Symfony
An open-source headless e-commerce platform built on Symfony and API Platform, designed for developers who need a customizable and API-first commerce solution.
Akaunting — Free Self-Hosted Accounting Software
A free, open-source online accounting application built on Laravel for small businesses and freelancers to manage invoices, expenses, and financial reports.