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

@weaveintel/live-agents-runtime

v0.1.1

Published

Generic, DB-driven runtime atop @weaveintel/live-agents — handler registry + built-in plugins (agentic.react, deterministic.forward).

Readme

@weaveintel/live-agents-runtime

Turns database rows into running live agents — a handler registry plus built-in plugins that hydrate a whole mesh from the DB in one call.

Why it exists

@weaveintel/live-agents gives you the moving parts of a persistent agent, but someone still has to decide what kind of agent each one is and wire it up. In a real product those decisions live in a database: this agent runs an LLM loop, that one just forwards messages, this one waits for human approval. Hard-coding that in TypeScript means a deploy for every change. Think of a stage manager who reads the night's cast list and props sheet, then sets up each performer — same crew, different show every night, no rebuild. This package is that stage manager: register named "handler kinds" once at boot, store which kind each agent uses in a row, and let the runtime resolve and run them.

When to reach for it

Reach for @weaveintel/live-agents-runtime when your agents, meshes, and tool bindings are configured in database rows and you want them provisioned and driven without hand-wiring. If you're constructing agents directly in code, you don't need this layer — use @weaveintel/live-agents on its own. This package sits strictly on top of it.

How to use it

import {
  createDefaultHandlerRegistry,
  weaveLiveMeshFromDb,
} from '@weaveintel/live-agents-runtime';

// Registry pre-loaded with built-in kinds: agentic.react, deterministic.forward,
// human.approval, a2a.inbound/outbound, and more.
const handlerRegistry = createDefaultHandlerRegistry();

// One call composes provision → registry → heartbeat supervisor → run bridge.
const handle = await weaveLiveMeshFromDb(db, {
  store,
  handlerRegistry,
  modelResolver,      // optional — per-tick model selection
  policy,             // optional — tool approval / rate-limit / audit bundle
});

// ... agents now run against the DB blueprint.
await handle.stop();

What's in the box

| Export | What it does | |---|---| | HandlerRegistry, createHandlerRegistry, createDefaultHandlerRegistry | Register named handler kinds; the default comes pre-loaded with the built-ins. | | agenticReactHandler | LLM ReAct loop over the agent's inbox. | | deterministicForwardHandler / deterministicTemplateHandler / deterministicMapReduceHandler | Pure routers, template renderers, and fan-out/reduce — no LLM. | | humanApprovalHandler | Dual-control gate backed by approval-request rows. | | a2aInboundHandler / a2aOutboundHandler | Talk to remote agents over A2A. | | agenticComputerUseHandler, agenticBrowserHandler, agenticCodeInterpreterHandler, agenticVoiceRealtimeHandler, agenticMultimodalHandler, multiAgentSwarmHandler, externalMcpToolHandler | Expanded handler catalog for richer agent behaviours. | | weaveLiveMeshFromDb / weaveLiveAgentFromDb | One-call hydration of a whole mesh, or a single agent, from DB rows. | | provisionMesh, createHeartbeatSupervisor, bridgeRunState | The lower-level pieces weaveLiveMeshFromDb composes, if you need them directly. | | weaveDbModelResolver, resolveAgentModelSpec | Pick a model per tick from routing hints stored on the agent row. | | weaveDbLiveAgentPolicy, resolveAgentToolCatalog | Resolve an agent's tool surface and policy from the DB. | | parsePrepareConfig, dbPrepareFromConfig | Turn a JSON prepare recipe on the row into a real prepare() function. | | createDurableLiveAgentCheckpointStore | Persist tick continuity so a restart resumes cleanly. |

License

MIT.