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

@kernova/core

v1.6.0

Published

Kernova Core - The AI Agent Runtime Engine

Readme

@kernova/core

The Kernova Runtime Engine — the kernel that powers AI agent applications.

Most developers should use @kernova/framework or @kernova/sdk instead. This package is for advanced use cases where you need full control over the runtime.

Installation

npm install @kernova/core @kernova/types

What It Does

@kernova/core is the full runtime engine. It handles:

  • Intent processing — Submit structured goals, get results with evidence
  • Agent orchestration — Register agents, score capabilities, route intents
  • Memory — Five-layer persistent storage with full-text + semantic search
  • Events — Every action tracked in SQLite, queryable, streamable
  • Tools & Plugins — Register functions agents can call autonomously
  • Workflows — Multi-step execution with human approval and compensation
  • Identity — API keys, sessions, roles, permissions, organizations
  • Budgets — Token limits, rate limiting, cost caps
  • Models — 20+ providers, auto-detected, with fallback chains
  • Streaming — Token-by-token response streaming
  • Multi-agent — Delegation, ask, broadcast between agents
  • Studio — Web dashboard for inspection

Quick Start

import { KernovaKernel, defineAgent } from '@kernova/core';

// Create the runtime
const kernel = new KernovaKernel({
  environment: 'development',
  debug: true,
});

// Define an agent
const assistant = defineAgent({
  name: 'assistant',
  description: 'A helpful assistant',
  capabilities: [{ id: 'general', name: 'General', description: 'General help', confidence: 0.9 }],
  tools: [],
  instructions: 'You are helpful and concise.',
});

// Register and start
kernel.agentRegistry.register(assistant.definition, assistant.executor);
await kernel.start();

// Submit an intent
const result = await kernel.submit({ goal: 'What is 2+2?', intentType: 'query' });
console.log(result.result?.summary);

// Stop
await kernel.stop();

Environment Variables

Set at least one model provider key:

export OPENAI_API_KEY=sk-...        # or
export ANTHROPIC_API_KEY=sk-ant-... # or
export DEEPSEEK_API_KEY=sk-...      # or any of 20+ providers

Key APIs

| API | Description | |-----|-------------| | KernovaKernel | The runtime kernel — start, submit, stop | | defineAgent() | Define agents with instructions and optional custom logic | | kernel.events | Event bus — subscribe, query, stream | | kernel.memoryEngine | Memory — store, query, decay | | kernel.plugins | Plugin registry — tools, middleware | | kernel.workflows | Workflow engine — define, execute, approve | | kernel.identity | Identity — users, keys, sessions, permissions | | kernel.budget | Budget — limits, tracking, enforcement | | kernel.models | Model router — complete, stream, embed | | kernel.gateway | Agent Gateway API server | | kernel.scheduler | Cron job scheduler | | kernel.taskQueue | Priority task queue with retries | | kernel.channels | Inbound/outbound messaging adapters | | kernel.triggers | Event-driven proactive triggers | | DevServer | Development server with hot-reload |

For a Simpler API

Use @kernova/sdk for less boilerplate:

import { Kernova } from '@kernova/sdk';
const app = await Kernova.create();
app.agent('assistant', { instructions: 'You are helpful.' });
const { answer } = await app.ask('Hello!');
await app.close();

Or use @kernova/framework for a full-stack app:

npx create-kernova-app my-app

Documentation

Full docs at kernova.dev