ask is a small CLI for holding persistent discussions between you, Codex CLI, Claude Code and GitHub Copilot CLI.
You decide which model speaks and when. Each model sees the whole discussion so far, so it can agree, disagree or revise its view. Discussions are saved as Markdown files.
- Node.js 24 or later
codex,claudeand/orcopilotinstalled and logged in
npm install
npm link # builds and puts `ask` on your PATHask new "Should we introduce Qdrant?"
ask codex # Codex answers
ask claude # Claude responds, seeing Codex's answer
ask codex "Focus on the performance implications"
ask add "What if we only use it for file discovery?"
ask claude
ask codex -m gpt-6.2-sol # a specific model; saved as codex/gpt-6.2-sol
ask claude -m opus-5.5 "Do you agree with Codex?"
ask copilot -m gpt-6.2-sol # Copilot always needs -m
ask list # all discussions, * marks the active one
ask show # print the active discussion (or: ask show 2)
ask use 2 # switch the active discussionRun ask from the repository you want the agents to look at. They can read files there and elsewhere on disk, but can't change anything: ask starts every CLI with read-only flags. Managed (admin) configuration still applies and can't be overridden by those flags, so if your setup has any, run the agents in a sandbox or container when you need a hard guarantee.
Discussions are saved as ~/dev/tmp/1.md, 2.md, and so on, and ~/dev/tmp/.active holds the current one. You can read or edit the files directly.
npm test # run the tests
npm run typecheck # type-check src and test
npm run build # compile to dist/
# live Copilot check through ask
ASK_LIVE_COPILOT=gpt-6.2-sol node --test test/copilot.live.test.tsSee docs/specs.md and docs/plan.md for the design.