Agents and Automation¶
This pillar covers how programs and agents drive the app, through the HTTP interface, an MCP server for outside agents, the side chat for the person's own agent and the widget agent that edits one panel.
The roadmap graph shows how these features depend on features in other pillars. Ideas for this pillar that are not in the registry are on its candidates page.
Shipped¶
- AGT-01 Caliper API v0. Caliper API v0 is an HTTP interface to the running app, on the loopback address and behind tokens, that lists and launches applets, returns a capture, serves a stream and runs the commands of the command layer.
- AGT-02 MCP Server. caliper-mcp is a stdio Model Context Protocol server that gives an outside agent one tool per command of the command layer, with read-only resources, and carries each call out through Caliper API.
- AGT-03 Side Chat. The side chat is a pane where the person's own agent works over the Agent Client Protocol, with caliper-mcp handed to it, so it can read and edit the open spec with each change reviewed.
- AGT-04 Local Models in the Side Chat. An agent whose model runs on the same machine can be marked as a local model in the side chat, which then warns when the model and a training run share the GPU.
- AGT-05 Widget Agent. caliper-agent in its widget role works on one panel, selection, dropped file or property, using the person's own provider key or a local model, and its changes wait in a preview for the person to accept.
- AGT-06 Permission Modes. The side chat's agent and caliper-mcp's clients each run in a saved mode, Ask, Accept edits, Read only or Allow all, that decides which commands wait for the person's approval.
- AGT-13 MCP Resources. caliper-mcp serves read-only resources: the documentation pages, the SDK headers, the spec format's JSON Schema and the command table.
- AGT-14 Widget Agent Conformance Suite. The conformance suite runs a set of widget tasks against a provider and a model, checks each result and writes a result file with a verdict.
- AGT-15 Provider Presets. The widget agent offers presets for hosted providers, for Ollama and LM Studio and for any OpenAI-compatible server, each with its own key in the system's credential store.
- AGT-16 Model Check. caliper-agent probe checks a model's tool calling, vision and context length with two short calls and caches the answer, which the settings run when a person picks a model.
- AGT-17 Approval Cards. Each command that waits for the person's approval appears as a card that shows who asks, what changes, its diff and the time left, with Approve and Deny.
- AGT-18 Ask in Chat. From the widget agent's prompt, Ask in chat sends the request with its context to the side chat as a draft that the person reviews and sends.
- AGT-31 Run Control Commands. The commands run.state, run.set_param, run.action and run.pause let an outside agent read and steer the script that the app is attached to, as one MCP tool each, with an approval card for an agent.
- AGT-32 Event Wait. The command events.wait is a long poll that returns the events after a cursor, such as picks, control changes and run changes, from a ring of the last 1,024 events, and it can filter by kind and panel.
- AGT-33 Instrument Tools. Tools for entities, cameras, state variables, selections, controls, the time cursor and annotations let an agent build an instrument and drive it through MCP.
Planned¶
- AGT-07 Ollama Preset on First Run. The widget agent's settings offer the Ollama preset when Ollama is running on the machine, so a first run can use a local model with no key. Sprint 3.2.
- AGT-08 Empty Arguments as Omitted. An empty string that a model sends for an optional argument counts as omitted, as a null already does, so that the call runs instead of failing. Sprint 3.2.
- AGT-09 Cloud Agents End to End. This work checks that an agent running on a remote service, rather than on this machine, works through the side chat from start to finish.
- AGT-10 Agent Packaging with a Bundled Python. caliper-agent and caliper-mcp ship inside the app with a standalone Python runtime built from the lockfile, signed and notarized with the app, which prefers that runtime. Sprint 5.
- AGT-11 Approval Expiry for API Origins. Approvals that nobody waits for expire, and each origin gets a share of the pending slots, so that calls through Caliper API cannot fill them. Sprint 3.2.
- AGT-12 Held Launches. A launch of a workspace spec applet by an origin under review waits on its own approval card, like any other held command. Sprint 3.2.
- AGT-19 Approval Progress in caliper-mcp. caliper-mcp sends progress notices while a call waits for approval, so that a client with a short time limit can extend it.
- AGT-23 Review Setting per Origin. The side chat's settings let the person choose, for each origin, whether edits of the open spec wait for review, with the side chat's own cards for an agent's permission requests.
- AGT-24 Checks of an Agent's Own Spec Edits. The side chat runs the spec validator on an agent's own edit of a spec file before the person answers its permission request.
- AGT-25 More ACP Features in the Side Chat. The side chat gains loading and resuming sessions, modes and configuration options, and images in prompts.
- AGT-27 Side Chat on Every Page. The side chat opens on the landing page as well, and a Selection tab sits above the chat on the live page.
- AGT-29 Source Edit Previews. A widget agent's edit of a source is drawn in the panels that read it before the person accepts it.
Ideas¶
- AGT-20 One Undo Step per Agent Turn. The edits an outside agent makes through caliper-mcp could be grouped into one undo step, which needs a notion of a turn that MCP does not have.
- AGT-21 Live Stream for MCP Agents. caliper-mcp could offer the live stream to outside agents.
- AGT-22 ACP Version 2. The side chat could add version 2 of the Agent Client Protocol beside version 1 once it is stable.
- AGT-26 ACP Agent Registry. The side chat could read the Agent Client Protocol's registry of agents at run time instead of its fixed presets.
- AGT-28 Context Compaction for Local Models. When a conversation no longer fits a local model's context, the earlier part could be summarised so that the turn goes on instead of ending.
- AGT-30 Finer Agent Permissions. Agent permissions could gain deny rules, scopes finer than a command's name and a session for outside agents.