Workbench Assistant
Problem Statement
The Workbench lets a creator build the pieces of an experience — characters, modes, lorebooks, greetings, trackers, bindings — and test them in the Sandbox. But assembling a coherent experience is still expert work:
- The creator knows the goal, not the mechanism. "I want this package to track the character's mood" is a clear intent. Translating it into a typed tracker definition, binding it, writing the eval explanation, and confirming it actually moves correctly is four screens and domain knowledge.
- Building and testing are separate loops. You build a tracker in the Forge, switch to Sandbox, chat, squint at the TrackerBar, go back, tweak. The feedback loop is manual and slow.
- The pieces are interconnected. A mode's
lorebookprovider key expects bound lorebooks; trackers want an eval explanation in the mode; greetings set initial state. A human has to hold the whole web in their head. - The Lorebook Assistant proved the pattern works. It's a hit precisely because it collapses "understand the goal → propose the change → review → apply" into a conversation. The same shape generalizes to the whole package.
The Workbench Assistant is the agentic answer: describe the experience you want; it proposes the entities and bindings that produce it, and tests them against the live (or a dry-run) sandbox before you commit.
Design intent (north star)
- One project in, packages out — the exact shape of the Lorebook Assistant (one lorebook in, entries out). The project is the isolation boundary: a session is scoped to one project and reads/reuses/proposes against its entity pool. The package is the output. Giving the agent a concrete goal object (the package) measurably improves its reasoning versus "freely edit project entities."
- A package is assembled from model profiles — so the assistant builds modes too. Packages reference
model profiles, and each model-profile entry maps a model → a mode (where the tracker/journal framing
and sub-prompts live). So to compose a working package the assistant must create a mode, wrap it in a
model-profile entry (
model → mode), and bind the profile into the package — not just edit characters and lorebooks. - It proposes complete mechanisms, not skeletons. "Track her mood" should yield a fully-specified draft — value type, enum values, eval cadence, the eval explanation, the binding, the mode's default model — ready to dry-run, not a stub the creator still has to finish. (This is also what keeps the agent's tool surface within the harness's tool-count bound: intent-tools, not a tool per field.)
- It proposes, it doesn't silently mutate. Every write goes through the assistant-proposal lane (the
agent's own staged-change substrate) — never the human
entity_proposalsfamily, which is reserved for human contributor → manager collaboration. - It runs OOC, alongside the sandbox. The differentiator. The Workbench Assistant can observe the live sandbox conversation as an out-of-character co-pilot — the current tracker snapshots, what the model remembers (summaries), which lorebook entries fired. "Test the mood tracker" can mean watch it move in the real chat you're already having, not just an isolated probe.
- Build-and-test is one loop. The agent has both write tools (propose entities/bindings) and test tools (simulate a search, dry-run a tracker eval, dry-run a turn). The value above the individual Forge editors is the "and here it is working" half.
The "test it" rail — the differentiator
Creating an entity via a tool is trivial; testing it is the new value and the product's magic. Two flavors:
- Observe the live sandbox (OOC peek). When a sandbox conversation is running in the sibling tab, the assistant reads its real state — tracker snapshots, the model's current memory (summaries), which lorebook entries fired — as an out-of-character co-pilot.
- Dry-run in a sandbox the agent controls. Exercise an entity against synthetic input without a live chat — dry-run a tracker eval over sample turns and see the resulting state, simulate a search, preview a throwaway turn for a mode/greeting.
Treat the dry-run rail as its own slice — create/edit tools are cheap; "show you it working" is the value.
Where it lives — the Workbench
A new tab in the Workbench center, next to editor | map | sandbox. The design decision worth pinning is
the OOC-alongside-sandbox layout, three shapes in increasing effort:
- The assistant as a tab that reads the (possibly still-running) sandbox state — "parallel" is logical, not visual.
- The assistant as the right-drawer beside the live Sandbox chat — an OOC panel next to the chat.
- Split center pane — first-class two-pane Sandbox + assistant. Most "alongside," most work.
Ship (1), then (2) as the "OOC alongside sandbox" experience, with (3) as a stretch.
Competitive input — SeaArt's Sovart agent (what it sharpens)
SeaArt's "Super Agent" is the same conversational-composition pattern, pointed at image/video instead of fiction. Echo of Dreams is a creative-writing platform, so the media-generation core is explicitly not a target. But three of its moves sharpen the assistant's design:
- Propose complete mechanism config, not entity skeletons. The user never touches model/params — the agent decides them. The Workbench Assistant's equivalent: resolve the whole mechanism from intent (this is Design-intent point 3, made the headline). The magic is removing the four-screens-of-domain-knowledge tax.
- A starter-recipe rail. Ship 5–6 seeded starter recipes ("make this package remember key events," "add a relationship meter that warms over time," "give this character a scene-setting greeting"). It doubles as discovery and onboarding for a feature creators won't know the range of.
- Creator-style context — the "companion learns your style" half. Draft modes and greetings in this creator's voice, from a read-only style block assembled out of their own published entity pool. No new memory infra — just context the engine already injects. This is what makes it read as a partner, not a form-filler.
Guardrails (design)
- Proposes, never silently mutates — staged changes live in the assistant-proposal lane, never the
human
entity_proposalsqueue. - Auto-apply is opt-out (on by default — deferred batch-apply after a clean stream, like the Lorebook
Assistant), gated on
can_manage; a contributor's batch always waits for an explicit review. - Never destructive-delete. Dry-runs never write.
Slice plan (design sequence)
The agent substrate (engine, tool-packs, per-kind storage) is harness Phase 0 — not an assistant slice. See the harness build map; these slices are the assistant's own product steps on top of it.
- Assistant MVP — read + tracker write. Project-scoped; proposes trackers + bindings into the
assistant-proposal lane; a new
composerWorkbench tab (layout shape 1). Bakes in the three SeaArt refinements: complete mechanism config (not skeletons), a starter-recipe rail, and creator-style context. - The dry-run rail. Dry-run a tracker eval first (cleanest, highest "wow"), then a throwaway turn. The differentiator.
- Observe-the-live-sandbox (OOC). Live read tools + the right-drawer-beside-sandbox layout (shape 2), with a staleness indicator when the sandbox config has drifted from the workbench.
- Expand write tools — characters, modes, lorebook entries, greetings — and the package-assembly chain
(model profiles + their
model → modeentries + the package binding). The surface that actually produces a package. - (Stretch) Split center pane (shape 3) for true side-by-side Sandbox + assistant.
Decisions (resolved)
- Project is the unit; package is the output. A session is scoped to one project (the isolation boundary) and produces packages — the exact shape of the Lorebook Assistant.
- A package is built from model profiles; the assistant also builds modes (model-profile entries map a model → a mode; the assistant creates the modes and wires them in).
- Auto-apply is opt-out (on by default), gated on
can_manage; contributor batches always wait for review. - Knowledge entries grow as-we-go — no upfront corpus; author best-practice snippets incrementally as features land. Pair with the creator-style context block (the "in this creator's voice" half).
Open questions / decisions still to pin
- Historical lorebook activations — do we want a server-side per-turn record of "which entries fired," so the assistant can reason about activation history (today only the live moment has it)? A later capability if the assistant's reasoning needs it.
Related
- Creator Workbench — the host surface (editor / map / sandbox tabs).
- Lorebook LLM Editor — the agent runtime this extends.
- Trackers — the first entity the assistant builds-and-tests; the eval rail the dry-run reuses.
- Packages — the deliverable the assistant assembles.
- Collaboration & Projects — the project permission tiers the
assistant reuses; its human
entity_proposalsfamily is explicitly not the assistant's write path. - Harness (technical realization):
docs-internal/architecture/agents/AGENT_HARNESS_GUIDELINES.md,TOOL_PACKS.md,ASSISTANT_STORAGE.md,KNOWLEDGE_DEPLOYMENT.md(repo-internal, not on this site). - The Workbench Assistant's tool packs are specced (2026-07-06):
docs-internal/architecture/agents/COMPOSER_TOOL_PACKS.mdmaps the four packs (project_reads,package_authoring,experience_dry_run,conversation_observation) + the existingknowledgepack, designed to serve this assistant and the user-scoped MCP door from one substrate — with per-pack specs alongside it.