FlightPlan
YOUR AGENTS COLLIDE. File a FlightPlan. Run multiple coding agents without them stepping on each other. FlightPlan gives each agent the same preflight picture, lets them coordinate while plans are still cheap to change, and leaves behind what changed and why for whichever agent comes next. Across sessions. Across people. Across providers. Across time. One shared picture.
README
FlightPlan
Your agents collide. File a FlightPlan.
Before work begins, each of your agents declares where it's headed and sees what's already in flight. They coordinate around conflicts, then leave behind what changed and why.
Advisory, never locking.
A byproduct of agent work, not another process to maintain.
FlightPlan coordinates coding agents before their work collides. This repo contains the CLI, MCP server, and installer for the hosted service at getflightplan.com.
Quick start
From your repo's root:
uvx getflightplan install
That installs FlightPlan for Claude Code. For Codex, append
--agent codex (or --agent both). The command is safe to re-run.
The first time on a machine, run uvx getflightplan login next — it
connects your account and finishes the MCP setup.
The hosted service is in beta; sign in with your GitHub account at
getflightplan.com. The package is on PyPI, so the
command above is all you need. To pin a branch or commit instead, install from
the source:
uvx --from git+https://github.com/sledmonkey/getflightplan getflightplan install.
Version and compatibility policy: docs/versioning.md.
How it works
- File the work. Before editing, an agent declares its task and the files it expects to touch.
- See what's in flight. FlightPlan returns overlapping active work, including uncommitted changes Git cannot see, decisions made during coding, plus relevant recent outcomes.
- Coordinate. Overlaps are advisory: narrow the work, sequence it, or proceed with context.
- Debrief. The agent records what changed, what surprised it, and what it tried so the next session does not start cold.
What the installer adds
.flightplan.toml— pins the repo name every agent posts under, plus the registry URL. Committed on purpose; no secrets.- A managed agent snippet in
CLAUDE.mdand/orAGENTS.md. /registry-digest— an on-demand "what happened lately" command.- A session-end stop hook (
.claude/hooks/flightplan_stop_hook.pyplus its settings wiring) that reminds the agent to close out open intents.
It also checks MCP registration and service reachability, and repairs the registration when the machine has a credential — no prompts. Verification is advisory and never fails the run.
To remove everything the installer wrote, run getflightplan uninstall from
the repo root (--dry-run to preview, --purge-key to also delete the saved
API key).
Logging in
getflightplan login gets a credential without a copied API key. It opens
your browser, you approve there, and the credential goes to
~/.config/flightplan/env with mode 600. The credential is never printed.
After the credential is stored, login also registers the MCP server for
the agent binaries on your machine — the step install has to skip while
the machine has no credential.
On a machine with no browser, run getflightplan login --headless. The
command shows a short code and an address. Open that address on another
device and enter the code.
getflightplan logout removes the stored credential from this machine. To
revoke it on the service, use the /devices page.
Finding your repository
After a login, the client asks the registry which repository this checkout is.
It sends the address of your origin remote and up to 1000 commit ids, which
prove that you have a clone. If your account has access, the id and the name
go into .flightplan.toml. If the registry does not know the repository, the
client offers to register it in your browser. If your account has no access,
the client offers to request it.
getflightplan login --no-register skips the check. getflightplan register
runs it on its own, later. A failed check never fails a login.
Saying that work has landed
An intent completed with uncommitted: true says the work is in someone's
working tree and nowhere else. The registry cannot see your tree, so it keeps
warning everyone who touches those paths until it is told the work landed.
Agents do this with the mark_intent_landed tool. You can do it by hand:
getflightplan landed <intent-id> --commit <sha> --commit <sha>
The commits are optional; the timestamp is the correction. Pass the SHAs only if you know them — the client never guesses which commits belong to an intent. Landing can be repeated safely and never rewrites the completed record.
Configuration
FLIGHTPLAN_URL—https://api.getflightplan.comFLIGHTPLAN_API_KEY— your key (the MCP server's env; the stop hook also reads~/.config/flightplan/env)..flightplan.toml— the per-repo pin: areponame andurl, or atarget_idwith a readablenameonce the repo has an id pinned.
What your agent is told
The installer adds the following managed contract with your repo name pinned.
<details> <summary>View the agent instructions</summary>
Intent registry
This repo participates in the team intent registry (MCP server: flightplan).
- Before starting non-trivial work, call
post_intent. The test: will the work change behavior, defaults, or contracts another agent would encounter — or, for pure investigation, would the findings save the next agent an hour? Yes to either → post; Q&A and typo-level fixes, no. Send a one-paragraph summary (what + why),kind(build, orexplore/spikefor throwaway investigation), andtouchesglobs for the areas you expect to change. Keep the returned id for later. Forrepo, use the basename of the git origin remote (or the repo root directory name if there is no remote) — every agent on this repo must use the same name or collision checks silently miss each other. The response may includecontext: recent completed work relevant to your task — read those outcomes before starting; the surprises and dead ends in them are load-bearing. - If the response includes overlaps at level
warn, check what the overlap is before pausing. Two cases need no confirmation — mention the overlap and keep going: the overlapping intent is the very work you were asked to act on (reviewing it, verifying it, following up on it), or your task is read-only. Otherwise, tell your user who is doing what and which globs collide, and ask how to proceed before continuing.fyi/nudgelevels: mention briefly and keep going. - If the work changes shape or runs long, call
update_intent: revise the summary/touches when scope grows (collision checks run against them — stale globs miss real collisions), or call with just the id to renew the TTL on work spanning more than a day. The response includes freshoverlaps— the same collision check as posting, glob-based — and awarnthere gets the same treatment as awarnat post time. - When the work finishes or is abandoned — including when the session is
wrapping up — call
complete_intentwith a one-paragraph outcome: what actually changed, anything surprising, approaches tried and rejected, anything deliberately left in place. If awarnoverlap changed how the work went (coordinated, narrowed scope, proceeded anyway), say which. Attach the git facts you already know:filesactually changed (git diff --name-only),commitscreated, anduncommitted: trueif any of the work is not yet committed — that flag is what lets other agents' collision checks warn loudly instead of quietly. Completing an intent ends the slice, not the session: follow-up work after a complete that changes behavior, defaults, or contracts gets a fresh post — "same session" doesn't exempt it. - When you learn declared-uncommitted work has landed, call
mark_intent_landedwith that intent's id (and the commit SHAs if you know them): until someone says so, the registry keeps warning everyone who touches those paths. - Re-check for collisions whenever your picture of in-flight work may be
stale — posting checks once, and it goes stale over a long session.
Re-check moments: a file changed between your read and your edit, or an Edit
fails on text you just read — someone's work landed under you; before editing
a shared doc or artifact you didn't create this session; when resuming after
a handoff from another agent; and before touching files named in an earlier
warn. The cheapest re-check isupdate_intentwith just your intent id (renews the TTL, returns freshoverlaps); uselist_intents(passoverlapsglobs, plussummaryfor a semantic check, orq/sincefor history) when you have no open intent or are scoping new work. - When a decision gets resolved in conversation (an approach chosen, an
alternative rejected, a direction set), record it the moment it settles:
post_intentwithkind: "decision", the question as the summary, and the resolution inoutcome— what was decided, what was rejected, and why. One call; no touches, no completion later. Decisions never collide and become searchable team memory. Decisions are also the correction mechanism: completed outcomes are immutable, so if one later proves wrong, post a decision citing what actually held. - The registry is advisory and must never block work: if its tools are missing
or error, proceed with the work, and tell your user once that they can run
uvx getflightplan install(see getflightplan.com) to join this repo's registry.
</details>
Data
What leaves your machine is the coordination record: intent summaries and outcome paragraphs, glob patterns, changed-file paths, branch names, and commit ids — sent only to the FlightPlan service. Source code contents are never uploaded. Everything the registry knows, it learns as a byproduct of your agents' work.
The details — what never leaves, and what is stored where — are in docs/data-flow.md. Vulnerability reporting: SECURITY.md.
License
Apache-2.0
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。