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

@beyondnet/evolith-agent-runtime

v1.0.0

Published

Evolith Agent Runtime — decoupled agentic layer that operates Evolith Core through Ports & Adapters (.harness, Core Evaluation, OPA, Tracker, Memory, Scheduler, Hermes). Hexagonal; no runtime/LLM technology is a domain dependency.

Readme

@evolith/agent-runtime

Bilingual Navigation: Versión en Español

Evolith Agent Runtime — a decoupled agentic layer that operates Evolith Core through Ports & Adapters (Hexagonal Architecture). It orchestrates, remembers, validates and executes Core capabilities through ports. It does not replace .harness (the official governed executor) and does not depend on Hermes or any LLM framework (those are optional, replaceable adapters).

Architecture docs: reference/core/architecture/foundations · Decision: core/ADR-0102.

Install

This package is part of the Evolith monorepo workspaces. Build it with the rest of the graph (npm run build at the root) or standalone:

npm --workspace @evolith/agent-runtime run build
npm --workspace @evolith/agent-runtime test

Quickstart

import { createAgentRuntime, parseAgentRuntimeRequest } from '@evolith/agent-runtime';

const { runtime, deps } = createAgentRuntime(); // safe stub/in-memory adapters
const result = await runtime.handle(parseAgentRuntimeRequest({
  intent: 'validate_discovery_gate', tool: 'validate-discovery-gate',
  tenant: 'acme', initiative: 'init_001', phase: 'discovery', gate: 'prd_readiness',
  parameters: { requiredArtifacts: ['prd'], presentArtifacts: ['prd'] },
}));

A runnable example: examples/validate-discovery-gate.mjs.

Architecture

The package is hexagonal: domain (contracts, ports, tokens), application (the orchestration service + pure mappers), adapters (concrete tech), and a bootstrap factory. No framework or LLM is a domain dependency.

Ports

IAgentRuntime, IHarnessPort, ICoreEvaluationPort, IPolicyValidationPort, ITrackerTracePort, IMemoryPort, ISkillRegistryPort, ISchedulerPort, ICommunicationGatewayPort, IApprovalPort, IAgentEnginePort.

Adapters

Defaults are in-memory/stub. Real adapters: HarnessProcessAdapter (reads .harness/manifest.yaml), OpaCliPolicyValidationAdapter, HttpTrackerTraceAdapter, InProcessCoreEvaluationAdapter / HttpCoreEvaluationAdapter (run the real stateless Core, in-process or over the Core API), FileSchedulerAdapter / FileMemoryAdapter (durable, file-backed), and HermesAgentAdapter (optional engine).

Versioning & contract stability

This package follows SemVer. The public surface is the three subpath exports declared in package.json. (main), ./ports, and ./adapters. The public-surface.spec.ts guard freezes the runtime value surface of . and ./adapters, so adding, removing or renaming a public export is a deliberate, reviewed change.

  • ./ports is a type-only surface (port interfaces + canonical contract types). It is frozen at the type level — the consumer's tsc is the guard.
  • schemaVersion on EvaluationResult (and any other versioned contract) is independent of the package version: it is bumped only on an incompatible change to that contract's shape, never for additive fields.
  • Deprecation: a public export is marked @deprecated (naming its replacement) for at least one minor before removal; a removal or rename ships in a major, additive exports ship in a minor.

Scripts

npm run build                  # tsc -> dist/
npm test                       # jest
npm run example:discovery-gate # run the end-to-end example (after build)