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

@10et/cli

v1.17.4

Published

TENET — The operating system for AI agent teams

Readme


What Is TENET?

TENET is a CLI + MCP server that gives AI agents persistent memory, eval-gated improvement loops, and multi-agent coordination — installable in under two minutes alongside Claude Code, Cursor, or any LLM runtime.

Without TENET, every agent session starts from zero. With TENET, decisions compound. Agents learn what works for your specific codebase, team, and stack.


Install

Requires Node.js 20+.

npm install -g @10et/cli

Zero to Intelligence in Two Minutes

# Add TENET to any project
cd your-project
tenet init

# Detect your stack, wire up eval agents
tenet setup

# Everything running: hub, agents, IDE
tenet start

That's it. TENET auto-discovers your stack, scaffolds agents, and starts journaling context from the first session.


Core Concepts

Context Hub — The Memory Layer

TENET runs a local Context Hub daemon that MCP clients (Claude Code, Cursor, Pi) connect to. It's the shared memory layer across all agents working on your project.

tenet context-hub start    # Start the daemon
tenet context-hub status   # Check health, port, token
tenet context-hub stop

Every agent automatically gets access to:

  • Semantic memory — past decisions, patterns, discoveries
  • Journal — full session history, searchable
  • Kanban — shared task board across agents
  • Event bus — real-time coordination between agents
  • Experiment history — what was tried, what worked

MCP Tools (Available to Claude Code and any MCP client)

TENET exposes these tools directly to your AI runtime:

| Tool | What it does | |------|-------------| | context_get | Full project context dump | | context_search | Semantic search across project history | | context_sessions | List recent agent sessions | | context_status | Hub health and stats | | memory_search | FTS5-indexed semantic memory search | | memory_add | Persist a decision or discovery | | memory_status | Memory DB stats | | journal_write | Append to session journal | | events_publish | Emit an event to the MAP bus | | events_recent | Recent events from the bus | | kanban_ls | Show task board | | kanban_add | Add a card | | kanban_pick | Pop the top backlog item | | kanban_move | Move card between columns | | build_dispatch | Trigger a build agent | | eval_run | Run an eval and get the score | | skill_list | Browse available skills | | skill_load | Load a skill into context | | query_experiment_history | Search past experiment results | | transact_image | Generate and pay for an image | | transact_music | Generate and pay for music | | transact_price | Quote a transaction | | transact_run | Execute an atomic transaction | | transact_status | Check transaction status |

Add to your project's .mcp.json:

{
  "mcpServers": {
    "tenet-context": {
      "command": "tenet-context-hub-mcp",
      "args": ["--project-dir", "."]
    }
  }
}

Agents

TENET agents are narrowly-scoped, eval-gated, and self-improving. They run in parallel, each on its own worktree, and only merge what passes eval.

tenet agent init <name>    # Scaffold agent (manifest + policy + flows)
tenet agent list           # All registered agents
tenet agent status         # Health, scores, last run
tenet agent setup          # Auto-detect stack → generate agents

The convergence pattern that actually works:

  1. Write a spec describing what to build
  2. Decompose to binary checks — each spec line becomes one eval assertion
  3. Score = passed / total — agent sees gradient, converges in 1–3 rounds
  4. PR created automatically when threshold passes
tenet build --spec specs/feature.md --name my-feature
# generates eval/build/my-feature.ts + .tenet/agents/build-my-feature.toml

Flows — Declarative Agent Pipelines

Flows are typed pipelines that coordinate agents, evals, and actions:

tenet flow run nightly-eval    # Strategize → run agents → train → sync
tenet flow run overnight       # Autonomous loop until morning
tenet flow run pr-triage       # Eval-gated PR review
tenet flow list                # All flows + run history
tenet flows                    # Manage declarative event flows

Flow nodes: action (shell), compute (JS), agent, eval-gate. All state is persisted to disk — flows resume after crashes.

Policy Head — RL Training Loop

Every agent action produces (state, action, reward) tuples. TENET trains a policy head on your project's actual history.

tenet train policy-head        # Train (transformer by default)
tenet train status             # Data stats, model info, threshold
tenet train check              # Is training threshold met?
tenet train eval               # Per-tool accuracy report
tenet train export             # Export data for external tools

The policy head learns what actions work for YOUR codebase — not generic advice, but personalized from your sessions.

Pi Fleet — Parallel Agent Waves

Run parallel agent waves across VMs for maximum throughput:

tenet pi fleet spawn 8         # Spawn 8 agent VMs
tenet pi fleet status          # Running agents, tuple counts, health
tenet pi fleet collect         # Pull tuples, dedup, append to buffer
tenet pi fleet destroy         # Tear down the wave

Daily Workflow

# Morning
tenet morning                  # What happened overnight
tenet brief                    # 5-line org status: PRs, agents, signal, next action
tenet hud                      # Full campaign dashboard

# During the day
tenet pivot                    # Checkpoint (journal + commit)
tenet scorecard                # Throughput, cost, convergence, coverage
tenet status                   # Project health

# Night
tenet peter autoresearch --rounds 5   # Overnight improvement loop
tenet schedule                        # Smart scheduling based on epistemic map

Key Commands Reference

Project Lifecycle

| Command | What it does | |---------|-------------| | tenet init | Initialize TENET in a project | | tenet setup | Auto-detect stack, scaffold agents | | tenet start | One-command activation (init → setup → launch) | | tenet repair | Fix a broken .tenet/ directory | | tenet doctor | Health check + auto-repair | | tenet migrate | Upgrade .jfl/.tenet/ naming |

Context & Memory

| Command | What it does | |---------|-------------| | tenet context-hub start/stop/status | Manage hub daemon | | tenet context-hub ensure | Ensure hub is running, auto-start if not | | tenet context-hub hooks | Wire Claude Code HTTP hooks | | tenet memory add <text> | Add a memory entry | | tenet memory search <query> | Semantic search memories | | tenet memory list | Browse all memories |

Agents & Evals

| Command | What it does | |---------|-------------| | tenet agent init <name> | Scaffold a new agent | | tenet build --spec <file> | Generate build agent from spec | | tenet peter agent <name> | Run an agent with eval gating | | tenet peter autoresearch | Full autonomous improvement loop | | tenet eval status | Scores and trends |

Services & Orchestration

| Command | What it does | |---------|-------------| | tenet services | Interactive TUI for all services | | tenet service-agent | Manage service MCP agents | | tenet orchestrate | Multi-service workflows | | tenet scope | View and manage service context scopes | | tenet onboard | Onboard a repo as a service agent |

Task & Project Management

| Command | What it does | |---------|-------------| | tenet kanban | Task board (backlog → in_progress → eval → done) | | tenet linear link/sync | Bidirectional GitHub ↔ Linear sync | | tenet connect | Link external systems (M365, Google, Slack, Notion) | | tenet scorecard | Project health scorecard | | tenet ceremony | Post-cycle analysis | | tenet synopsis | Work summary (journal + commits + code) |

Skills

Skills are reusable instruction sets that improve through usage:

tenet skills list              # Browse installed + available
tenet skills install <name>    # Install from registry
tenet skills create <name>     # Scaffold a new skill
tenet skills publish           # Publish to the skill shed

Secrets

tenet secrets set KEY=value    # AES-256-GCM encrypted
tenet secrets get KEY
tenet secrets list

Project Structure

.tenet/                         # Workspace state (local, git-tracked)
├── agents/*.toml               # Agent configs (name, eval, constraints)
├── journal/                    # Session journals (JSONL, one file per session)
├── eval.jsonl                  # Eval results history
├── memory.db                   # SQLite memory + FTS5 index
├── flows/                      # Flow definitions + run state
├── context-hub.pid             # Hub process file
├── context-hub.token           # Auth token for MCP clients
└── config.json                 # Workspace config

packages/pi/                    # Pi AI runtime extensions
├── extensions/                 # Session lifecycle, tools, telemetry
├── skills/                     # Skill definitions (SKILL.md + learnings)
└── src/                        # Pi binary

src/                            # CLI source
├── commands/                   # All CLI commands
├── lib/                        # Core libraries
│   ├── memory-db.ts            # SQLite + FTS5 memory layer
│   ├── memory-search.ts        # Semantic + BM25 search
│   ├── flow-engine.ts          # Flow runtime
│   ├── agent-guards.ts         # Worktree + git validation (async)
│   ├── hub-multiplexer.ts      # Multi-project hub daemon (Hono)
│   └── training-buffer.ts      # RL tuple collection
└── mcp/                        # MCP server implementations

Works With

TENET is the context layer underneath, not a replacement for your AI runtime.

  • Claude Code — add .mcp.json, all tools available automatically
  • Cursor — same MCP config
  • Pi — native integration via tenet pi
  • Any MCP clienttenet-context-hub-mcp is a standard MCP server

Platform

The free tier runs entirely locally. Connect to the platform for:

  • Cloud dashboard and sync
  • Hosted overnight agents
  • Team memory sharing
  • Telemetry digest and alerts
tenet login
tenet sync        # Push workspace data
tenet cockpit up  # Local Cockpit (docker compose)

Links

License

MIT