npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@artificer-ai/runtime

v0.9.4

Published

Artificer agent runtime — HTTP API and orchestration engine with bundled dashboard

Readme

@artificer-ai/runtime

A containerized agent runtime. It runs as a single web server that is an agent entity: you talk to it like a person (send it messages), it does work using its own credentials, and it persists everything as files on disk.

Unlike a single long "conversation" with a model, the runtime orchestrates many small, hierarchical LLM calls.

The orchestration model

Every role is one LLM call (an Anthropic tool-use loop). The shared orchestrator tool lets any call query system state and spawn child calls, which is what enables arbitrary depth.

inbound message
      │
      ▼
 communicator ── reply ──▶ you
      │  (start / steer / status)
      ▼
 orchestrator ◀────────────────┐  (re-invoked after every child finishes)
   │ invoke_call               │
   ├──▶ planner  ── plan.md ───┤
   ├──▶ worker   ── 1 file ────┤
   └──▶ reviewer ── notes ─────┘
  • communicator — the only role that talks to the outside world; routes intent.
  • orchestrator — owns a workstream, deals out work, re-invoked with each result.
  • planner — produces a plan artifact (plan.md).
  • reviewer — reviews a plan or work and records notes.
  • worker — implements a single focused unit (usually one file).

Per-call model selection

Each call picks a model by complexity tier rather than using one model everywhere. Defaults: communicator=low, orchestrator=medium, planner=high, reviewer=medium, worker=high. Tiers map to model ids via ANTHROPIC_MODEL (medium), ANTHROPIC_MODEL_LOW, and ANTHROPIC_MODEL_HIGH. Override a role's tier with RUNTIME_TIER_<ROLE> (e.g. RUNTIME_TIER_WORKER=medium), and the orchestrator can dynamically set complexity per spawned call via invoke_call. The model used is recorded on each run, so GET /usage breaks cost down by model.

Storage layout (under ARTIFICER_DATA_DIR)

messages/                 conversation with the outside world (one file per message)
workstreams/<id>/
  workstream.json         status + running summary
  plan.md                 planner artifact
  tasks/<taskId>.json     unit-of-work records
  reviews/<reviewId>.json reviewer notes
runs/<runId>.json         full record of every LLM call (role, task, tool calls, output)
memories/                 long-term notes the agent can query
workspace/<id>/           per-workstream working directory (repos, edited files)

HTTP API

  • POST /messages { "content": "..." } — send the agent a message (async).
  • GET /messages — full conversation history.
  • GET /state — high-level snapshot: workstreams, queue, what's running now.
  • GET /workstreams / GET /workstreams/:id — workstream detail (tasks, reviews, plan, runs).
  • GET /events — Server-Sent Events stream of state changes (for a future UI).
  • GET /health.

Run locally

cp .env.example .env   # set ANTHROPIC_API_KEY
pnpm install
pnpm dev               # http://localhost:4100

Send it a message:

curl -X POST localhost:4100/messages \
  -H 'content-type: application/json' \
  -d '{"content":"What are you currently working on?"}'

curl localhost:4100/state

Run in a container

pnpm docker:build
docker compose up

Work history persists in the runtime-data volume (mounted at /data).

Configuration

See .env.example. Key variables: ANTHROPIC_API_KEY, ANTHROPIC_MODEL, ARTIFICER_DATA_DIR, PORT, RUNTIME_CONCURRENCY, RUNTIME_MAX_ITERATIONS, RUNTIME_MAX_RUNS_PER_WORKSTREAM, AGENT_NAME.