t3-autopilot

v0.2.0
t3-autopilot Checked 2 days ago Published 12 days ago

MCP server that recommends the agent or provider, model and reasoning effort for each child task an orchestrator delegates in T3 Code, Orca or herdr, from a…

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

recommend_model Recommend a model for delegate_task

Call before every child task, including ones you would start with your native subagent tool. Returns 1-3 candidates, best first; pass a candidate's providerInstanceId, model and options as delegate_task.target (sameAsOrchestrator: true means your native subagent tool also works). If the first cannot start because of a usage limit or its plan, call mark_unavailable and use the next. Always pass taskType, one of: - review: Independent review of code, a PR, a plan or a document. - debug: Find and fix a bug, a failing test or a crash. - plan: Architecture, design docs, breaking work down. - resear…

ParameterTypeDescription
task *stringOne line describing what the child will do.
capabilitiesThe complete output of T3 Code's orchestrator_capabilities, exactly as returned and never trimmed (object, JSON string, providers array, or a list of outputs). Needed on the first call; later calls re…
criticalitystringHow costly a mistake is. Shifts effort.
hoststringThe host you run in: t3 (T3 Code), herdr, orca. Default: the host whose output `capabilities` is, else the host of this server's last call, else t3. Outside T3 Code the result says `host` and each can…
mergeCapabilitiesbooleanMerge `capabilities` into the ones kept from earlier calls (use it for orchestrator_capabilities `search` output).
orchestratorobjectOutside T3 Code (herdr, Orca): your own agent, as your host names it (claude, codex, cursor-agent...), and the model and options you run with. It says which candidates are yourself (sameAsOrchestrator…
sessionstringYour orchestrator session's id (in T3 Code, the parentThreadId of orchestrator_capabilities). The capabilities are kept per session, so after a server restart a call with it gets its own back, never a…
sizestringRough size of the task. Shifts effort.
taskTypestringTask type from the list in the description. Pass it; the keyword classifier is only a last resort. Common synonyms (implementation, fix, docs, ...) are accepted; the result's taskType is the type used…
usagearrayOptional usage percentages per provider instance, if you know them (e.g. from /usage-limits).

log_delegation Log a delegation

Optional. Record a delegate_task you just made; returns a delegationId to pass to log_outcome later. log_outcome also works without it.

ParameterTypeDescription
model *string
providerInstanceId *string
taskType *string
childThreadIdstring
hoststringThe host you run in: t3 (T3 Code), herdr, orca. Default: the host of this server's last recommend_model call, else t3.
optionsarray
recommendedRank1-based rank of the recommend_model candidate you used; null if you chose something else.
summarystringShort task summary (kept to 200 characters). Avoid secrets.

log_outcome Log the outcome of a delegation

Call after reviewing a child's result. Pass delegationId (from log_delegation) or taskType + providerInstanceId + model. outcome: success (accepted as is), corrected (needed fixes) or failure.

ParameterTypeDescription
outcome *string
delegationIdstring
hoststringThe host you run in: t3 (T3 Code), herdr, orca. Default: the host of this server's last recommend_model call, else t3.
modelstring
notestringShort note (kept to 200 characters). Avoid secrets.
providerInstanceIdstring
taskTypestring

mark_unavailable Mark a provider or model unavailable

Call when a child cannot start, or stops at once, because of a usage limit or its plan (for example "not included in your weekly usage"). Until `until` (by default the quotaWindow of the provider's subscription profile, 5h, weekly or monthly, else 24 h from now), recommend_model moves that provider instance, or only that model, after every other candidate except models that cost extra on their plan (those go after it), and gives the reason. Not for poor results: those are log_outcome failure. clear: true removes marks instead.

ParameterTypeDescription
providerInstanceId *string
clearbooleanRemove the marks of this provider instance (only this model's when model is given).
hoststringThe host you run in: t3 (T3 Code), herdr, orca. Default: the host of this server's last recommend_model call, else t3.
modelstringModel id, or a prefix ending in * for every model id that starts with it (e.g. "opencode-go/*" for one plan's models inside a provider instance). Omit it when the whole provider instance is unavailabl…
reasonstringWhat failed, briefly (kept to 200 characters). Required unless clear is true.
untilstringISO date when it should work again (for example the resetsAt of the usage window). Default: the quotaWindow of the provider's subscription profile (or of its quotaPool), else 24 h from now.

set_subscription Save a provider's subscription profile

Save what the user told you about the plan behind a provider instance, usually after recommend_model returned setupNeeded. Replaces that provider's whole profile (pass every field to keep; get_subscriptions shows it); remove: true deletes it. recommend_model then ranks and filters with it: a tight quota or the experimental role keeps a provider for families the user has nowhere else and for tasks that are neither large nor highly critical; models billed apart (paidFamilies, or not in includedFamilies) and anything outside onlyFamilies, avoidFamilies or onlyTaskTypes are used only when nothing…

ParameterTypeDescription
providerInstanceId *stringProvider instance id, as in orchestrator_capabilities.
avoidFamiliesarrayNever use these policy families on this provider.
hoststringThe host you run in: t3 (T3 Code), herdr, orca. Default: the host of this server's last recommend_model call, else t3.
includedFamiliesarrayPolicy families the plan covers; every other family is billed apart.
onlyFamiliesarrayUse this provider only for these policy families.
onlyTaskTypesarrayUse this provider only for these task types.
paidFamiliesarrayPolicy families billed apart from the plan (API prices, prepaid credit).
planstringThe plan in the user's words, e.g. "Claude Max", "OpenCode Go". Required unless remove.
purposestringWhat the user wants it for, in their words (300 characters at most).
quotastringgenerous (rarely hits the limit), standard, or tight (runs out quickly). Required unless remove.
quotaPoolstringSame name on every provider instance that shares one quota (one plan for several apps).
quotaWindowstringHow often the plan's limit resets: 5h, weekly or monthly. Sets how long mark_unavailable lasts.
removebooleanDelete this provider's profile instead (takes no other field).
rolestringprimary (any task; the default), secondary (after primary ones), experimental (only what its rules allow, like a tight quota) or lastResort (after every other candidate).

get_subscriptions Read the subscription profiles

The saved subscription profiles by provider instance, and `missing`: providers of the last orchestrator_capabilities output that have none (null if no capabilities are kept).

ParameterTypeDescription
hoststringThe host you run in: t3 (T3 Code), herdr, orca. Default: the host of this server's last recommend_model call, else t3.

get_stats Delegation statistics

Summary of the local delegation log by task type and model: counts, outcomes and success rate; also the mark_unavailable marks in force.

ParameterTypeDescription
hoststringOnly this host's records and marks: t3 (T3 Code), herdr, orca. Default: every host's.
sincestringISO date (YYYY-MM-DD or full timestamp); only records from then on.
taskTypestringOnly this task type.