agent-steward
Local-first agent orchestration framework with an OpenCode V1 (≥ 1.18.29)/V2 plugin as its current entry point — cron, one-shot runs, DAG pipelines, matrix builds, quality gates, SQLite history and a local web dashboard. The same core is also available via MCP, CLI and standalone mode. Runs on Windows, macOS and Linux. Free and open source (MIT).

Translations: Russian · 中文.
Quickstart
-
Install the plugin (see Install) and restart OpenCode.
-
Ask the agent to schedule your first job — one call is enough:
Schedule a task "morning-report" that runs every day at 09:00 with the prompt: "Summarize yesterday's git commits and write the report to ~/reports/".
-
Open the dashboard to watch it run: the agent prints the URL when the task is created (default http://localhost:3782), or ask for it later with the get_dashboard_info tool. Prefer a preview without installing anything? node scripts/demo-dashboard.mjs starts a demo dashboard at http://localhost:3782.
Why
Most schedulers for AI agents are cron wrappers: they run a prompt on a timer and write a log file. This plugin treats agent jobs as workflows:
- DAG pipelines — a job waits for its dependencies, chains on success/error.
- Matrix builds — one template, N repositories, parallel or sequential, with concurrency limits and per-workspace overrides.
- Quality gates — a job is marked successful only if
npm test (or any command) passes.
- Observability — SQLite history, metrics, logs, and a local web dashboard.
- Runs without OpenCode open - cron and one-shot jobs are registered with the native OS scheduler (Windows Task Scheduler, launchd, crontab) and survive reboots. File, git and MCP-event triggers are watched inside the plugin process, so they need OpenCode running.
Everything runs on your machine. No SaaS, no telemetry, no accounts.
Want to see it without installing OpenCode? node scripts/demo-dashboard.mjs starts the dashboard with demo data at http://localhost:3782.
Features
| Area |
What you get |
| Scheduling |
cron expressions, one-shot runs via runAt / delaySeconds, native OS scheduler (Windows / macOS / Linux), IANA timezones (native where possible, minute-poll + gate otherwise), pause/resume, session continuity (new / reuse / last with sessionMaxRuns cleanup) |
| Reliability |
lock-file no-overlap protection, timeouts with hard kill, retries with delay, crash recovery |
| Quality |
Quality Gate command, before/after hooks, per-task allowed/denied tool lists |
| Orchestration |
dependsOn DAG, nextTaskOnSuccess / nextTaskOnError chains, matrix fan-out (parallel/sequential, continue/stop, concurrency, per-workspace overrides, aggregator task) |
| Triggers |
cron, one-shot (triggerType: "once"), git commits (triggerType: "git", branch/path/ignore filters), file change (chokidar, with glob masks watchGlobs/watchIgnore), MCP events, incoming webhooks (POST /api/hooks/:task with HMAC) |
| Multi-repo |
workspaces with path validation, per-workspace runs, matrix over one parent task |
| Observability |
SQLite history (success / error / timeout / partial / running), metrics (duration, tokens, cost), JSONL run logs with /api/logs, Prometheus /metrics, OTLP export, per-task logs, local web dashboard with 14-day analytics, history retention and CSV/JSON export |
| Operations |
dry-run preview, export/import JSON, templates, multi-channel notifications (webhook, Telegram, native OS toasts), quiet hours, digest, encrypted secrets (${secret:NAME}), audit log, settings |
| Interfaces |
OpenCode GUI panel, web dashboard, 34 agent tools, built-in agent skill |
Language
The interface ships in Russian, English, Simplified Chinese and Turkish. By default the language
selector is set to Auto — like OpenCode, it follows the OpenCode interface language;
Russian, English, Chinese and Turkish can be chosen explicitly. The selector sits in the scheduler
panel header (🌐 Auto / Русский / English / 中文 / Türkçe) and is also available through the
manage_settings tool (action: "update", locale: "zh").
locale: "auto" (the "Auto" option, used by default) follows the OpenCode interface language: the panel
reacts to language changes immediately, and the resolved locale is sent to the server so
notifications, digests and the dashboard use the same language. The switch applies
without a restart. The dashboard follows the resolved locale: Russian and English are
fully localized (its screenshot in docs/dashboard.png is the English variant);
Chinese and Turkish currently fall back to English for dashboard chrome until their catalogs are ready.
Agent tool descriptions and schemas stay English by design, and diagnostics printed
to the console stay Russian.
Catalogs live in locales/ru.json, locales/en.json, locales/zh.json and locales/tr.json; every key
must exist in all four, otherwise CI fails.
Documentation is separate from the interface locale: the English docs are the primary
source, with Russian (docs/README.ru.md) and Simplified Chinese (docs/README.zh.md,
docs/FEATURES.zh.md, docs/FAQ.zh.md, docs/SAVINGS.zh.md,
docs/CROSS_PLATFORM.zh.md) translations. Translations may lag behind the English
originals.
Install
Requires OpenCode V1 ≥ 1.18.29 or V2, and Node.js 26.4+ (the @opentui/core 0.9.0 dev dependency requires Node.js 26.4+; node:sqlite and chokidar 6 need 22.22+). See docs/COMPATIBILITY.md for version support and the V1/V2 surface (GUI and RPC are V2-only; TUI works on both).
The config key differs between lines:
| OpenCode line |
Key in opencode.jsonc |
V1 (1.18.29–1.19.x) |
"plugin": ["agent-steward"] |
V2 (≥ 2.2.7) |
"plugins": ["agent-steward"] |
Use the key of your line; there is no need to add both. On V2 the CLI does it for you:
opencode plugin add agent-steward
V1 — manual config:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["agent-steward"]
}
V2 — equivalent manual config:
{
"$schema": "https://opencode.ai/config.json",
"plugins": ["agent-steward"],
"experimental": {
"schedules": false
}
}
experimental.schedules: false disables the built-in OpenCode scheduler so the agent does not confuse built-in job tools with this plugin's tools. In OpenCode 2.x, config changes reload automatically; use /reload if the change is not picked up. On 1.x, restart OpenCode after editing the config. The TUI panel is part of the same package (exports["./tui"]), so it is enabled by the same entry on both lines.
From source:
git clone https://github.com/DeadSno/agent-steward.git
cd agent-steward
npm install
npm run build && npm run build:gui
Agent tools
The agent gets the full feature set — 34 tools covering scheduling, pipelines, operations, observability and administration: