Skip to content

Workflows Scripted

Fischer Hunt edited this page Aug 30, 2026 · 2 revisions

Workflows: Scripted

e without the TUI: one-shot turns and persistent automation.

One turn

e ask "explain src/main.rs"   # one agent turn, no TUI
e ask --json "one turn"       # machine-readable result
echo "review this" | e        # piped stdin takes the same headless path

e ask renders in the terminal when attached, plain text when piped.

Persistent automation

e rpc                         # long-lived JSONL automation surface

The CLI, persisted sessions/configuration, and the extension wire protocol are the supported surfaces (see docs/compatibility.md). The Cargo library target is internal and not a stable SDK.

Notes for headless use

  • There is no question surface anywhere: the model cannot interview you mid-turn, and the extension protocol has no method for it either. If information is genuinely missing, the turn fails loudly and you steer; answers the model would have asked for live in configuration under ~/.e/.
  • e doctor produces a redacted, paste-safe report (no network requests, no tokens, no config values) — use it in bug reports.

Written against e 0.0.1. Add your own automation recipes below.

Clone this wiki locally