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

@oribos/core

v0.9.0

Published

Oribos core — TypeScript agent framework with zero runtime dependencies: model contract, agents, tools, and observability.

Readme

@oribos/core

The core package of Oribos — a TypeScript agent framework with zero runtime dependencies: model contract, agents, tools, memory, workflows, observability, signals, durable agents and schedules, each behind its own subpath export. Compose only what you use: what you don't import costs you nothing, not in the dependency tree and not in concept space. Model instances come straight from the AI SDK provider ecosystem and tool schemas are Standard Schema dual interfaces.

import { openai } from '@ai-sdk/openai';
import { Agent } from '@oribos/core/agent';
import { createTool } from '@oribos/core/tools';
import { z } from 'zod';

const weather = createTool({
  description: 'Looks up the current weather for a city.',
  inputSchema: z.object({ city: z.string() }),
  execute: ({ city }) => ({ city, celsius: 18 }),
});

const agent = new Agent({
  name: 'assistant',
  instructions: 'You are concise. Use the weather tool for weather questions.',
  model: openai.chat('gpt-4o-mini'),
  tools: { weather },
});

const result = agent.stream('What is the weather in Paris right now?');

for await (const chunk of result) {
  if (chunk.type === 'text-delta') process.stdout.write(chunk.textDelta);
}

console.log(await result.finishReason, await result.usage);

Install

npm install @oribos/core zod @ai-sdk/openai

Requires Node.js ≥ 22.13. The provider package (any AI SDK provider, any OpenAI-compatible endpoint behind one) and the schema library (zod or any other Standard Schema implementation) are yours to pick — the core has no runtime dependencies of its own.

Import map

| Import path | What it gives you | | --- | --- | | @oribos/core | createApp — the optional composition root | | @oribos/core/agent | Agent, dynamic arguments, structured output, processors | | @oribos/core/model | the model contract and chunk protocol types | | @oribos/core/tools | createTool and the tool types | | @oribos/core/memory | Memory, createInMemoryStore, the memory storage ports | | @oribos/core/workflows | createWorkflow, createStep, snapshot store | | @oribos/core/observability | createTracer, console / memory exporters, span types | | @oribos/core/signals | createSignals — inject / wake / queue on a thread | | @oribos/core/durable-agent | createDurableAgent, the approval gate, AgentRunSnapshotStore | | @oribos/core/schedules | createSchedules, tick, ScheduleStore |

The composition root

createApp is an optional thin assembly point: one tracer and one set of storage ports handed to every subsystem built through the app, so there is no per-agent wiring.

import { createApp } from '@oribos/core';
import { createInMemoryStore } from '@oribos/core/memory';
import { consoleExporter, createTracer } from '@oribos/core/observability';

const app = createApp({
  tracer: createTracer({ exporters: [consoleExporter()] }),
  storage: { memory: createInMemoryStore() }, // one slot per storage port; in-memory by default
});

const agent = app.agent({ name: 'assistant', instructions: '…', model, tools });

Subsystems stay fully usable without it — a standalone new Agent({ … }) with no app and no tracer is first-class, with zero span overhead. Explicit assembly wins: a config that brings its own tracer / memory / storage is never taken over.

Install only what you use

  • runtime dependencies: none — the zero-dependency redline is a hard CI gate over both the manifest and the built output (ADR-0015)
  • first-party code: the minified baseline lives in byte-budget.json and is checked on every PR — an internal regression reference, not a public budget (ADR-0001)
  • the capability packages ship separately, so a deployment installs only what it uses

License

Apache-2.0