The reliable Basecamp relay for firstmate.
basecamp-mate is the reliable Basecamp relay for firstmate, for people who run firstmate. It is built specifically to integrate firstmate with Basecamp, and does nothing without firstmate. Your agent asks you for decisions as Basecamp to-dos, answers you in chat, answers check-ins and posts reports, and you answer it from Basecamp.
You need: a Linux computer running firstmate, Python 3.11+, the official Basecamp CLI (0.12+), and a Basecamp project with a separate Basecamp person for the agent.
- By default, decisions arrive as to-dos you answer from Basecamp. When the agent needs a choice, an approval or a login only you can give, it assigns you a to-do with the options and its recommendation. Your comment is the answer; the agent completes the to-do once it has acted on it. To be asked somewhere else or another way, tell the agent.
- Chat with your agent. Ask it something in the project's chat and it answers there. Turn on Pings and to-do requests, and you can also message it directly or assign it a to-do: it takes the work on, comments as it goes and completes the to-do when it is done.
- Check-ins become recurring reports. Write a Basecamp Automatic Check-in question ("What did you get done today?") and the agent answers it on schedule, under its own name. A question can also be an instruction ("Check our dependencies and report"): it does the work, then answers with what came of it.
- Agent work shows up where your team already looks. Turn on what you want: the agent's reports on the Message Board, release announcements, its backlog as cards on a card table, and its working time on each to-do's timesheet.
- You decide who it listens to. By default that is only you on a personal account, and everyone in your company on a team account. Anyone else who writes to it gets a short automatic reply, and what they wrote never reaches the agent.
- Requests wait for the agent, not the other way round. Each request is written into the firstmate home, optionally as a note in its inbox, and stays there until the agent has acted on it, so a crashed or stopped agent session loses nothing.
Some of the above is software that runs whether or not the agent cooperates; the rest is how the agent is told to behave, which you change by asking it.
Built into basecamp-mate (sync.py, its tools and behaviors, the systemd timer):
- Reading the agent's Basecamp notifications every 30 seconds, with per-thread cursors and hourly repair sweeps, so input sent while the computer was off is picked up later.
- Who gets through: the allow-lists of people it listens to, whose word authorizes, and the automatic reply to anyone else.
- Turning what it reads into records in
pending-comments.jsonland, with--inbox, firstmate inbox notes; the optional session alert when notes wait with no session. - The 👀 and 👍 acknowledgement boosts.
- The commands the agent uses to write:
reply,todo create|comment|complete,answer,post-message,dismissand the rest, and the decision to-dos they track. - Relaying chat lines, Pings, to-dos assigned to the agent and check-in questions as they come due, each only when its config key is on.
- Release announcements, the backlog card mirror, timesheet posting and backups, each opt-in.
Default agent behavior (prompts/base.md, prompts/defaults.md copied into the home,
and skills/basecamp-sync/SKILL.md; change it by asking the agent):
- Asking you for decisions as to-dos assigned to you, with options and a recommendation, and completing them once it has acted on your answer.
- Answering every chat line and Ping, and taking on to-dos assigned to it, commenting as it goes and completing them when done.
- Answering each check-in question once a day, and carrying out an instruction in one.
- What it posts to the Message Board, and when.
- Acknowledging an inbox note only after acting on it.
- Starting and stopping the timesheet clock on its work.
Screenshot: a decision, as a to-do assigned to you. The agent asks which of two options to take, with its recommendation, and your one-line comment is the answer.
Screenshot: a chat with the agent. You ask a question in the project chat; the agent marks it 👀 while it works and answers in the chat.
Screenshot: a check-in answer. The agent's answer to a recurring check-in question, beside the people's answers.
- 8:05 On the train, you open Basecamp. The agent has assigned you a to-do: "Merge? The invoice export fix", with what changed and its recommendation. You comment "yes".
- 8:06 The agent has your answer. It merges and comments the link on the to-do.
- 9:00 Your check-in "What's on today?" comes due, and the agent answers with its plan.
- 11:30 Between meetings, you Ping it: "Is the staging site back up?" It checks and answers in the Ping.
- 16:30 It posts an investigation report on the Message Board. You comment "go with option 2", and it starts on that.
Basecamp's own CLI can connect a Claude Code, Codex or Pi session to Basecamp and hand it requests. basecamp-mate uses that same CLI underneath, and is built for a different setup:
basecamp connect |
basecamp-mate | |
|---|---|---|
| Agent runtime | A Claude Code session, or Claude Code, Codex or Pi started by the connector, with one worker per request | A firstmate home that runs a crew of agents |
| Runs on | Linux and macOS | Linux |
| How the agent signs in | A Basecamp agent connection (or a bot user's login) | An ordinary Basecamp person you invite |
| What it needs from Basecamp | The account event feed, and an agent connection or a bot user | The agent's own login |
| How fast it hears you | Seconds | About 30 seconds |
| While your computer is off | Requests that arrive are not picked up later | It catches up on them when it is back |
| Where requests are delivered | Handed to a live session, or to a worker the connector starts | Written into the firstmate home (pending-comments.jsonl, and opt-in inbox notes that stay until acknowledged) |
| Scheduled and repeating to-dos | Handed over when assigned | Relayed when assigned with the due date and repeat rule; the next occurrence of a repeating to-do is found and relayed |
| Check-in questions | — | Relayed to the agent as they come due |
| Backlog as cards, timesheets | — | Opt-in |
Not using firstmate? Use basecamp connect.
The biggest difference is catching up after downtime. basecamp connect listens to the
account event feed, which its own docs call "not guaranteed delivery": anything that arrived
before the connector started is dropped. basecamp-mate reads the agent's own Basecamp
notifications (/my/readings.json and /my/boosts.json), which wait until they are read,
and runs hourly repair sweeps. So nothing you send while the computer is off or asleep is
lost; the agent picks it up when the computer is back.
In a live test on 2026-10-04, the same owner actions showed up as notifications in 0.5 to
11 seconds (polling every 10 seconds) and in the event feed in 31 to 40 seconds. Partway
through, Basecamp refused the event-feed reader's saved position, and a comment posted after
that never reached it; the notification for that comment arrived in 5 seconds. To be fair on
speed: basecamp connect now uses a newer live stream that is faster than that, and faster
than basecamp-mate's 30-second check.
The second difference is where a request goes once it is read. basecamp connect hands
each request to a live agent session (or to a worker it starts itself); its in-progress
session queue adds a queue on that
side, though requests made while the connector itself is down still are not picked up.
basecamp-mate writes each request into the firstmate home: always to
pending-comments.jsonl, and, with inbox notes on (init --inbox), as a note in the
home's firstmate inbox, routed to the home that config names. A note stays in the inbox
until it is acknowledged, so if the agent session crashes or is stopped, the request
waits there for the next session; the optional session alert tells you
in chat when notes have waited with no session running.
The goal is to retire basecamp-mate once basecamp connect is as reliable, including
catching up on what arrived while the computer was off, and to move to it then.
You need a Linux computer where your firstmate agent runs, and a Basecamp project. Open a terminal and run:
git clone https://github.com/calebl/basecamp-mate.git
basecamp-mate/bin/basecamp-mate setupSetup walks you through everything, one question at a time:
- It checks for what it needs and offers to install the Basecamp command-line tool if it is missing. basecamp-mate needs version 0.12.0 or newer (the first with subtasks); setup stops on an older one and says how to update it.
- It asks where your firstmate home is.
- It signs the agent in to Basecamp: you open a link and type a code. Sign in as the agent's own Basecamp person (invite one to your project first, with an email you control), not as yourself. More on the agent's account.
- It lists your projects; pick one by its number. Then pick yourself from the people on it.
- It asks a few yes/no questions. Press Enter to take the suggested answer: the agent reads your chat questions, asks you for decisions as to-dos and answers check-ins. It reads its own Basecamp notifications every 30 seconds, so it notices what you write to it within about half a minute. Card tables, release announcements, Message Board reports and Pings stay off unless you say yes. The agent listens only to you on a personal account, and to you and everyone in your company on a team account (only you decide); anyone else who @mentions, Pings or assigns it never reaches it, and gets a short automatic reply instead. The summary says which; see People the sync listens to to change either.
- It turns on what the project needs, starts the background services, runs one test sync and tells you what is on.
To change your answers later, run setup again. If something stops working, run:
basecamp-mate/bin/basecamp-mate doctorIt checks each piece (the Basecamp tool, the sign-in, the project, the card tables, the background services, the last sync, the agent's wake-up) and prints each problem in plain words with the exact fix.
A background timer runs the sync every 30 seconds. It reads the agent's own Basecamp
notifications, picks out what someone it listens to wrote for the agent, and hands each one
to the agent as a short note. The agent answers with the sync's commands (sync.py reply,
sync.py todo create, sync.py answer and the rest), which post where the question was
asked. The sync makes no model calls and decides nothing on the agent's behalf: how the
agent works with Basecamp is a defaults file in its home that you change by asking it.
How it works has the full list of tools and behaviors.
basecamp-mate connects a firstmate home: a directory on your computer where a firstmate
agent keeps its backlog, its state and an inbox of notes. By default the sync appends what it
reads to pending-comments.jsonl in the home, and a wake check wakes the agent when that
file grows. Inbox notes are opt-in (setup asks, and suggests no; init --inbox): with them
on, the sync also delivers each new record as a note in the firstmate inbox, and the wake
check then watches only for failed runs. The agent learns how to use the sync
from skills/basecamp-sync/SKILL.md and the
base prompt.
- How it works: the two layers, every tool and command, and every behavior with its config key, setup flag and timer.
- People the sync listens to: the captain, operators, participants, and the automatic reply to blocked senders.
- Notifications: how the agent hears you within half a minute, followed threads, boosts, unmonitored input and mentions anywhere in the account.
- Pings: direct messages to the agent.
- To-do requests: to-dos, cards and card steps assigned to the agent, scheduled and repeating to-dos.
- Card mirror: the backlog as cards, and how the backlog is read.
- Relay ledger and stats: what was relayed, what came of it, and
sync.py stats. - Timesheets: the agent's active time on each to-do or card.
- Safety bounds: exactly what the sync reads and writes, and the rules behind chat, check-ins, decision to-dos, reports, releases, advisories and backups.
- One home per project and login: how two homes are kept from
relaying the same thing twice, and
basecamp-mate status. - Setup, doctor and the agent skill:
sync.py initand its flags, guided setup,doctor, the base prompt and the workflow defaults. - Config and state: every config key and every state file.
- Running the sync: a run by hand, the login renewal, a dedicated Basecamp user and a systemd timer by hand.
- Pending records: the fields of every record handed to the agent.
- A Basecamp account for the agent: giving the agent its own Basecamp user.
- Tests: what each test file covers.
python3 -m unittest discover -s tests -vThe tests stub every command-line tool and make no network calls; Tests lists what each file covers.
MIT. See LICENSE.
Formerly firstmate-basecamp-sync; the old URL redirects, and existing installs keep working unchanged (same skill, config keys and systemd unit names).