EveryDev.ai
Subscribe
Home
Tools

3,484+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. firstmate
    firstmate icon

    firstmate

    Multi-agent Systems
    Featured

    An open-source agent distro that lets you talk to one AI agent (the first mate) while it autonomously spawns and supervises a crew of parallel coding agents across isolated git worktrees.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source under the MIT License. Clone the repo and use it at no cost.

    Engagement

    Available On

    Windows
    macOS
    Linux
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Multi-agent SystemsAI Coding AssistantsAgent Frameworks

    Alternatives

    RepoMasterMulticaTraycer
    Developer
    Kun ChenKun Chen builds open-source developer tooling focused on AI-…

    Listed Aug 2026

    About firstmate

    firstmate is an open-source "agent distro" created by Kun Chen (kunchenguid) that solves the problem of managing multiple parallel coding agent sessions. Instead of tab-juggling between terminals and copy-pasting context between repos, you talk to a single coordinating agent — the first mate — which dispatches work to a crew of autonomous agents, supervises them, and hands you finished PRs, local merges, or investigation reports. The project is MIT-licensed, hosted on GitHub, and requires no app installation: the cloned repository itself is the distro.

    What It Is

    firstmate is not a model, not a harness, not a skill registry, and not an MCP server. It is a portable directory of instructions, skills, tooling, policies, and state conventions — an "agent distro" — that turns a general-purpose coding agent into a specialized crew coordinator. Launching a supported harness (Claude Code, Grok, Pi, Codex, or OpenCode) inside the cloned repo instantiates the first mate and makes the user the captain. The repo's AGENTS.md file serves as the always-loaded operating contract and routing index.

    How the Crew Architecture Works

    The core model is a single liaison pattern:

    • You (the captain) chat only with the first mate via natural language requests and decisions.
    • The first mate reads project state, routes tasks to crewmates, supervises the fleet with a zero-token event-driven bash watcher, and escalates only real decisions.
    • Crewmates each run in their own tmux window, herdr/zellij tab, cmux workspace, or Orca terminal, with a clean git worktree (via the companion treehouse tool) so parallel work on one repo never collides.
    • Two task shapes exist: "ship" tasks deliver authorized changes (PRs or local merges), and "scout" tasks produce standalone investigation reports.
    • Optional secondmates extend the model to persistent local or SSH-reachable remote second mates with their own isolated firstmate homes, state, and session locks.

    Supported Harnesses and Backends

    firstmate designates Claude Code, Grok, and Pi as equal co-primary harness recommendations, each with verified turn-end guard paths. Codex and OpenCode are also verified and supported with harness-specific supervision tradeoffs. Runtime session backends include tmux (the reference default), herdr, zellij, Orca, and cmux — each with dedicated setup documentation. The first mate detects and offers to install supported missing tools after user approval.

    Built-in Skills and Supervision

    The distro ships several user-invocable skills accessible via slash commands (or $ prefix in Codex):

    • /afk — away-mode supervision with batched digest escalation
    • /ahoy — recap of visible session events since the last captain message
    • /bearings — a four-section fleet status digest, optionally written to a dated file with live PR enrichment
    • /updatefirstmate — self-update the running firstmate and its secondmates
    • /stow — sweep the session for uncaptured durable knowledge and route findings to disk

    Supervision is event-driven and zero-token: a bash watcher sleeps on the fleet and wakes the first mate only when something needs attention. All state lives on disk and in the active session backend, making the system restart-proof — killing the session and relaunching reconciles confirmed-dead agents and carries on.

    Optional Relay and Public Mention Handling

    An opt-in Relay feature, enabled with a single local .env pairing token, allows the first mate to answer public mentions on X (Twitter) and Discord, act on normal reversible mention requests through the same task lifecycle as chat requests, and post up to three public-safe completion follow-ups within seven days for genuine milestones. Final replies promised in a thread become durable disk state so a restart or compacted conversation cannot lose them. A dry-run preview mode records would-be replies locally before go-live.

    Current Status and Adoption Signal

    The repository was created in June 2026 and, according to GitHub metadata, has accumulated approximately 2,955 stars and 954 forks with 657 open issues as of early August 2026, indicating rapid early traction. The project is actively maintained under the MIT license by Kun Chen, with the last push recorded on August 7, 2026. Documentation covers architecture, configuration, remote secondmates, each runtime backend, supervision protocols per harness, and a contributing guide with dev/test commands.

    firstmate - 1

    Community Discussions

    Be the first to start a conversation about firstmate

    Share your experience with firstmate, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source under the MIT License. Clone the repo and use it at no cost.

    • Full multi-agent crew orchestration
    • All supported harnesses (Claude Code, Grok, Pi, Codex, OpenCode)
    • All session backends (tmux, herdr, zellij, Orca, cmux)
    • Built-in skills (/afk, /ahoy, /bearings, /updatefirstmate, /stow)
    • Optional secondmates (local and remote SSH)

    Capabilities

    Key Features

    • Single liaison agent (first mate) dispatches and supervises a crew of parallel coding agents
    • Isolated git worktrees per task via treehouse integration
    • Zero-token event-driven bash watcher for fleet supervision
    • Two task shapes: ship (PRs/merges) and scout (investigation reports)
    • Optional persistent secondmates on local or SSH-reachable remote hosts
    • Restart-proof state: all state on disk and in session backend
    • Supported harnesses: Claude Code, Grok, Pi, pi-signed, Codex, OpenCode
    • Multiple session backends: tmux (default), herdr, zellij, Orca, cmux
    • Built-in skills: /afk, /ahoy, /bearings, /updatefirstmate, /stow
    • Optional Relay for public X and Discord mention handling
    • Explicit project modes: no-mistakes, direct-PR, local-only with optional +yolo flag
    • Dispatch profiles to steer which harness handles which task
    • Strict project boundary with captain-approved guarded operations
    • Self-update via /updatefirstmate with fast-forward-only pulls
    • Two-tier skill layout: internal agent-loaded and public installer-facing skills

    Integrations

    Claude Code
    Grok
    Pi
    Codex
    OpenCode
    tmux
    herdr
    zellij
    Orca
    cmux
    GitHub CLI (gh)
    Git
    X (Twitter)
    Discord
    GitLab
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate firstmate and help others make informed decisions.

    Developer

    Kun Chen

    Kun Chen builds open-source developer tooling focused on AI-assisted code quality. The no-mistakes project puts a local AI-driven validation gate in front of git pushes, automating review, testing, docs, and linting before a PR is raised. Chen maintains the project publicly on GitHub under the MIT License and engages with the community via Discord and X.

    Read more about Kun Chen
    WebsiteGitHubX / Twitter
    4 tools in directory

    Similar Tools

    RepoMaster icon

    RepoMaster

    An open-source AI agent that autonomously discovers, understands, and executes tasks using GitHub repositories, turning 100M+ open-source repos into an intelligent toolbox.

    Multica icon

    Multica

    Open-source managed agents platform that turns coding agents into real teammates — assign tasks, track progress, and compound reusable skills across human + agent teams.

    Traycer icon

    Traycer

    An open-source agentic coding nerve center that connects multiple AI coding agents, shared memory, and team collaboration in one unified desktop workspace.

    Browse all tools

    Related Topics

    Multi-agent Systems

    Platforms for creating and managing teams of AI agents that can collaborate.

    303 tools

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    725 tools

    Agent Frameworks

    Tools and platforms for building and deploying custom AI agents.

    595 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions