Executor mode

Keep your assistant. Add a Flash worker.

Keep your current model in charge of planning and review. Configure Flash as a separate worker with its own provider, context and output budget, then hand it bounded tasks.

What executor mode means

Separate roles. Separate context.

Use a Hermes delegation child, a ZCode native subagent, or a standalone Hermes process under harnesses such as Claude Code, Codex, Hermes, Pi or Cursor — not every harness has native delegation support. Configure a sandbox and isolated workspace before authorizing writes; separate context alone does not isolate tools. To make Flash the primary model instead, use primary mode.

Your original assistant (Hermes, Pi, ZCode, Cursor, Codex, or Claude Code) keeps its own model unchanged and sends a bounded task to a separately configured Flash worker with independent context and key routing. The worker operates on an isolated workspace and returns an artifact; the original assistant verifies it. Instructions are not a sandbox.
Your original assistantHermesPiZCodeCursorCodexClaude CodeParent model stays unchanged
Separately configured Flash workerSeparate context and provider configurationConfigure provider + budgets before any skill
Isolated filesTask-owned workspacePermissions chosen by the controller
Artifact outPatch, report, resultPermissions chosen by the controller
Original assistant verifiesReview, integrate, own acceptance

Setup facts

Connection and token budget

Base URL
https://api.teralor.com/v1
Model
Flash (exact, case-sensitive)
Transport
Chat Completions (POST /v1/chat/completions)

Flash's current limits: 262,144 total context, up to 262,144 input and 131,072 output tokens. These ceilings are not additive: complete prompt tokens + reserved output ≤ 262,144. Input includes system instructions, tools, skills, history and new messages.

Check GET /v1/models with your own key before setup. Use the returned context_length, max_input_tokens and max_output_tokens if lower. A 401means credential or access setup must be fixed. Start with one worker; increase only within your account's verified concurrency allowance.

The downloadable Hermes and Pi example configs request 32,768 output tokens and compact at 172,032 prompt tokens. These are recommended working budgets for those configs, not API limits and not a setting supplied by ZCode or Cursor, which expose no user-facing compaction threshold. Omitting max_tokens reserves the full output ceiling instead, leaving only 131,072 prompt tokens; use a 98,304 compaction trigger for that policy.

One window. Shared by input and output.

262,144 total tokens · recommended working allocation

Prompt ceiling
229,376
Output reserved
32,768
Compact near (Hermes/Pi configs)
172,032

Compaction leaves room for the next message and tool results. It is a history-management trigger, not a hard input limit; a single oversized message can still be rejected.

Handle the key securely first

Export your customer key in the shell that launches the harness. Keep it out of config examples, prompts and Git; use your secret manager for persistent service setup. Use a key for the environment shown above. Downloaded configs are canonical public-API examples.

Secure key setup (Bash — Linux, macOS, WSL)

# Bash (Linux / macOS / WSL) — prompt once, keep the key out of history
read -r -s -p 'Teralor API key: ' TERALOR_API_KEY; printf '\n'; export TERALOR_API_KEY

Confirm YOUR access and limits (run before configuring anything else)

# Metadata check with YOUR customer key (process substitution keeps it out of argv)
curl -fsS --header @<(printf 'Authorization: Bearer %s\n' "$TERALOR_API_KEY") https://api.teralor.com/v1/models

Worker setup

Hermes worker paths

Both paths use the same public API and recommended budget. Choose native delegation for Hermes, or an external Hermes process for another harness.

Path A — Hermes native delegation child

Merge the provider and delegation blocks into your current orchestrator profile. Leave its own model and context settings unchanged. Replace YOUR_PROFILEwith that profile's name:

Configure, enable delegation, then restart

hermes -p YOUR_PROFILE config edit
hermes -p YOUR_PROFILE tools enable delegation
hermes -p YOUR_PROFILE chat

hermes-executor.yaml

Download hermes-executor.yaml

Merge into your current orchestrator profile config. Do not replace the whole file.

The named provider resolves Flash's endpoint and key together and supplies its 262144-token context. Do not add delegation.context_length or delegation.max_tokens: this version does not consume them. A lower parent compaction cap still wins; max_iterations counts turns. Native children do not load a standalone worker profile. See the Hermes delegation guide.

View hermes-executor.yaml
# Teralor Flash as a NATIVE DELEGATION WORKER under your existing Hermes
# orchestrator profile. Merge into the CURRENT orchestrator profile config
# (hermes -p YOUR_PROFILE config edit). This file deliberately contains NO
# model/context/compression top-level sections: the parent model and its
# context stay exactly as they are. Restart in a fresh session with the
# delegation tool enabled.
# The named provider below resolves its own endpoint and key via key_env, so
# base_url/api_key are omitted to avoid the direct-endpoint branch, which
# can inherit the parent's key. There is no delegation.context_length or
# delegation.max_tokens option (they are ignored/nonexistent): the provider
# model metadata below supplies the child's 262144 context. A lower global
# compression.threshold_tokens can still clamp children. max_iterations counts
# turns, not output tokens. Native children do NOT load the separate
# flash-worker profile.
providers:
  teralor-flash:
    api: https://api.teralor.com/v1
    key_env: TERALOR_API_KEY
    transport: chat_completions
    default_model: Flash
    discover_models: true
    models:
      Flash:
        context_length: 262144
    extra_body:
      max_tokens: 32768
delegation:
  model: Flash
  provider: custom:teralor-flash
  compression_threshold_tokens: 172032
  max_concurrent_children: 1
  max_iterations: 50

Path B — Standalone Flash worker (portable executor)

Install Hermes from its official guide, then create a dedicated worker profile. Download hermes-primary.yaml and merge it into the new profile. Keep the original harness's model/provider config unchanged.

One-time worker profile setup

hermes profile create flash-executor
hermes -p flash-executor config edit   # merge hermes-primary.yaml here

Launch a bounded task in an isolated, task-owned directory

cd /path/to/isolated/worktree
hermes -p flash-executor chat --oneshot --max-turns 8 \
  -q "Read README.md and summarize it. Do not edit files."

Have the parent run this command through its terminal tool and inspect the returned result. For real tasks, use --query-file task.mdwith the goal, allowed files and acceptance checks. The prompt's read-only instruction is not a sandbox; retain tool approvals and isolation.

Per-parent notes

Executors under each harness

Every note below keeps the parent's own model unchanged. ZCode delegates through a native subagent; Cursor drives the standalone Hermes worker; Codex and Claude Code support Flash as executor only.

ZCode — native subagent

Reuse the same provider and Advanced-limits setup as the ZCode primary guide, but leave the primary model unchanged. These GUI instructions follow the linked ZCode docs and are not a claim of live Flash certification.

  1. Install ZCode from its official docs, then open the chat model selector → Manage Models → Settings / Model Settings (the docs also call this Model Providers). See the ZCode configuration docs.
  2. Add a Provider named Teralor Flash; choose the OpenAI-compatible protocol/endpoint, not Anthropic. The API base URL must be https://api.teralor.com/v1(match the environment), and enter your own matching customer key in the app's API-key field — never paste the key into chat or source control.
  3. Add a Model with the exact ID Flash and enable the provider/model.
  4. Open the model's Advanced settings: context window 262144, Max output tokens 32768, or lower if your authenticated /v1/models result says so. These are the product context and recommended per-reply output, not additive limits. Custom-provider context edits apply to new sessions after saving.
  5. Keep optional thinking controls unset unless your route supports them. Provider options only accept connection fields — arbitrary reasoning/extra_body keys are silently ignored.
  1. Go to Settings → Subagents → New (custom subagents are Beta and user-level). Name it flash-executor and choose the configured Flash model explicitly — not Inherit default.
  2. For the first read-only check allow only Read/Grep/Glob; add Edit/Write/Bash only for authorized coding. The description tells the primary when to delegate; the system prompt specifies goal, allowed files, tests and result format. See the ZCode agents docs.
  3. Save and enable, then start a new session (running sessions do not hot-reload). Invoke @flash-executor and verify the returned result with the unchanged primary model.

ZCode saves definitions under ~/.zcode/agents/<name>.md; select the model/provider in the UI rather than inventing an ID in a downloadable file. Optionally add a workflow skill at ~/.zcode/skills/flash-executor/SKILL.md, enable it via Settings → Skills → Refresh and invoke $flash-executor — a skill adds instructions; it is not a subagent or provider configuration. See the ZCode skill docs.

Cursor — standalone Hermes worker

Pinning an explicit custom/BYOK Flash model via a .cursor/agents model: field is not supported currently: support confirms model: inheritonly works when the parent already uses that custom model — which is not unchanged-primary executor mode. Instead, keep Cursor's model, key and base-URL settings unchanged and use the standalone Hermes worker path above through Cursor's terminal tool: first run the full runnable read-only command shown in Path B, then pass a task.md via --query-file and inspect the artifacts.

Hermes, your customer-key environment, the workspace and approved tool/network access must exist on the machine actually running the terminal — a local install does not automatically exist in SSH or Cloud workspaces. Do not disable all sandboxing. Optionally add .cursor/skills/flash-executor/SKILL.md (or the shared .agents/skills location), restart/discover, then /flash-executor to attach instructions — this does not configure model routing. See the Cursor skills docs.

Codex — executor only

Using Flash as the orchestrator in Codex is not possible at the moment — Flash is an executor here only. Keep Codex's own model unchanged and drive the standalone Hermes worker from Codex, then optionally load the workflow skill into Codex once a bounded worker task succeeds.

Claude Code — executor only

Using Flash as the orchestrator in Claude Code is not possible at the moment — Flash is an executor here only. Keep Claude's own model unchanged and drive the standalone Hermes worker from Claude Code, then optionally load the workflow skill once a bounded worker task succeeds.

Skills come after configuration

Once a bounded worker task succeeds, install the optional workflow skill in the parent harness:

  • Claude Code: .claude/skills/flash-executor/SKILL.md
  • Codex: .agents/skills/flash-executor/SKILL.md
  • Cursor: .cursor/skills/flash-executor/SKILL.md
  • ZCode: ~/.zcode/skills/flash-executor/SKILL.md (enable via Settings → Skills → Refresh)
  • Hermes: the active profile's skills directory
  • Pi: .pi/skills/flash-executor/SKILL.md

Tell the parent to use the configured Flash worker, not an inherited default subagent. The skill adds task-scoping and review instructions; it does not install the connection.

Verify before your first real task

  • Confirm the selected model is Flash, the endpoint is the public API and the expected context and output settings are loaded in a fresh session. Then run one small read-only task and check its result.
  • Our public Flash execution path uses Hermes workers. The server's separate internal Codex endpoints and smaller worker window are local policies, not settings required on your machine.
  • Settings were checked against Hermes 0.21 and Codex 0.151 source. Pi is documentation-backed. The ZCode and Cursor GUI instructions follow the linked vendor docs and support notes and are not a claim of live Flash certification. Syntax and budgeting checks are not end-to-end compatibility tests.

Harness skill

Flash Executor

Your AI leads. Flash executes.

Keep planning, decisions, and final review with your preferred assistant. Delegate bounded tasks to Flash, running independent work in parallel when your harness supports it.

Download skill
View skill instructions