[GH-ISSUE #3274] docs: no user guide for the Agent system (building/importing custom agents + the Agent Suite) #1768

Closed
opened 2026-10-21 05:42:27 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @kolacheee on GitHub (Jul 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3274

Originally assigned to: @SpicyMarinara on GitHub.

A shipped, user-facing feature has no user documentation. Found in a docs-coverage sweep against v2.1.0 (each gap re-checked with fresh greps across docs/ and README.md to confirm coverage really is absent). Suggested home: new-doc docs/AGENTS.md (with an Agent Suite section).

Feature: AI Agent System - building, editing, and importing/exporting custom agents

Why it needs docs (user impact):

The agent system is a headline README feature that tells users they can create, tune, and share custom agents, yet a user wanting to do so has zero documentation of the editor fields, agent phases, or the export/import package format. Single largest advertised-but-undocumented subsystem.

This is the only UI where a user can directly read and correct what every active agent (world-state/character trackers, memory, custom agents) has stored for a chat. The AI-assisted-rewrite flow (select text, give an instruction, optionally attach grounding context such as character cards or active-lorebook entries, pick a connection) is not discoverable without docs. Users troubleshooting a drifted tracker or wanting to bulk-fix agent memory have no guide.

What the docs currently say (i.e. the gap):

Re-ran grep for 'agent editor|agent phase|create.*agent|custom agent|Text Rewrite|result type|export.*agent|import.*agent|folder-based' across docs. Hits are only: ROLEPLAY.md 'The Agents menu' (line 78) - inspect/re-run cached injections only, not build-your-own; FRONTEND.md rows are dev code-reference (component path 'components/agents/AgentEditor.tsx' line 294, a result-type enum list line 614, hook table line 203); FILE_STORAGE_MIGRATION.md storage-table rows; home-assistant.md references the Agents section for its own tool. EXTENSIONS.md covers the extension folder/manifest format but says nothing about the custom-agent JSON/folder format. No AGENTS.md in the README Documentation index (README lines 172-190). No user doc explains editor fields, agent phases (pre_generation vs post_processing/rewrite), result types, enabled tools, or the folder-based agent import/export package.

Zero. grep -i 'Agent Suite|AgentSuite|AI-assisted rewrite|tracker state|custom-agent output' across docs/*.md and README.md returns nothing for this feature. The only 'agent memory' hits are FRONTEND.md:576 and ROLEPLAY.md:112, both describing Narrative Director's Secret Plot editor - a single-agent, per-arc thing, not the cross-agent Agent Suite window. Not mentioned in FRONTEND.md, ROLEPLAY.md, GAME_MODE.md, CONFIGURATION.md, or FAQ.md.

Evidence it shipped and is user-facing:

Shipped and user-facing: CHANGELOG [2.0.0] reworked all agents + "exported and imported" + "folder-based import/export support for custom agents" (line 439); [2.1.0] agent-editor phase overrides for built-in agents (Echo Chamber, Prose Guardian, Continuity, Immersive HTML, Expression, Music DJ) respected in storage/generation/retries (line 45). README line 152-154 advertises the "AI Agent System" with "create/import custom agents". Real user-facing code: packages/client/src/components/agents/AgentEditor.tsx (editor UI), packages/client/src/lib/agent-transfer.ts + AgentsPanel.tsx (export/import), useCreateAgent hook. This doc should also house the per-built-in-agent descriptions and how the Roleplay rewrite agents (Prose Guardian, Continuity Checker, Immersive HTML) stack in one post-processing rewrite pass - currently only a single FAQ.md line 256 bullet mentions Immersive HTML.

CHANGELOG [2.1.0] Added: 'Added the Agent Suite to the Chat Settings drawer's Agents section: a window ... where you can view and edit everything they have stored - agent memory, tracker state, and custom-agent outputs - manually or with AI-assisted rewrites ... pick a connection) (#3160)'. Code confirmed: packages/client/src/components/chat/AgentSuiteModal.tsx (header comment: 'view and edit everything the agents in the active chat have stored (memory, tracker state, custom outputs), manually or via AI-assisted selection rewrites'); wired in ChatSettingsDrawer.tsx (showAgentSuiteModal state, an 'Agent Suite' button at line ~5599 that opens it, at ~7551); hooks/use-agents.ts exports useAgentMemory, useAgentSuiteRewrite, useCustomAgentRuns, useUpdateAgentMemory, useUpdateAgentRunData.

Confidence: high. This is a suggested new doc/section, not a bug - close if it's out of scope or already planned.

Originally created by @kolacheee on GitHub (Jul 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3274 Originally assigned to: @SpicyMarinara on GitHub. A shipped, user-facing feature has **no user documentation**. Found in a docs-coverage sweep against **v2.1.0** (each gap re-checked with fresh greps across `docs/` and `README.md` to confirm coverage really is absent). Suggested home: **new-doc `docs/AGENTS.md` (with an Agent Suite section)**. **Feature:** AI Agent System - building, editing, and importing/exporting custom agents **Why it needs docs (user impact):** The agent system is a headline README feature that tells users they can create, tune, and share custom agents, yet a user wanting to do so has zero documentation of the editor fields, agent phases, or the export/import package format. Single largest advertised-but-undocumented subsystem. This is the only UI where a user can directly read and correct what every active agent (world-state/character trackers, memory, custom agents) has stored for a chat. The AI-assisted-rewrite flow (select text, give an instruction, optionally attach grounding context such as character cards or active-lorebook entries, pick a connection) is not discoverable without docs. Users troubleshooting a drifted tracker or wanting to bulk-fix agent memory have no guide. **What the docs currently say (i.e. the gap):** Re-ran grep for 'agent editor|agent phase|create.*agent|custom agent|Text Rewrite|result type|export.*agent|import.*agent|folder-based' across docs. Hits are only: ROLEPLAY.md 'The Agents menu' (line 78) - inspect/re-run cached injections only, not build-your-own; FRONTEND.md rows are dev code-reference (component path 'components/agents/AgentEditor.tsx' line 294, a result-type enum list line 614, hook table line 203); FILE_STORAGE_MIGRATION.md storage-table rows; home-assistant.md references the Agents section for its own tool. EXTENSIONS.md covers the extension folder/manifest format but says nothing about the custom-agent JSON/folder format. No AGENTS.md in the README Documentation index (README lines 172-190). No user doc explains editor fields, agent phases (pre_generation vs post_processing/rewrite), result types, enabled tools, or the folder-based agent import/export package. Zero. grep -i 'Agent Suite|AgentSuite|AI-assisted rewrite|tracker state|custom-agent output' across docs/*.md and README.md returns nothing for this feature. The only 'agent memory' hits are FRONTEND.md:576 and ROLEPLAY.md:112, both describing Narrative Director's Secret Plot editor - a single-agent, per-arc thing, not the cross-agent Agent Suite window. Not mentioned in FRONTEND.md, ROLEPLAY.md, GAME_MODE.md, CONFIGURATION.md, or FAQ.md. **Evidence it shipped and is user-facing:** Shipped and user-facing: CHANGELOG [2.0.0] reworked all agents + "exported and imported" + "folder-based import/export support for custom agents" (line 439); [2.1.0] agent-editor phase overrides for built-in agents (Echo Chamber, Prose Guardian, Continuity, Immersive HTML, Expression, Music DJ) respected in storage/generation/retries (line 45). README line 152-154 advertises the "AI Agent System" with "create/import custom agents". Real user-facing code: packages/client/src/components/agents/AgentEditor.tsx (editor UI), packages/client/src/lib/agent-transfer.ts + AgentsPanel.tsx (export/import), useCreateAgent hook. This doc should also house the per-built-in-agent descriptions and how the Roleplay rewrite agents (Prose Guardian, Continuity Checker, Immersive HTML) stack in one post-processing rewrite pass - currently only a single FAQ.md line 256 bullet mentions Immersive HTML. CHANGELOG [2.1.0] Added: 'Added the Agent Suite to the Chat Settings drawer's Agents section: a window ... where you can view and edit everything they have stored - agent memory, tracker state, and custom-agent outputs - manually or with AI-assisted rewrites ... pick a connection) (#3160)'. Code confirmed: packages/client/src/components/chat/AgentSuiteModal.tsx (header comment: 'view and edit everything the agents in the active chat have stored (memory, tracker state, custom outputs), manually or via AI-assisted selection rewrites'); wired in ChatSettingsDrawer.tsx (showAgentSuiteModal state, an 'Agent Suite' button at line ~5599 that opens it, <AgentSuiteModal open={showAgentSuiteModal}/> at ~7551); hooks/use-agents.ts exports useAgentMemory, useAgentSuiteRewrite, useCustomAgentRuns, useUpdateAgentMemory, useUpdateAgentRunData. _Confidence: high. This is a suggested new doc/section, not a bug - close if it's out of scope or already planned._
bsakaguchi 2026-10-21 05:42:27 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 5, 2026):

Addressed in #3289.

<!-- gh-comment-id:4887419038 --> @SpicyMarinara commented on GitHub (Jul 5, 2026): Addressed in #3289.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1768
No description provided.