consult

v1.2.0
io.github.neelsatyavolu/consult Checked 1 hour ago Published 1 month ago

Get a second opinion on your code from every coding agent you have.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ask_agent Ask another agent

Ask another AI coding agent (Claude Code, Codex, Grok or Antigravity as "agy" with Gemini models, using the CLIs signed in on this machine) for advice: a second opinion on a design, a review of your plan, help with a bug you are stuck on. The advisor runs headless with read-only access to the working directory, so point it at files instead of pasting them. It cannot edit files or ask you questions. Calls take from several seconds to a few minutes. The reply includes a session_id: pass it back to ask a follow-up in the same conversation.

ParameterTypeDescription
agent *stringWhich CLI to consult
question *stringThe question, with enough context to answer it (file paths, what you tried, constraints)
cwdstringDirectory the advisor can read. Defaults to the directory this server was started in
effortstringReasoning effort. Omit for the CLI's default
modelstringModel for that CLI, e.g. gpt-6-astra, opus, grok-4.7, gemini-3.1-pro-high. Omit for the CLI's default; list_agents shows options
session_idstringsession_id from an earlier reply, to ask a follow-up

ask_agents Ask a panel of agents

Ask several AI coding agents the same question at once and get their answers side by side. Use it for independent opinions on a decision, or to see whether advisors agree. Advisors run in parallel, headless and read-only, exactly as with ask_agent. One advisor failing does not fail the others. Each answer has its own session_id for follow-ups through ask_agent.

ParameterTypeDescription
agents *arrayWhich CLIs to consult, e.g. ["codex", "grok"]
question *stringThe question, with enough context to answer it (file paths, what you tried, constraints)
cwdstringDirectory the advisor can read. Defaults to the directory this server was started in
effortstringReasoning effort. Omit for the CLI's default

review_changes Review my changes

Get a code review of the git changes in the working directory from one or more other AI coding agents, in parallel. By default it reviews everything not yet committed (staged, unstaged and new files); pass base (e.g. "main") to review the whole branch since it left that branch. consult collects the diff itself and sends it with review instructions, so you only choose the advisors and an optional focus. Advisors are read-only and read the surrounding code to check their findings. Prefer advisors from vendors other than your own. Each review has its own session_id for follow-ups through ask_agen…

ParameterTypeDescription
agents *arrayWhich CLIs review the changes, e.g. ["codex", "grok"]
basestringBranch or commit to compare with, e.g. main. Omit to review uncommitted changes
cwdstringDirectory the advisor can read. Defaults to the directory this server was started in
effortstringReasoning effort. Omit for the CLI's default
focusstringWhat to look at especially, e.g. "error handling in the retry path"

list_agents List agents

Show which agent CLIs are installed on this machine, their versions and the models you can pass to ask_agent.