> ## Documentation Index
> Fetch the complete documentation index at: https://eispatch.framewire.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Visual prompt composition

> Compose and review AI prompts on an interactive canvas with pan, zoom, capability selectors, recommendations, and a protected final prompt editor.

EISPATCH opens a visual composer so you can review and shape a prompt before any agent sees it. The canvas shows your prompt as a node, linked to the capabilities you choose, with tooltips, recommendations, and a protected final prompt editor.

> [!NOTE]
>
> You can preview the composer without an agent hook. Run `npm run preview` from the repo and open `http://127.0.0.1:4177`. Append `#theme=dark` or `#theme=light` to force a theme.

## Interactive canvas

The canvas is the main workspace. You can pan, zoom, and drag nodes freely. Use the **Align** and **Fit** controls to tidy the layout, and **Clear** to reset the canvas and start over.

Bezier connectors run from the prompt node to each selected capability, so the relationship is visible at a glance. The canvas adapts to light and dark themes via `prefers-color-scheme`, or you can force a theme with the URL hash above.

## Capabilities drawer

Open the collapsible and resizable **Capabilities** drawer to browse and select optional extras: MCP servers, skills, plugins, and bots or subagents. Each list is searchable.

EISPATCH recommends capabilities with a star icon. Recommendations are scored from metadata in the active host, never from external AI services. Tooltips show discovered metadata (names, descriptions, and intended use). Descriptions pass through pattern-based redaction of URLs and common credential formats.

When you select a capability, an instruction is suggested automatically. The wording depends on the capability kind and the detected intent of the prompt; the default for an MCP server is:

```text theme={null}
Use <name> MCP tools only when needed for: "<prompt>".
```

See [Capabilities](https://eispatch.framewire.io/guides/capabilities.md) for the templates.

You can edit this instruction per capability. The same capability can be added to different tasks with independent instructions when [breakdown mode](https://eispatch.framewire.io/guides/prompt-breakdown.md) is active.

## Final Prompt drawer

The collapsible **Final Prompt** drawer shows the compiled prompt that will be sent to the agent. You can edit it directly. When you make a manual edit, an overwrite guard protects your change from being overwritten by later regeneration. Manually edited final prompts are sent verbatim.

## Approval and dispatch controls

The bottom toolbar controls the lifecycle of a prompt:

* **Edit** unlocks the prompt for changes and invalidates any existing approval.
* **Approve** locks the current prompt and capabilities.
* **Dispatch** sends the approved prompt to the agent. It works once per approval, and is disabled until you approve again after any change.
* **Cancel** abandons the current session.
* **Send Original Prompt** sends your original prompt unmodified. It requires confirmation twice to prevent accidental bypass.

See [Approve and dispatch](https://eispatch.framewire.io/guides/approve-and-dispatch.md) for the full state flow and host-specific dispatch behavior.

## Language support

The composer, recommender, and task breakdown support general Unicode text. The recommender specifically supports English, Nepali in Devanagari, and romanized Nepali. Tooltip localization varies by host and capability metadata.

## Keyboard and accessibility

* Pan the canvas by clicking and dragging the background.
* Drag nodes to reposition them.
* Scroll or pinch to zoom.
* Use **Align** and **Fit** to auto-arrange nodes after manual changes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.