Catalog npm
Back to packageRELEASE DETAILS

0.7.0

npm

@0xkobold/pi-kobold

Meta-extension for 0xKobold that bundles pi-orchestration, pi-gateway, pi-ollama, pi-learn, pi-persona, and development tools

0xkoboldgatewaymessagingorchestrationpersonapi-extensionpi-package
Published9 Apr 2026
Direct dependencies12
Transitive dependenciesNot calculated

README

Current package documentation

Pi-Kobold

Meta-extension for pi-coding-agent that bundles the 0xKobold ecosystem into a single install.

Installation

pi install npm:@0xkobold/pi-kobold

Bundled Sub-Extensions

ExtensionDescription
pi-orchestrationMulti-agent workflows and task delegation
pi-gatewayHermes-style multi-platform messaging gateway
pi-ollamaUnified Ollama provider (local + cloud)
pi-learnPersistent memory and reasoning
pi-mcpModel Context Protocol integration (stdio, SSE, WebSocket)

Installing pi-kobold activates all five. You can also install them individually:

# Pick and mix — no conflicts
pi install npm:@0xkobold/pi-ollama npm:@0xkobold/pi-learn

Duplicate registration is guarded — if a sub-extension was already loaded, pi-kobold skips it.

Tools

Core Tools

ToolDescription
kobold_initializeInitialize pi-kobold with LLM configuration
kobold_create_skillGenerate boilerplate for a new skill
kobold_create_extensionGenerate boilerplate for a new extension
kobold_statusShow status of all sub-extensions

Git Sync Tools

Generic git↔GitHub sync tools that work for any project, org, or directory structure. Two modes: subtree (monorepo subdirs → individual repos) and standalone (single repo → GitHub).

All settings are configurable via tool params, .git-sync.json config file, or auto-detected from git remotes.

ToolDescription
git_package_statusShow sync status of subdirectories or standalone repo
git_package_pushPush a subdirectory (subtree) or repo to GitHub
git_package_pullPull from GitHub into a subdirectory or repo
git_package_initCreate a GitHub repo and push initial content
git_issueList or create GitHub issues on any repo
git_prList or create pull requests on any repo
git_worktreeManage git worktrees for isolated development

These tools use git subtree for history-preserving sync and gh CLI for GitHub operations. The monorepo is the source of truth — changes flow from packages/<name>/ out to individual repos via git_package_push, and external contributions flow back in via git_package_pull.

Architecture

┌──────────────────────────────────────────────────────────────┐
│                         Pi-Kobold                            │
├──────────────┬──────────┬──────────┬──────────┬─────────────┤
│ Orchestrate  │ Gateway   │ Ollama   │ Learn    │ MCP         │
│ ──────────── │ ────────  │ ──────── │ ─────────│ ─────────── │
│ • Delegate   │ • Session │ • Local  │ • Observe│ • stdio     │
│ • Chain      │ • Secure  │ • Cloud  │ • Reason │ • SSE       │
│ • Parallel   │ • BG task │ • Vision │ • Dream  │ • WebSocket │
├──────────────┴──────────┴──────────┴──────────┴─────────────┤
│ Git Sync (7 tools — subtree + standalone)                    │
│ • push/pull • repo init • issues • PRs • worktrees • config │
└──────────────────────────────────────────────────────────────┘

Quick Start

# Install
pi install npm:@0xkobold/pi-kobold

# Check status
/kobold_status

# Initialize
/kobold_initialize

# Create a skill
/kobold_create_skill name="my-skill" description="Does something useful" path=".pi/skills/"

# Check package sync status
git_package_status()

# Push a subdirectory to its individual repo (subtree mode)
git_package_push(name="pi-gateway")

# Push a standalone project to GitHub
git_package_push(mode="standalone", org="my-org")

# Pull external changes back
git_package_pull(name="pi-ollama")

# Create a GitHub repo for a new project
git_package_init(name="my-app", org="my-org")

# Create a GitHub issue on any repo
git_issue(repo="pi-mcp", title="Bug: connection timeout", labels=["bug"])

LLM Executor

Pi-kobold provides a shared LLM executor that pi-orchestration uses for multi-agent workflows:

import { initializeKobold, orchestrate } from '@0xkobold/pi-kobold';

const executor = async (opts) => {
  // Your LLM call here
  return { content: "response", usage: { inputTokens: 0, outputTokens: 0, totalTokens: 0 } };
};

initializeKobold(executor);

const result = await orchestrate({ task: "plan a feature" });

Storage

Sub-extensions use SQLite via sql.js (WebAssembly) for cross-runtime compatibility (Node.js and Bun):

  • ~/.0xkobold/gateway-sessions.db — Gateway session data
  • ~/.0xkobold/gateway-security.db — Allowlists and pairing codes
  • ~/.0xkobold/gateway-background-tasks.db — Background task records
  • ~/.pi/memory/pi-learn.db — Learn memory and reasoning

Local Development

git clone https://github.com/0xKobold/pi-kobold
cd pi-kobold
npm install
npm run build
pi install ./

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 18

Native requirements
12 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0xkobold/pi-mcp
Environment
{
  "local_name": "@0xkobold/pi-mcp",
  "alias": false,
  "peer_metadata": null
}
^0.4.0runtime
@0xkobold/pi-learn
Environment
{
  "local_name": "@0xkobold/pi-learn",
  "alias": false,
  "peer_metadata": null
}
^0.4.0runtime
@0xkobold/pi-ollama
Environment
{
  "local_name": "@0xkobold/pi-ollama",
  "alias": false,
  "peer_metadata": null
}
0.4.1runtime
@0xkobold/pi-gateway
Environment
{
  "local_name": "@0xkobold/pi-gateway",
  "alias": false,
  "peer_metadata": null
}
0.5.2runtime
@0xkobold/pi-persona
Environment
{
  "local_name": "@0xkobold/pi-persona",
  "alias": false,
  "peer_metadata": null
}
^0.1.0runtime
@0xkobold/pi-orchestration
Environment
{
  "local_name": "@0xkobold/pi-orchestration",
  "alias": false,
  "peer_metadata": null
}
^0.3.0runtime
@0xkobold/pi-secret-guardian
Environment
{
  "local_name": "@0xkobold/pi-secret-guardian",
  "alias": false,
  "peer_metadata": null
}
^0.1.0runtime
@types/bun
Environment
{
  "local_name": "@types/bun",
  "alias": false,
  "peer_metadata": null
}
latestdevelopment
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.0.0development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^20.0.0development
@0xkobold/pi-mcp
Environment
{
  "local_name": "@0xkobold/pi-mcp",
  "alias": false,
  "peer_metadata": null
}
^0.4.0peer
@sinclair/typebox
Environment
{
  "local_name": "@sinclair/typebox",
  "alias": false,
  "peer_metadata": null
}
>=0.32.0peer
@0xkobold/pi-learn
Environment
{
  "local_name": "@0xkobold/pi-learn",
  "alias": false,
  "peer_metadata": null
}
^0.4.0peer
@0xkobold/pi-ollama
Environment
{
  "local_name": "@0xkobold/pi-ollama",
  "alias": false,
  "peer_metadata": null
}
0.4.1peer
@0xkobold/pi-persona
Environment
{
  "local_name": "@0xkobold/pi-persona",
  "alias": false,
  "peer_metadata": null
}
^0.1.0peer
@0xkobold/pi-orchestration
Environment
{
  "local_name": "@0xkobold/pi-orchestration",
  "alias": false,
  "peer_metadata": null
}
^0.3.0peer
@0xkobold/pi-secret-guardian
Environment
{
  "local_name": "@0xkobold/pi-secret-guardian",
  "alias": false,
  "peer_metadata": null
}
^0.1.0peer
@mariozechner/pi-coding-agent
Environment
{
  "local_name": "@mariozechner/pi-coding-agent",
  "alias": false,
  "peer_metadata": null
}
>=0.65.0peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "f0c633b00f468c75de7262d0eed7b3425965d769",
  "tarball": "https://registry.npmjs.org/@0xkobold/pi-kobold/-/pi-kobold-0.7.0.tgz",
  "fileCount": 17,
  "integrity": "sha512-sZo/tV7EF0iT2audKl7cWWOlvmRKUSN0m8lxvFp6r4jvSWiX9pf9PDx4Ys8vInvW8q63VVvz65DAfeSgOt8otA==",
  "signatures": [
    {
      "sig": "MEUCIQCZMV/9iQGMJVwGyviE7Ti1RYNFu1psP9TyoA8q7Zc9MAIgcLBN9+O+FxIh9z11Xi9dQDWHf7hpd/49gPIEXcFiq6M=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "unpackedSize": 204352
}

Repository

PENDING
0xkobold/pi-kobold

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:02 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:2f7ae30ed4edc2917c53506e6d97d88ccfff7ce24f50fbcecf2f89ba4ed5102b

Other collected versions

0.7.710 Apr0.7.610 Apr0.7.510 Apr0.7.410 Apr0.7.39 Apr0.7.19 AprView all collected versions →