Skip to content
@usepons

Pons

Pons is a microkernel OS for you agents.

Pons Logo

Pons

A modular microkernel platform for building thinking systems.
Compose intelligent agents from isolated, interchangeable modules.

Kernel stars JSR @pons/kernel JSR @pons/sdk Deno TypeScript MIT License

What is Pons?

Pons is a microkernel platform that runs intelligent modules as isolated processes, coordinated through a central kernel via IPC. Think of it as a minimal, composable OS for AI-powered systems — where every capability is a module, nothing is hardcoded, and the kernel stays thin.

"The smallest seed of a thinking system." Modules never import each other directly. All communication — events, RPC calls, config updates — flows through the kernel. This makes the system hot-swappable, observable, and easy to extend.


Architecture

┌──────────────────────────────────────────────────────┐
│                        Kernel                        │
│                                                      │
│   ┌─────────────┐  ┌──────────────┐  ┌───────────┐  │
│   │  Message Bus │  │   Lifecycle  │  │ Service   │  │
│   │  (pub/sub)   │  │   Manager   │  │ Directory │  │
│   └──────┬──────┘  └──────┬───────┘  └─────┬─────┘  │
└──────────┼───────────────┼────────────────┼─────────┘
           │               │                │
      ┌────┴──┐       ┌────┴───┐      ┌────┴────┐
      │ Agent │       │  LLM   │      │ Gateway │  ...
      └───────┘       └────────┘      └─────────┘
       process          process         process

Modules communicate only through the kernel. Hot-swap, restart, and discovery are built in.


Repositories

Repository Description
kernel The microkernel — message bus, lifecycle manager, RPC routing, service directory, config
sdk TypeScript SDK for building Pons modules — base class, types, utilities
cli CLI tool to install, manage, and operate your Pons system
module-gateway HTTP REST + WebSocket gateway module
module-llm Multi-provider LLM module (OpenAI, Anthropic, and more)
module-agent Agent runtime module for autonomous task execution
web Web interface for the Pons platform

Getting Started

Installation

You can install Pons using the automated install scripts, which will handle Deno installation if needed:

For macOS and Linux:

curl -fsSL https://raw.githubusercontent.com/usepons/.github/main/install.sh | sh

For Windows (PowerShell):

irm https://raw.githubusercontent.com/usepons/.github/main/install.ps1 | iex

Alternatively, install Pons via the CLI directly (requires Deno):

deno install -gA -n pons jsr:@pons/cli

Quick Start

Once installed, start your Pons system:

pons install && pons onboard

To build your own module, use the SDK:

# deno.json
{
  "imports": {
    "@pons/sdk": "jsr:@pons/sdk@^0.2"
  }
}
import { ModuleRunner } from "@pons/sdk";
import type { ModuleManifest } from "@pons/sdk";

class MyModule extends ModuleRunner {
  readonly manifest: ModuleManifest = {
    id: "my-module",
    name: "My Module",
    description: "Does something useful",
    subscribes: ["some.topic"],
  };

  protected override async onMessage(topic: string, payload: unknown) {
    this.log("info", `Received: ${topic}`);
  }
}

new MyModule().start();

Core Concepts

Message Bus — Modules publish and subscribe to topics. The kernel routes messages. No persistence, no retry — pure fire-and-forget.

RPC — Request/response calls between modules go through the kernel's service directory. The kernel resolves service names to module IDs and routes responses back with a 30s timeout.

Module Lifecycle — Each module runs as an isolated child process. The kernel handles spawn, kill, restart with exponential backoff, and hot-swap.

Service Directory — Modules declare what they provides and requires. The kernel ensures dependencies are satisfied before a module activates.

Configuration — Layered YAML config at ~/.pons/config.yaml. Modules own a config section. Hot-reload via SIGUSR1.


Contributing

All repositories follow the same contribution guidelines. See CONTRIBUTING.md in the kernel repo to get started.


Built with 🖤 by CyberWolf.Studio · Powered by Deno · MIT Licensed
© 2026 Pons · github.com/usepons

Popular repositories Loading

  1. kernel kernel Public

    Main core part of Pons

    TypeScript 5

  2. sdk sdk Public

    SDK used to build modules for Pons system

    TypeScript 3

  3. cli cli Public

    CLI allowing you to manage your installed Pons system

    TypeScript 3

  4. module-gateway module-gateway Public

    HTTP REST + WebSocket gateway module for the [Pons](https://github.com/usepons) platform.

    TypeScript 3

  5. module-llm module-llm Public

    Multi-provider LLM module for the [Pons](https://github.com/usepons) platform.

    TypeScript 3

  6. module-agent module-agent Public

    Agent runtime module for the [Pons](https://github.com/usepons) platform.

    TypeScript 3

Repositories

Showing 8 of 8 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…