mcp

v2.244.0
@agentistics/mcp Checked 4 hours ago Published 19 hours ago

Agentistics MCP server — Claude Code analytics for Claude Desktop and Claude Code

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

agentistics_tasks

List every task on the ALM board with its rollup (cost, rounds, sessions used, tokens) plus a board-wide overview: tasks in flight, delivered, average cost per task and per task, top models and harnesses. START HERE to see what work exists and what the other assistants are on.

agentistics_task

Open ONE task: its attempts (one per configuration tried), the sessions filed under it with their live state, its comments, subtasks, files, links and full metrics (models, harnesses, agent runs, tokens, delivery time). Comments come twice: `comments` (flat, oldest first, each with `subtaskId` when it was left on a subtask or group) and `commentThreads` — the same comments grouped by their OWN target (`target: {kind: 'task'|'group'|'subtask', id, title}`; the task first, empty targets omitted). `ref` is the task id or its exact title.

ParameterTypeDescription
ref *stringTask id or exact title.

agentistics_task_create

Create a task. A title is required; a description is optional. Set `priority` (urgent | high | medium | low — default low, and nobody chose a default) and `type` (an id from agentistics_task_types) when you know them: a board of defaults orders nothing. Creating a title that already exists returns the existing task rather than a duplicate (its priority and type are left alone — use agentistics_task_edit), so this is safe to call before filing work under a name you are not sure exists.

ParameterTypeDescription
title *string
detailstring
dueDatestringyyyy-mm-dd. Omit it and the server ESTIMATES one (flagged dueEstimated, said in the reply) — pass it to fix the day.
prioritystringDefaults to low. Decides the order of the queue and of the Live delivery line.
typestringA type id from agentistics_task_types (an unknown one is dropped).

agentistics_task_status

Move a task to a status. The status VOCABULARY is an editable list now, not a fixed set — call agentistics_task_statuses first if you are unsure what this board currently has; a fresh board starts with exactly `todo`, `in_progress`, `blocked` and `done`. Only `done` stamps a task and closes rounds-to-delivery; `abandoned` (when the board has it) records that the work was given up on, which is a real outcome and not a failure to report — but it is NOT created by default, so use agentistics_task_status_edit to add it (or any other status) first if it is missing. **`blocked` REQUIRES a `reaso…

ParameterTypeDescription
ref *string
status *stringA status id this board currently has — call agentistics_task_statuses to see the live list. The four every board starts with are todo | in_progress | blocked | done.
actorstring
allowOpenSubtasksbooleanExplicitly move a parent to in_review despite open top-level subtasks, after inspecting the open_subtasks refusal. Default false.
blockedByarrayTask ids that must finish first — the other way to answer 'blocked on what'.
reasonstringWhy it is blocked, in your own words. Required by `blocked` unless you pass `blockedBy`.

agentistics_task_statuses

List every status this board currently has (id, label, color, and whether it is protected — todo/in_progress/blocked/done can never be deleted or have their id changed, but their label and color can). Call this before agentistics_task_status if you are not sure a status you want to move a task to actually exists.

agentistics_task_types

List the task TYPE vocabulary (id, label, color, order, usageCount). A type is a second classification beside the status (e.g. CORE); a task may carry one or none. Call this before setting `type` through agentistics_task_edit.

agentistics_task_type_edit

Add, rename/recolor, or delete a task type. Pass `label` (and optional `color`, a `#rrggbb` hex string) alone to CREATE a type — its id is derived from the label. Pass `id` with `label` and/or `color` to EDIT. Pass `id` with `remove: true` to DELETE: refused (422, `in_use`, with `usageCount`) while any task still carries it.

ParameterTypeDescription
colorstring#rrggbb
idstringRequired to edit or delete; omit to create.
labelstring
removeboolean

agentistics_task_status_edit

Add, rename/recolor, or delete a status. Pass `label` (and optional `color`, a `#rrggbb` hex string) alone to CREATE a new, non-protected status — its id is derived from the label and returned. Pass `id` with `label` and/or `color` to EDIT an existing status's label/color — works on a protected one too, only its id can never change. Pass `id` with `remove: true` to DELETE it: refused (422, `protected`) for todo/in_progress/blocked/done regardless of usage, and refused (422, `in_use`, with `usageCount`) for any other status still referenced by at least one task or subtask.

ParameterTypeDescription
colorstringA #rrggbb hex string.
idstringRequired to edit or delete; omit to create.
labelstring
removeboolean

agentistics_task_comment

Leave a comment on a task — or on ONE of its subtasks or subtask GROUPS by passing `subtaskId` (a group's own id is allowed; omit it to comment on the task itself). `body` may be empty when `attachments` is given. Comments carry attachments as REFERENCES into the chat's own attachment store (`{name, path}`; agentistics_task returns them on each comment with a `url` that serves the file) — there is no second store. Use it to tell the person and the other assistants what you did, what you found, or what you are blocked on; comment where the work is (the subtask you are on) rather than on the…

ParameterTypeDescription
ref *string
attachmentsarrayOptional files left with the comment, as {name, path} references to files already in agentop's attachments directory (the path the chat upload returns). Paths outside it are dropped. At most 10.
authorstring
bodystring
kindstringOptional tag on THIS comment: a handback (you delivered something) or a block (you are stuck on something). Omit for a plain note.
subtaskIdstringOptional target: a subtask or subtask GROUP id of this task (from agentistics_task's `subtasks`). Omit for the task itself.
threadIdstringOptional: post INTO this thread (an id from agentistics_task's `threads`). Reply in the thread the person or another session already opened about this.
threadKindstringThe kind of the thread opened with `threadTitle`. Default handback.
threadTitlestringOptional: OPEN a new thread with this title and post the comment as its first message. Sessions may open threads ONLY for a handback or a block (`threadKind`).

agentistics_task_subtask

Joining a staged subtask to a group folds its queued delivery and brief into the group, keeping one queue card and an audit reason. Add a subtask, or change one. Pass `title` to add (with `dueDate` yyyy-mm-dd; omit it and the server ESTIMATES one, flags it `dueEstimated` and says so in the reply — pass `dueDate` to fix it); pass `id` with `done`, `status`, `dueDate`, `startDate`, `blockedBy` or `parentGroupId` to edit one. `startedAt`/`deliveredAt` are system-stamped facts (when real work began / when this piece reached `done`) and are never set through this tool — they are read back on th…

ParameterTypeDescription
ref *string
blockedByarrayFull replacement list of SIBLING subtask ids (same parent task) that must be done before this one. Requires `id` — a subtask being created has no siblings to name yet.
dismissPlaceholderbooleanWith `id`: dismiss a PLACEHOLDER the guard sweep restored after a raw delete (its title says "restored by the guard sweep"). Only the task leader or the owner may; it is NOT a general remove — a rea…
donebooleanSend with `id` to tick (true -> status `done`) or untick (false -> `todo`). Alone it is the fast path; together with named fields (title, dates, status, parentGroupId, …) it is applied in the SAME e…
dueDatestring
idstring
isGroupbooleanCreate this subtask as a GROUP instead of an ordinary subtask. Only meaningful together with `title` (creation) — a group's shape cannot be changed afterwards.
parentGroupIdstringJoin this subtask (named by `id`) to the group whose id this names — a group of the SAME parent task. Pass an empty string to leave the current group. Refused (422, `invalid_group`) if the id is not…
startDatestring
statusstringA status id this board currently has — call agentistics_task_statuses for the live list (the vocabulary is editable, so it is NOT fixed here). The four every board starts with are todo | in_progress…
titlestring

agentistics_task_blocked_by

Set which tasks must finish before this one can proceed. Pass the full list of blocker task ids (it replaces, it does not append). A task cannot block itself.

ParameterTypeDescription
blockedBy *array
ref *string

agentistics_task_next

THE ORCHESTRATION CALL: what you can pick up right now. Returns the tasks that are open, not blocked by unfinished work, and not in another agent's hands — most urgent first, numbered from 1. It also returns `withheld`, every task that is NOT available with the reason (closed / blocked / claimed / status), because an agent told 'nothing' learns nothing; and `progress`, which separates 'it is all done' from 'everything is in somebody's hands right now'. Pass `actor` (who you are) so a task you already hold comes back as available to you rather than as taken.

ParameterTypeDescription
actorstringWho is asking, e.g. 'claude:3f5f'.
limitnumber

agentistics_task_claim

TAKE a task before working on it, so two agents cannot do the same one twice. This is a LEASE, not a lock: it expires (default 30 minutes) and the task returns to the board on its own, so an agent that dies does not hold work forever. Re-claiming as the same `by` REFRESHES the lease — do that while you are still working. Pass `release: true` to give it back when you finish or stop. A refusal names who holds it and until when; `takeover` is for a person overriding a live claim on purpose and an agent should not send it.

ParameterTypeDescription
by *stringWho you are. Free text, e.g. 'claude:3f5f'.
ref *string
forcebooleanRelease a claim you do not hold.
leaseMsnumberHow long the claim lasts. Default 30 minutes.
notestring
releaseboolean
sessionIdstringThe managed session doing the work, if any.
takeoverboolean

agentistics_task_activity

What has been HAPPENING, newest first — status moves, claims, releases, priority changes, sessions filed. Pass `ref` for one task, or nothing for the whole board. On a board several agents drive this is how you find out what the others did without asking them.

ParameterTypeDescription
limitnumber
refstring

agentistics_live_delivery

What is being DELIVERED right now — the Live Delivery line, the same source as the screen. Use it to answer "what is running", "when does X ship" and "is anything stalled". Returns a `summary` (active deliveries, agents working, stalled, the next delivery with an estimate), the active `deliveries` with their stage (queue, running, qa, adjust, leader, merge, published), the agents on each (harness, model, account, live state), time in the stage and in total, the step inside the stage (`step`, with `stepSource` = `reported` or `signals` and `stepSignal` naming the observed fact — null `step`…

ParameterTypeDescription
periodstringHow far back Publicado reaches. Default 24h.
sortstringOrder within each stage. Default priority (highest first, ties by longest in the stage).
stagestring
stalledOnlybooleanOnly deliveries that need a person, lost an agent or are blocked.
tabstringThe screen's tab: active (Em andamento), queue (Na fila), published (Publicado) or all (Tudo). Default all.
taskstringA task id or part of its title.

agentistics_task_edit

Set a task's fields: `title`, `detail`, `priority` (urgent | high | medium | low), `type` (an id from agentistics_task_types; empty string clears it), `dueDate` / `startDate` (yyyy-mm-dd), `labels`, `repo` (the task's repository — a SESSION CANNOT SET IT: it is refused with 403 repo_person_only; only the person sets it, from the task screen. Ask the person; subtasks carry no repo). An absent field is left alone; an EMPTY STRING clears it. `priority` defaults to `low`; a legacy `none` is stored as `low`. `startedAt`/`deliveredAt` are system-stamped facts and are never set through this tool. P…

ParameterTypeDescription
ref *string
actorstring
detailstring
dueDatestring
labelsarray
prioritystring
repostringowner/name, host/owner/name or a git URL; empty string clears it.
startDatestring
titlestring
typestringA task type id (see agentistics_task_types); empty string clears it.

agentistics_task_session

File a SESSION under a task, which is what makes the task measurable: its cost, tokens, rounds and harness all come from the sessions filed under it. Pass `subtaskId` to file it under one of the task's subtasks (the unit of WORK, for a task broken into steps) — this INCLUDES a subtask GROUP (see agentistics_task_subtask's `isGroup`), which holds a session exactly like any other subtask; omit `subtaskId` to file the session directly on the task itself (the unit of DELIVERY) — **only LEADER sessions may be filed on the task itself; a worker is refused (422, `leader_only`: only leader session…

ParameterTypeDescription
conversationIdstringA HISTORICAL conversation id (in the metrics store, no live/registry row) to file instead of a `sessionId`. Refused `conversation_in_fleet` if a row exists for it — use that row's id as `sessionId`.
detachstringA session id to unfile — or a historical conversation id (or `hist:<id>`) to drop its link.
harnessstringScope to one harness (claude | codex | gemini | copilot | antigravity | kimi | opencode | hermes), or 'all' (default) for the unified view across every harness.
notestringOnly with `conversationId`: a free-text note kept on the link (why it was filed here).
refstring
sessionIdstring
subtaskIdstringThe subtask to file it under. Optional — omit to file the session directly on the task itself.

agentistics_task_delete

Delete a task and its comments, subtasks, files and links. The SESSIONS filed under it are kept — deleting a board entry never deletes work.

ParameterTypeDescription
ref *string

agentistics_delivery_calendar

BETA. The DELIVERY CALENDAR — when each piece of work started, when it is expected to ship, which release version it rides and when a version really went out; the same source and rules as the "Calendário de entregas" screen (`agentop flow calendario` prints the same). Returns `pieces` (task, subtask, `groupId`/`groupTitle` = the group subtask it sits under when it is a member of one (the task → group → subtask tree of the Cronograma), stage, `version`, harness/model, priority, `startedAtMs`, `stageEta` and `publishEta` — `kind: none` means there is NO estimate: say so, never invent a…

ParameterTypeDescription
allbooleanInclude pieces of tasks not being worked on now (history).
confirmedOnlybooleanOnly published pieces or those with a medium/high-confidence estimate.
formatstring
fromstringStart of the period: yyyy-MM-dd (BRT) or an ISO instant.
harnessstringScope to one harness (claude | codex | gemini | copilot | antigravity | kimi | opencode | hermes), or 'all' (default) for the unified view across every harness.
priorityurgent, high, medium, low.
stagequeue, blocked, running, qa, adjust, leader, merge, ci, published — one or a list.
subtaskstringA subtask id.
taskstringA task id or part of its title.
tostringEnd of the period (inclusive).
versionA release version (2.202.0) or a list.

agentistics_task_phase

FLUXO.CICLO-COMPLETO — the minute `tick` also moves a piece in revisao_lider or pr_merge to ci BY ITSELF once its PR is merged (found from the piece's PR number, branch, the PR containing the sha QA approved, or its author worktree's branch; the merge gates `delecoes` + `mergeado` still run, and a refusal leaves the piece where it is with the reason), publishes ci pieces from the FIRST tag that contains the merge, and reminds the LIVE leader of the task (never the owner) of a piece waiting on them for 30 min, then every 2 h, at most 3 times. `get` with a `subtaskId` returns `tickReason`: why…

ParameterTypeDescription
actionstring
allbooleanantigas: act on every old piece in the group "Antigas sem registro" (answers from the board at once; a piece the last reconcile proved is left out)
antigasActionstringantigas: 'conclude' (the screen's one click) completes the pieces with a session and archives the ones without; add `preview` to read the counts without changing anything. 'publish' marks the old reco…
applybooleanreconcile: write the moves (a leader of the task, or the owner). Absent/false = dry run: the report only
decisionstring
detailstring
expectnumberantigas: the size of the group you saw; a different size refuses (409 count_changed) and nothing changes
findingsstring
headstringclassify: the commit (7–40 hex) the LEADER names as where to look; it must exist and be reachable from a remote branch. The server derives the category from its diff — you never supply it
mergeShastringrelease: the commit on main that carries the release (information only: stored on the record; a short sha is resolved to 40 characters or refused). The publication evidence is the version tag's own gr…
namestring
notestring
patchobject
phasestringapprove: the phase whose human gate is answered
previewbooleanantigas conclude: only count what the click would do (concluded vs archived); changes nothing
reasonstringdequeue: required free-text audit reason (leader only); block: dependencia | pedido_de_bloqueio | limite | maquina | externo | fora_das_autorizacoes; antigas archive: why (kept in the comment)
repostringclassify: the repository (path or remote) to look in. release: the repository owner/name the release belongs to (default agentistics/agentistics); recorded on every piece, the release gate reads it th…
reviewedShastring
stepnumber
subtaskIdstring
subtaskIdsarrayrelease: every subtask in the release
textstring
tostring
verdictstring
versionstringrelease: the version the pieces shipped in, x.y.z

agentistics_task_stage

Placement is deterministic: a queued piece of the same task sharing a file, area tag or UI surface is returned as an `encaixe` warning so you can extend that brief or group the pieces. Withdrawn pieces are excluded. FLUXO.ENTREGA-DSL pre-dispatch — write the STAGED SESSION on a subtask (prompt/brief, harness, model, effort, account, cwd) and open its delivery in `fila` ("Na fila"). A leader receiving a request from the owner stages it in the SAME turn: the demand flow reminds the leader (never the owner) after 10 minutes of an owner request with no staged subtask. The fields merge over what…

ParameterTypeDescription
subtaskId *string
accountstring
cwdstring
effortstring
harnessstringScope to one harness (claude | codex | gemini | copilot | antigravity | kimi | opencode | hermes), or 'all' (default) for the unified view across every harness.
modelstring
pedidoIdstring
promptstring
versionTargetstring

agentistics_task_evidence

ENTREGA.GARANTIDA — attach, list or remove the EVIDENCE a piece needs before it can move to review (the server decides what is enough; you never supply a hash, a time or a commit — it computes them). `ref` = the TASK id; `subtaskId` = the piece (omit for a task-level piece). `action`: `add` (default) | `list` | `remove`. `add` needs `kind` = screenshot | api-capture | test-log | report | probe and ONE payload: `filePath` (a file in your worktree, uploaded — 8 MB cap), `fileId` (a TaskFile of this task), `repoRef` {repo, sha, path} (a `report` pushed to a remote branch) or `probe` (http |…

ParameterTypeDescription
ref *stringThe task id the piece belongs to.
actionstring
evidenceIdstringremove: the evidence item id (ev-…).
fileIdstringAn existing TaskFile of this task.
filePathstringA file in your worktree to upload (max 8 MB).
kindstring
namestringOptional display name for an uploaded file.
probeobjectprobe only: { kind: http|bundle|cli|structural, … } — the closed shapes of the spec; no extra fields.
repoRefobjectreport only: { repo: path|remote, sha: 40-hex, path } — the file must exist at that commit, which must be on a remote branch.
subtaskIdstringThe piece (a subtask of the task). Omit for a task-level piece.

agentistics_task_criteria

ACCEPTANCE CRITERIA of a task or one of its subtasks (B.2). A piece with an open criterion is REFUSED `done` (422 `criteria_open`, with `openCriteria` keys) and a piece with an open test/evidence/print criterion is REFUSED review (422 `criteria_unverified`, with `missing`) — on every door, including the parent auto-deliver. `ref` = the TASK id; `subtaskId` = the piece (omit for the task's own, delivery-level criteria). `action`: `list` (default) | `add` (`key` AC-n, `text` a testable sentence, `verify` {kind: test|evidence|print|manual, ref?}, `reqKeys`) | `edit` (a text change re-opens it)…

ParameterTypeDescription
ref *stringThe task id.
actionstring
evidenceIdsarraymet/fail: evidence item ids (ev-…) of this piece.
keystringThe criterion key, e.g. AC-3 (unique per task).
reasonstringfail/waive (required), reopen (optional).
reqKeysarrayadd: the requirement keys it covers (R-n).
subtaskIdstringThe piece (a subtask of the task). Omit for the task's own criteria.
textstringadd/edit: a testable sentence.
verifyobjectadd/edit: { kind: test|evidence|print|manual, ref?: test name / evidence kind / viewport list }

agentistics_task_queue

FILA.PRIORIDADE — read the delivery QUEUE ("Na fila") exactly as the task page's Fila tab shows it, from the same source, in the order pieces LEAVE: the task's priority (urgent → low), then arrival. Each item: `position` (in its task) and `globalPosition`, `priority`, the subtask/group (with `group.members`), the full PRE-DISPATCH (`predispatch`: harness, model, effort, account and its name, cwd, prompt), the slot gate's last verdict (`slot`; ok=false carries the raw reason such as `no slot: 4 workers running (machine ceiling 4)`), `hold` (the leader said `nao <motivo>` or `agendar <ISO> <…

ParameterTypeDescription
taskIdstringOnly this task's queued pieces. Omit for every task.

agentistics_task_queue_answer

FILA.PRIORIDADE — answer the queue's SYSTEM QUESTION (the message headed `[from flow fila · confirmar]` that arrives in a leader's composer when a slot opens and its piece is next), or act on a queued piece from the Fila tab. Leader of the task or owner only. `answer` is one of: `sim` (open the session now — if no slot is free right now the approval is kept and the next tick starts it; never opens twice), `nao <motivo>` (the piece stays queued with the reason on its card; the flow moves on to the next one), `agendar <ISO> <motivo>` (stays queued, becomes a candidate again only from that F…

ParameterTypeDescription
answerstring`sim` | `nao <motivo>` | `agendar <ISO> <motivo>`
runNowbooleanRun the queue flow now instead of answering.
subtaskIdstring

agentistics_session_groups

List the user's SESSION GROUPS — the named folders in the Sessions sidebar ("Saved to later", "Pelvie", …) — with the sessions in each. A group is how a person keeps a fleet of assistants organised; every session belongs to at most one. Each member carries its `id` (the managed session id you can pass to the other tools), `title`, `state` and `harness` when the session is on this machine right now, or only its `key` when it is gone. Call this BEFORE creating a group, so you file a session under an existing one instead of making a near-duplicate.

agentistics_session_group_create

Create a session group, optionally filing sessions into it in the same call. Use it to keep the assistants you start organised: start a session (for example `agentop session start …`, which prints its id), then create or reuse a group and file it. `sessions` takes session REFERENCES — a managed id (the `agentop-…` id `agentistics_session_groups` and `agentop session ls` print), a conversation id, an exact title, or a unique id prefix; any reference that matches nothing or more than one refuses the WHOLE call (404 / 409) and creates nothing, so a group is never half-filled. Filing moves a…

ParameterTypeDescription
name *stringThe group's name. Must not be blank.
sessionsarraySession references to file into the new group.

agentistics_session_group_edit

Change a session group. `action` is one of: `add` — file `session` under `group` (moves it out of any other group, unpins it if pinned); `remove` — take `session` out of whichever group holds it (the session itself is untouched); `rename` — give `group` a new `name`; `delete` — delete `group` (its sessions are NOT deleted, they only leave it). `group` is a group id OR its exact name (case-insensitive); a name shared by two groups answers 409 with the ids, so use the id. `session` is a managed id, a conversation id, an exact title or a unique id prefix. Refusals name what was wrong: 404…

ParameterTypeDescription
action *string
groupstringA group id or name. Required for add, rename and delete.
namestringThe new name. Required for rename.
sessionstringA session reference. Required for add and remove.

agentistics_session_notify

Switch a session's notifications on or off, or read the switch. `ref` is a managed id, a conversation id, an exact title or a unique id prefix. With `notify` ('on' | 'off') it sets the switch; with `ref` alone it reads it. Muting removes the INTERRUPTION only (bell, Nay card, sound, desktop toast, peer message): the session still shows as waiting and its events are still recorded in the inbox. The mute follows the conversation, so it survives a reopen. 404 for a ref that matches nothing, 409 for an ambiguous one.

ParameterTypeDescription
ref *stringA session reference.
notifystringSet the switch. Omit to read it.

agentistics_session_message

Send a message to ANOTHER agentistics session — the standard channel between a session and the one that started it (or the ones it started). `to` is a session reference (managed id, conversation id, exact title or unique id prefix); `kind` is handback (work finished/committed), block (you cannot continue), question (you need a decision) or notice (information only — no reply expected); `body` is the text. Use `notice` for leader hand-overs, role or session-id changes and other FYI messages: it is NOT a delivery, never moves a subtask, never counts as handed back, and the target is told no…

ParameterTypeDescription
body *stringThe message.
kind *string
to *stringThe target session reference.
awaitingstringkind=handback only: what you stopped waiting for (marks the handback as intermediate: the worker is not closed, your subtask stays in_progress and the leader's check-in does not list it as delivered).…

agentistics_wait

EXPERIMENTAL (AGENTISTICS_FLOWS) — a DURABLE wait the SERVER keeps for YOU: instead of polling or running a background command, register what you wait for and a deadline; when the condition is met (or the deadline passes, once) the server types a wake message into your own session, headed `[from flow wait · nudge]`, naming the wait id and generation. Conditions are a closed set: `{kind:'handback', from:<session id>, since?:ISO, match?:text}` (a handback FROM that session; `match` = case-insensitive substring its text must contain, so another subject does not wake you), `{kind:'memory', minA…

ParameterTypeDescription
action *string
allbooleanlist: include finished waits.
conditionobjectregister: the condition (closed set, see the description).
deadlineAtstringregister: ISO UTC deadline; the wake fires once when it passes without the condition.
fromstringhandoff: the previous leader's session id.
generationnumberack: the generation named in the wake message.
labelstringregister: one short line shown as 'aguardando <label> até <deadline>'.
reopenbooleanregister: if you have ended when it fires, may the server reopen you (only when the host supports it)? Otherwise your leader is told.
requestIdstringregister: optional idempotency key; the same key returns the same wait.
waitIdstringcancel/ack: the wait id.

agentistics_session_role

Get or set a session's ROLE (leader | worker | auto). With no `ref` it is YOUR OWN session. Setting `leader` stores the role, renames the session to "[ LEADER ] - <title>" ("[ LÍDER ] - …" in a Portuguese UI) keeping the user's title, and the briefing then tells the model it is a leader; `worker`/`auto` strip the prefix. Use it to declare yourself leader when the work grows to several fronts — do not rename the session by hand. Setting ANOTHER session's role works only for sessions you started yourself. Idempotent. With no `role` it just reports the current one and the role line.

ParameterTypeDescription
refstringA session reference (managed id, conversation id, exact title or unique id prefix). Omit for your own session.
retirePredecessorstringA leader taking over can pass the previous leader on the SAME task (managed id, conversation id, exact title or unique id prefix); the server closes it once its current turn ends, and within 10 minute…
rolestringThe role to set. Omit to read it.

agentistics_session_leads

Declare which TASKS a leader leads, besides the one its session is filed on (the filing is a single cost bucket, so a leader that also runs a second task would otherwise leave that task's cards in the Live column "No leader"). `add` / `remove` take task ids; with neither it just reads the leader's declared tasks. Only a session declared LEADER can lead (agentistics_session_role first); you may change only your OWN leads (the person may address any leader with `ref`); the leader must be filed on a task of its own, and a task of another repository is refused (`other_project`). Leadership counts…

ParameterTypeDescription
addarrayTask ids to lead.
refstringA session reference (managed id, conversation id, exact title or unique id prefix). Omit for your own session.
removearrayTask ids to stop leading.

agentistics_session_hold

Is something live the engine runs using a session right now? A session in use is idle between turns, so its state says nothing about whoever is on the other side. Pass `ref` (managed id, conversation id, exact title or unique id prefix): `{ id, held: boolean, since?: <ISO time it began>, sentence?: <the engine's own words for what holds it> }`. `available: false` means this build's engine reports no holds, so nothing can hold a session. A retire (agentistics_session_role retirePredecessor, `agentop session retire`) never closes a held session — it waits for the hold to end; `agentop session…

ParameterTypeDescription
ref *stringA session reference (required).

agentistics_session_switch_account

Continue a session on ANOTHER account — of its own harness or of another harness (multiple accounts must be on). Use it when a session hit its account's usage limit and another account has room. With no `accountId` it lists every account the session can move to, each with its `harness` (its own harness's other accounts first, then every other harness that can start a session here; the recommended one per harness from the plan router) and whether its last turn stopped on a usage limit. With `accountId` and no `harness` (or its own harness) it ends the session, copies its conversation to that…

ParameterTypeDescription
ref *stringThe session: managed id or conversation id. Never your own.
accountIdstringThe target account id (acc_…). Omit to list the options.
harnessstringScope to one harness (claude | codex | gemini | copilot | antigravity | kimi | opencode | hermes), or 'all' (default) for the unified view across every harness.
resendPendingbooleanRe-send the message the usage limit refused, once.

agentistics_session_away

Read or switch AUTONOMOUS MODE, or send the owner a notice while autonomous — the fleet works on its own, without asking permission or questions (the owner may be asleep or travelling). While it is on, every new session is born in the no-questions approval mode unless its caller names a mode. With no `on` it reports the state (`active`, `until`, what is pre-authorised). With `on: true` it switches it on: `until` is an ISO instant (omit = until the owner says they are back), `authorised` lists what the owner pre-approved (releases = publish releases the leader approved; workers = open worker…

ParameterTypeDescription
authorisedarray
maxWorkersnumberCeiling of worker sessions at once while autonomous (default 4).
notestringFree text from the owner (max 500 chars).
noticestringWhile autonomous: a warning or decision that cannot wait, sent to the owner's bell/Nay as a notice (max 500 chars) instead of a question that blocks your turn. Leaders only; ignores the other fields.
onbooleantrue = autonomous mode on, false = off. Omit to read.
scheduleobjectOptional agenda: {enabled:true, days:{<mon|tue|wed|thu|fri|sat|sun>:{windows:[{from:'HH:MM',to:'HH:MM'}], allDay?:true}}}. Autonomous mode is on only inside the windows (machine-local time; to<=from c…
targetstringA session's managed id or conversation id: switch only that session's own autonomous mode (with `on`).
topCapsobjectPer provider (harness id → number): ceiling of workers on that provider's top model tier at once (Opus, top GPT tier, Gemini Pro, …). A provider with no entry gets 1.
untilstringISO instant the autonomous period ends. Omit for 'until I turn it off'.

agentistics_env_status

Where a worker's environment would run, and why. Reports whether Docker is installed/running (`docker`, with its Engine API version), the operating system and whether Docker is validated there, the backend decision (`docker` or the isolated `namespace`, with `reason`, a plain-language `line` and an optional `suggest`: `use-docker` or `install-docker`), the choice that applied and the scope it came from (session > project > all), the catalogue image the project would use, and — only when Docker is missing — the install hint. Everything is behind the experimental `docker-env` flag (flag off…

ParameterTypeDescription
imagestringThe catalogue key the project's env.yml names.
needsarrayTools the project's image must carry, e.g. ["git"].
projectstringA project key (main checkout path or normalized git remote).
sessionstringA session's managed id: read the choice that applies to it.

agentistics_env_use

Choose the backend that runs worker environments: `docker` or `namespace` (the isolated `agentop run --rm`, which is also what declining means). `scope` is `session` (only that session — omit `target` to mean your own), `project` (`target` = the project key) or `all` (default); the MOST SPECIFIC scope wins. Behind the experimental `docker-env` flag (refused `flag_off` otherwise). Only the person or a verified LEADER session may choose: a worker is refused (`leader_only`). It records a preference only — nothing is started, installed or removed.

ParameterTypeDescription
backend *string
scopestringDefault all.
targetstringSession id (scope=session) or project key (scope=project).

agentistics_env_install_hint

How to install Docker on a given operating system: what to install, what it costs (estimates are marked as such), numbered steps, the official page and whether Docker is validated there yet. Defaults to this machine's system; `os` (linux | wsl2 | macos | windows) previews another. It NEVER installs anything or runs a command — it is the text and the link a person follows. Read-only.

ParameterTypeDescription
osstring

agentistics_nay_call

The "Call Nay" button of the Nay chat button's right-click pop, for agents — the same source as the button. `action: "status"` (default) reports `available` (a call surface is announced by the engine: false on a community build, with the kill switch, or with an engine without a call surface — then the button does not exist), `browser` (a dashboard tab answered in the last 20 s), and `call` = {active, parked, sessionId, since} — the call in progress, the one the top-bar pill shows; `call` is null when no browser is reporting (unknown, NOT "no call"). `action: "start"` asks the owner's ope…

ParameterTypeDescription
actionstringstatus (default) reads; start asks the dashboard to place the call.

agentistics_checkin_report

Report the leadership check-in round. The owner reads it and is NOT technical: every field is a short plain-language sentence naming things by what they do — no session ids, commit hashes, PR numbers, ports, limit percentages or internal codenames unless the owner must act on one; a health row only when something needs attention, said in words. Include a concise headline (<=140 chars), delivered items, in-progress items with stage and expected release, next steps, and health rows (sessions/memory, limits, releases, MCP, handoff). Keep summary as the fallback for older/short rounds. The serve…

ParameterTypeDescription
state *string
summary *string
actionsarray
deliveredarray
headlinestringOne-line headline, at most 140 characters.
healtharray
inProgressarray
needsarray
nextarray

agentistics_summary

Get an overview of AI coding usage metrics (across all tracked harnesses — Claude Code, Codex, Gemini CLI, Copilot, Antigravity, Kimi, OpenCode, Hermes — or scoped to one): total tokens, estimated cost, sessions, streak, most used model, and top project. Good starting point for any metrics question.

ParameterTypeDescription
harnessstringScope to one harness (claude | codex | gemini | copilot | antigravity | kimi | opencode | hermes), or 'all' (default) for the unified view across every harness.

agentistics_harnesses

Compare the tracked AI coding harnesses side by side. Lists every harness present in the data with its sessions, messages, token usage, estimated cost, and last-active date. Use this to answer 'which harness do I use most / costs most' questions. Rows tagged source "projections" (read from the journal) carry personTurns (the person's turns); there `messages` is a deprecated alias of personTurns, and subagent spend is reported apart (subagentTokens, subagentCostUSD).

agentistics_plan_limits

Read this BEFORE opening sessions; follow the recommendation; a plan on hold gets no new worker. Returns subscription budgets, pacing, and a routing recommendation. A pause on one budget row is that account's only (the top-level pauseUntil appears only when no account can take work). The top-level freeSlots is the sum of the MEASURED values only (accounts with headroom); when nothing is measured it is absent and freeSlotsMeasured is false. An absent freeSlots means not measured, not zero: use recommendation.cadence.parallel.

ParameterTypeDescription
authorHarnessstring
kindstring

agentistics_benchmark_observed

The Benchmark's observed history, read-only and identical to the Benchmark page: cost per delivery, time to publish, active time, deliveries per week, coordination range, QA rejection and rounds, escaped defects and wasted cost, each with n, a 95% interval, the named gaps that kept records out and its origin. Also `history`: per task (with subtasks) and per sessions-per-piece bucket — cost (tokens × price), wall time, active time, sessions, QA rounds, rework, size by lines — with coverage. Observed and biased, never a verdict; a null value is not measured, not zero. Optional from/to (epoc…

ParameterTypeDescription
fromstring | numberStart of the period (ISO date or epoch ms)
tostring | numberEnd of the period (ISO date or epoch ms)

agentistics_projects

List projects with session counts, message counts, token usage, estimated cost, and last active date. Optionally scope to a single harness. Rows tagged source "projections" (read from the journal) carry personTurns (the person's turns); there `messages` is a deprecated alias of personTurns, and subagent spend is reported apart (subagentTokens, subagentCostUSD).

ParameterTypeDescription
harnessstringScope to one harness (claude | codex | gemini | copilot | antigravity | kimi | opencode | hermes), or 'all' (default) for the unified view across every harness.

agentistics_sessions

Get the most recent sessions with harness, project path, duration, message count, token usage, and model. Optionally scope to a single harness. With AGENTISTICS_FLOWS on, a worker that handed back and is still open carries `deliveredStillOpen` ({managedId, handbackAt, lastRun?}): close it with agentistics_flow_run name=fechar-entregue {sessionId: managedId}, which only closes it when stopped, clean and saved.

ParameterTypeDescription
harnessstringScope to one harness (claude | codex | gemini | copilot | antigravity | kimi | opencode | hermes), or 'all' (default) for the unified view across every harness.
limitnumberMax sessions to return (default 20, max 50)
statearrayOptional live-state filter — the same states the sessions list's status ICON shows (and its ⋮ → Status filter): writing (working), cmd (running a command), task (background task), queue (heavy-w…

agentistics_costs

Get cost breakdown by model: token counts (input/output/cache read/write) and estimated USD cost per model. Scope to a single harness, or 'all' (default) for the unified breakdown.

ParameterTypeDescription
harnessstringScope to one harness (claude | codex | gemini | copilot | antigravity | kimi | opencode | hermes), or 'all' (default) for the unified view across every harness.

agentistics_component_catalog

List all components available for the custom layout page, with IDs, categories, descriptions, and default grid sizes. Call this before building or modifying a layout.

ParameterTypeDescription
categorystringFilter by category: kpi, activity, costs, projects, tools, sessions

agentistics_get_layouts

Get all custom layouts: names, components in each, which is active, and each component's instance ID for removal.

agentistics_get_preferences

Read the Nay persona preferences (chatResponder, chatWorkingDir, chatLabel and chatMcpEnabled).

agentistics_set_preferences

Set Nay persona preferences. chatWorkingDir must be an existing absolute directory; the server canonicalises and validates it.

ParameterTypeDescription
chatLabelstring
chatMcpEnabledboolean
chatResponderstring
chatWorkingDirstring

agentistics_create_layout

Create a new empty named layout on the custom page.

ParameterTypeDescription
name *stringName for the new layout

agentistics_add_component

Add a single component to a layout. Use agentistics_component_catalog to get valid componentId values. Positioned automatically at the bottom of the grid unless x/y are given.

ParameterTypeDescription
componentId *stringComponent ID from the catalog (e.g. 'kpi.cost', 'activity.chart')
hnumberHeight in grid units. Optional — uses default.
layoutNamestringTarget layout name. Omit to use the currently active layout.
wnumberWidth in grid units (1–12). Optional — uses default.
xnumberColumn (0–11). Optional — auto-placed if omitted.
ynumberRow. Optional — auto-placed if omitted.

agentistics_remove_component

Remove a component from a layout by its instance ID (the 'instanceId' field from agentistics_get_layouts).

ParameterTypeDescription
itemId *stringInstance ID of the item to remove
layoutNamestringLayout name. Omit to use the active layout.

agentistics_set_active_layout

Switch the active layout shown on the /custom page.

ParameterTypeDescription
name *stringName of the layout to activate

agentistics_delete_layout

Delete a named layout. Cannot delete the last remaining layout.

ParameterTypeDescription
name *stringName of the layout to delete

agentistics_export_pdf

Generate a PDF report of Claude Code usage. Returns a URL that, when opened in a browser, automatically opens the PDF export modal pre-configured with the requested options. The user can review settings and click Download to save the PDF.

ParameterTypeDescription
rangestringDate range for the report (default: all)

agentistics_build_layout

Build a complete layout in one call: creates it, adds all requested components with auto-positioning, and optionally activates it. Ideal for setting up a themed dashboard from scratch.

ParameterTypeDescription
componentIds *arrayOrdered array of component IDs to add
name *stringName for the layout
activatebooleanSet as active layout after building (default true)

agentistics_tags

List all tags — saved cross-cutting filters over repos/projects/machines/teams/accounts — with their aggregate sessions, cost, and tokens. Use for 'what tags exist' or 'how much did tag X cost' questions.

agentistics_vault_status

How this machine's vault is protected — never what it holds. Returns the state (open/locked/uninitialized…), the ways to confirm it is you already in use (touchid = Touch ID or the Mac password, hello = Windows Hello, password = the vault's own password, fido2 = a security key), the ways this machine offers (a security key only when its tools are present, marked advanced), whether an old app-code record is still on disk (it is no longer asked; it is deleted once a way to confirm is chosen), whether the 24-word recovery key exists, the auto-lock minutes, and the vault-password rules (the sa…

agentistics_browser_status

Read-only state of agentistics' built-in browser host on this machine: which browser executable it uses (or, in words, why there is none), the browsers running now (whose — a session or the person's own —, pid, open tabs as origin+path and title, PSS memory in MB, idle seconds, whether the systemd memory ceiling holds it and whether the sandbox is on), the ceilings (2 session browsers + 1 personal, tabs per browser), available memory against the 1.5 GB admission floor, why recent browsers stopped (idle, memory, session ended, evicted…) and the last orphan sweep. Starts nothing; the agent…

agentistics_browser_navigate

The browser for any browsing the user asks for; shown live to the user. Drives THIS session's own built-in browser (a throwaway headless Chromium agentistics starts on the first call). Open a URL in this session's browser and wait for it to load. file:, chrome: and agentistics' own ports are refused (redirects too); other localhost ports (your dev server) are allowed. / Abre uma URL no navegador desta sessão.

ParameterTypeDescription
url *stringhttp(s) URL
tabstringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_back

Go back one page in this session's browser. / Volta uma página.

ParameterTypeDescription
tabstringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_forward

Go forward one page in this session's browser. / Avança uma página.

ParameterTypeDescription
tabstringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_reload

Reload the page in this session's browser. / Recarrega a página.

ParameterTypeDescription
tabstringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_snapshot

Read the page as accessible text with refs (e12@g3 ...) for click/type/select. A ref is bound to this snapshot and this page: after navigate, back, forward, reload or a tab switch every older ref answers stale_ref and nothing is clicked — snapshot again. Capped (default 20 KB); mode viewport returns only what is on screen. / Lê a página como texto acessível com refs.

ParameterTypeDescription
maxBytesnumber2000 to 60000, default 20000
modestringfull (default) or viewport (only what is visible)
tabstringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_click

Click an element by ref (from snapshot), or at x,y viewport pixels. / Clica num elemento pelo ref ou em x,y.

ParameterTypeDescription
buttonstring
doubleboolean
refstringA ref from agentistics_browser_snapshot, like e12@g3 (copy it whole; it dies when the page navigates, reloads or you switch tab)
tabstringTab id from agentistics_browser_tabs (default: the active tab)
xnumber
ynumber

agentistics_browser_type

Replace the text of a field (by ref) with text; submit presses Enter after. / Digita num campo (substitui o conteúdo).

ParameterTypeDescription
ref *stringA ref from agentistics_browser_snapshot, like e12@g3 (copy it whole; it dies when the page navigates, reloads or you switch tab)
text *string
submitboolean
tabstringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_press

Press one key (Enter, Tab, Escape, Backspace, ArrowDown, PageDown... or one character) on the focused element. / Pressiona uma tecla.

ParameterTypeDescription
key *string
tabstringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_select

Choose option(s) of a <select> by value or label. / Escolhe opções de um <select>.

ParameterTypeDescription
ref *stringA ref from agentistics_browser_snapshot, like e12@g3 (copy it whole; it dies when the page navigates, reloads or you switch tab)
values *array
tabstringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_scroll

Scroll an element into view (ref) or the page by dy/dx pixels. / Rola a página ou traz um elemento à vista.

ParameterTypeDescription
dxnumber
dynumber
refstringA ref from agentistics_browser_snapshot, like e12@g3 (copy it whole; it dies when the page navigates, reloads or you switch tab)
tabstringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_screenshot

A picture of the page (the viewport, or fullPage up to 6000 px tall). The viewport follows the person watching this browser (their screen's proportions, always a desktop width of 1024 px or more); it is 1280x713 when nobody watches. / Captura da tela.

ParameterTypeDescription
formatstring
fullPageboolean
tabstringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_wait_for

Wait (at most 10 s) for text to appear, for a ref to exist, or for ms milliseconds. Exactly one of text, ref, ms. / Espera um texto, um ref ou um tempo.

ParameterTypeDescription
msnumber
refstringA ref from agentistics_browser_snapshot, like e12@g3 (copy it whole; it dies when the page navigates, reloads or you switch tab)
tabstringTab id from agentistics_browser_tabs (default: the active tab)
textstring
timeoutMsnumberat most 10000, default 5000

agentistics_browser_evaluate

Run a JavaScript expression in the page and return its JSON value (at most 20 KB; promises are awaited). / Avalia JavaScript na página (retorno de até 20 KB).

ParameterTypeDescription
expression *string
tabstringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_tabs

List this session's browser tabs (id, URL, title, which is active). / Lista as abas.

agentistics_browser_tab_new

Open a new tab (at most 4), optionally at a URL; it becomes the active one. / Abre uma aba.

ParameterTypeDescription
urlstring

agentistics_browser_tab_select

Make a tab the active one. / Ativa uma aba.

ParameterTypeDescription
tab *stringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_tab_close

Close a tab. / Fecha uma aba.

ParameterTypeDescription
tab *stringTab id from agentistics_browser_tabs (default: the active tab)

agentistics_browser_close

Close this session's browser (its throwaway profile is deleted). / Fecha o navegador desta sessão.

agentistics_browser_wait_unlock

Wait until the person hands this session's browser back (locks the padlock), at most your tool time limit. While the person drives, your actions are held and not done; reads still work. / Espera a pessoa devolver o navegador desta sessão.

ParameterTypeDescription
maxMsnumberHow long to wait at most (clamped to this harness's limit)

agentistics_browser_lock

The PERSON's padlock on a session's browser: unlocked = the person drives and the model's actions wait; locked = the model drives. Refused from inside a session (a session cannot change its own padlock). / Cadeado do navegador de uma sessão (só a pessoa).

ParameterTypeDescription
lock *string
session *stringThe session's managed id

agentistics_tag_detail

Get full detail for one tag by name or id: aggregate totals plus per-source breakdown and distributions (top projects, models, harnesses, repos), daily activity series, and the active date window. Call agentistics_tags first to find the id/name.

ParameterTypeDescription
tag *stringTag name or id, from agentistics_tags

agentistics_repos

List repositories, grouped by normalized git remote (independent of local path or which machine produced the session), with session/message/token/cost totals and last-active date. Sessions with no linked repository are grouped under 'unlinked'. Optionally scope to a single harness. Rows tagged source "projections" (read from the journal) carry personTurns (the person's turns); there `messages` is a deprecated alias of personTurns, and subagent spend is reported apart (subagentTokens, subagentCostUSD).

ParameterTypeDescription
harnessstringScope to one harness (claude | codex | gemini | copilot | antigravity | kimi | opencode | hermes), or 'all' (default) for the unified view across every harness.

agentistics_book_takeover

Confirm a real successor's takeover of a task through the hand-off book. The MCP server attaches this session's proof automatically; never provide a token.

ParameterTypeDescription
bookmarkHash *stringBookmark hash from the successor spawn prompt.
taskId *stringTask whose passage this successor is confirming.
lastDeltaHashstringRequired after the server's 409 challenge.