Quiver

Artemis

Artemis agent runner

Run Artemis skills unattended on your own host, with agent MCP keys, run locks, CLI reference, schedulers, spend caps, and telemetry.

The Artemis agent runner (built-for-devs/artemis-agent) executes Artemis plugin skills on a schedule or deploy webhook without an interactive Claude session. Quiver Hosted supports the runner natively via agent MCP keys and the decisions, agent runs, rubrics, metrics, AI visibility, memory, and skills MCP tools.

Prerequisites#

  • Node.js 22.15.0 or later
  • A model provider API key (for example, ANTHROPIC_API_KEY for the default config)
  • A Quiver workspace and an agent MCP key (qvr_...), created by a workspace admin in Settings → API tokens

An agent MCP key carries the restricted agent role: it can read workspace state, load skills, save drafts, raise and complete decisions, record runs/metrics/visibility audits, and recall workspace memories, but it cannot change marketing context, answer decisions, edit rubrics, save memories, change settings, or delete records.

Always run doctor first to verify your configuration, Quiver connection, and host tooling before running or scheduling jobs.

Install and configure#

Clone the runner repository, install dependencies, copy the example config, and build:

git clone https://github.com/built-for-devs/artemis-agent.git
cd artemis-agent
npm install
cp artemis.config.example.ts artemis.config.ts
npm run build

Environment variables#

Keep all credentials in your host environment, never in source control:

  • QUIVER_MCP_URL: your workspace MCP URL, https://<slug>.quivergtm.dev/api/mcp. Replace <slug> with the part before .quivergtm.dev in your workspace URL.
  • QUIVER_AGENT_KEY: an agent MCP key (qvr_...) created by a workspace admin in Settings → API tokens (the runner authenticates with a bearer token rather than interactive OAuth).
  • Provider API key — export the key required by your configured models (for example, ANTHROPIC_API_KEY).
  • ARTEMIS_SKILLS_DIR (optional): read skills from a local checkout of built-for-devs/artemis instead of Quiver's get_skill, for offline or air-gapped runs. Workspace rubrics and integrations still come from Quiver.

Edit artemis.config.example.ts to configure your model choices, timezone, host adapter, and optional data or outbound connectors.

Verify before running jobs#

Run doctor first and confirm all required Quiver agent tools, pricing, integrations, and host checks pass before executing or scheduling any job:

node dist/src/cli.js doctor

Only after doctor succeeds:

node dist/src/cli.js run daily-review
node dist/src/cli.js schedule install --dry-run

schedule install --dry-run previews the scheduler files without writing them.

Jobs, locks, and carry-out#

Each job definition selects a skill, tools, schedule, and timeout. Jobs run manually, on a schedule, or—for change-pipeline—from a signed deploy webhook.

  • Run locking: Runner executions start with host: "runner" and a required timeout_sec, taking a job lock in Quiver for timeout_sec + 5 minutes. Quiver refuses overlapping runs (locked), paused jobs (paused), or same-day reruns of daily/weekly jobs (already_ran_today; --force bypasses only the same-day check, never a pause or active lock). Interactive Claude sessions (claude-app) and Claude scheduled tasks (scheduled) never take or block the runner's lock.
  • Expired locks: If a runner process dies while holding a lock, the next start marks the stale run lock expired and raises a system decision (<run_id>:lock-expired) visible on the Decisions page.
  • Drafts and carry-out: Jobs can save drafts and raise decisions, but never publish on their own. Only carryout calls outbound connectors (LinkedIn, X, email, or opening a GitHub PR when configured), and only after a human answers yes on the proposed decision in Quiver (/decisions) or via /artemis:decisions.
  • Observability: Run summaries, cost, paused jobs, and errors appear on the Runs page (/runs); pending questions and carry-out status appear on the Decisions page (/decisions). See Decisions and agent runs for full details.

CLI reference#

Run these subcommands with node dist/src/cli.js from the artemis-agent directory:

CommandDescription
doctorCheck configuration, required Quiver agent tools, model pricing, integrations, host tooling, and telemetry.
run <job> [--force] [--audience <slug>]Run one job immediately. For daily/weekly jobs, --force bypasses the same-day completion check, but never an active lock.
carryoutProcess answered decisions in the order they were answered.
schedule install [--dry-run | --uninstall]Install scheduler configuration, preview it, or remove what the installer wrote.
reportShow scoring, agreement between recommendations and human answers, and model spend.
logs <run_id> [--follow]Read or tail a run log on a host with local log files.
eval <skill> | eval --allRun skill evaluations against a fixture workspace (uses real model calls).

Supported hosts#

HostAdapterScheduling model
LocallocalUses launchd on macOS and cron on Linux.
VercelvercelUses cron-triggered functions (Hobby supports daily cron; Pro supports higher frequencies).
NetlifynetlifyA scheduled function queues work for a background function.
RailwayrailwayA single persistent process hosts the deploy webhook and runs the scheduler.

Jobs marked hosted: false are excluded from Vercel and Netlify schedules.

Model spend and telemetry#

Set models.spend.perJobUsd and models.spend.perDayUsd in artemis.config.ts to bound model spend:

  • The gateway refuses unpriced models and checks spend before and after each call.
  • An in-flight call can cross a cap; when that happens, the job stops rather than starting another call.
  • Treg uses its own credentials and billing.

On local and railway hosts, run logs are written as JSON lines under runs/ by default. On vercel and netlify, logs go to the host log stream. Set OTEL_EXPORTER_OTLP_ENDPOINT (and OTEL_EXPORTER_OTLP_HEADERS if auth is required) to export traces and logs to an OpenTelemetry backend. Quiver stores run state and summaries, not raw agent logs.

Privacy and security#

The runner executes on your infrastructure with your keys. By default, model-call logs record sizes and hashes rather than prompt and response text. Enabling logs.content can send workspace content to host logs and configured telemetry backends—review access and retention policies before enabling it, even though keys and tokens are redacted.

Report runner security issues through the artemis-agent repository.