.lousho/agents/.
This page covers what the builder edits, the canvas and its node kinds,
the Inspector and Configure tab, testing a run without leaving the screen,
the Code tab, and the keyboard shortcuts. For launching Studio and the
other screens see Agent Forge.
What the builder edits
An agent’s spec lives in.lousho/agents/<id>.yaml. Three surfaces edit
that one document and nothing else:
- The canvas — nodes and edges are a view of the spec’s sections (tools, triggers, guardrails, flow steps and so on).
- The Configure tab (
#/agents/<id>/configure) — the same spec as a stack of schema-driven forms. - The Code tab’s YAML view (
#/agents/<id>/code) — the spec itself, read-only.
.lousho/agents/<id>/layout.json, so rearranging the canvas never changes
what the agent does. Edits autosave to the working copy; Save (or
Ctrl/Cmd+S) additionally writes an entry in the agent’s version history —
the Versions tab lists them.
The canvas
The graph is agent-centred: an agent node sits at the centre and the things it uses — tools, skills, memory, guardrails — attach to it. When the spec has aflow, its steps form a separate chain. An agent with
subagents shows each one as a collapsible group containing that
subagent’s own capability nodes.
The left rail’s Nodes tab is the palette, grouped Start, Agents,
Capabilities, Safety, Output, Flow and Canvas. Drag an
entry onto the canvas, or click it (or press Enter on it) to add it at the
centre of the view; / jumps to the palette’s search. Edges are derived
from the spec — they show what uses what and are not stored separately.
The toolbar has Undo/Redo, Duplicate, Auto layout (an
elkjs pass that repositions the whole graph) and Fit view; the
React Flow controls at the bottom-left zoom and fit, and the minimap at
the bottom-right shows the whole graph.
Backspace/Delete removes the
selected nodes; Ctrl/Cmd+D duplicates them.
Inspector and Configure tab
Click a node and the Inspector on the right opens with its kind, a Settings section of schema-driven fields (the same fields the node’s kind defines — a tool node’s picker and options, a trigger’s type and schema fields, and so on), and a Debug section for breakpoints while debug mode is on. A Problems (n) section lists everythingvalidateGraph flags for that node; clicking a problem scrolls to and
focuses the offending field. The View spans button (enabled once the
node has run) opens the node’s spans sheet — see
Testing in place.
Node cards carry small badges: a problem count when validation flags the
node, a pin badge on a tool node whose result is pinned for replay, and an
“edited” chip while an Author proposal is overlaid on
the canvas.
The Configure tab is the spec as a form: eight stacked cards —
Identity, Model, Instructions, Tools, Knowledge, Safety, Triggers, and
Output and limits — generated from the spec’s JSON schema, with a sticky
index that marks changed sections and counts issues. A dirty bar at the
bottom shows how many sections changed with Discard and Save;
Save is disabled while the spec has errors. The
version, flow and evals sections are not editable here — flow lives
on the canvas, versions and evals on their own tabs.
The drawer’s Problems tab lists every graph problem in one table —
severity, node, message and field — errors first; opening a row selects
the node on the canvas.
Testing in place
The bottom drawer’s Test tab runs the agent without leaving the builder. Its run bar shows the run status pill, the provider and model, a ticking elapsed time, an Open trace link once the run reports to the observe daemon, and a rating control when the run finishes. While a run is going:- Node status overlay — each card shows its state in the current run: a running ring, “awaiting approval” while the run waits on a person, done, or failed. Edges leaving a running node animate. Clicking a node’s status pill opens its spans sheet.
- Steering — the box above the composer (“Message the running agent”) queues a message onto the live run; each message shows whether it was Queued, Delivered or Undelivered when the run ended first.
- Stop — aborts the run (the button reads “Stopping…” in flight).
- Inline approvals and questions — a tool call that needs approval shows an approval card (“Approve <tool>?” with its arguments) with a “Decide within <time>” deadline; a question from the agent shows its options or a free-text answer with an “Answer within <time>” deadline. The first answer wins; an expired question resolves as unanswered.
tool node it also offers replay
controls: Pin this result records the tool’s result so the next run
replays it instead of calling the tool, Run from here re-runs the
agent from its newest user message with the pinned results, and each
recorded tool call has Fork from here, which opens the replay editor
(forking needs a checkpointed run — see
Time travel).
Code tab
#/agents/<id>/code shows the spec three ways, generated on demand:
- TypeScript — a readable
.tsrendering of the agent (<id>.agent.tson download). - YAML — the spec document itself (
<id>.yamlon download). - Agent directory — a file-tree preview of the agent’s on-disk directory.
Keyboard shortcuts
The
? sheet lists most of these; Ctrl/Cmd+D, Ctrl/Cmd+Y,
Backspace/Delete and / work on the canvas but are not on the sheet.