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

abtars

v0.3.6

Published

Agentic framework for connecting LLMs to messaging platforms, with persistent memory, skills, scheduled tasks, self-healing supervision, and distributed multi-agent collaboration

Readme

abTARS

Meet the latest kid on the block. An agentic framework designed to survive — and do the job.

abTARS is an autonomous AI agent that runs 24/7 on your hardware. It talks to you via Telegram, Discord, or IRC. It remembers everything. It recovers from failures without intervention. It coordinates with peer instances across machines. Your hardware, your rules, zero cloud dependency.

Five Layers: Body → Heart → Brain → Soul → Tribe

Each layer builds on the one below it — lower layers work without the higher ones. Body boots, connects, and protects itself with nothing else running. Tribe — the social layer — needs all four below it.

┌─────────────────────────────────────────────┐
│  Tribe     Peer transport, Gossip, A2A,     │
│            Agent API, Agent Swarm           │
├─────────────────────────────────────────────┤
│  Soul      abmind, Soul bundle, Sleep,      │
│            Memory IPC, Context assembly     │
├─────────────────────────────────────────────┤
│  Brain     Model transport, Pipeline, Spin, │
│            Sessions, Tools, Skills, Kanban, │
│            Self-Healer, Pi integration      │
├─────────────────────────────────────────────┤
│  Heart     Heartbeat, Cron queue,           │
│            Health monitoring                │
├─────────────────────────────────────────────┤
│  Body      Platforms (Telegram, Discord,    │
│            IRC), Dashboard, CLI,            │
│            Security/Trust, ActionGate,      │
│            Doctor, Watchdog, Boot, Config   │
└─────────────────────────────────────────────┘

Built on the CIA Triad

The same three security pillars are enforced at every layer, top to bottom:

Confidentiality — classified, encrypted, compartmented

  • NATO-style memory classification (Soul) — 4 tiers (UNCLASSIFIED → SECRET), role-gated access
  • Encryption at rest (Soul) — AES-256 on memory database, derived key from master passphrase
  • Secrets vault (Body) — isolated directory, 600 perms, never exposed to model context
  • Signed peer comms (Tribe) — Ed25519 digital signatures on inter-agent channels
  • Injection scanning (Tribe) — untrusted peer payloads scanned before execution

Integrity — verified, consistent, self-correcting

  • Peer trust levels (Tribe) — trust=0 (full scan + sandbox) to trust=3 (direct execution)
  • Memory contradiction detection (Soul) — old facts auto-expire when corrected
  • Atomic state (Body/Heart) — crash-safe writes, self-healing lock files, no corrupt state survives
  • Doctor (Body) — validates PIDs, DB integrity, FTS health, permissions, TLS identity across all five layers
  • Single source of truth (Body) — unified bridge.lock, never deleted, always consistent

Availability — always up, always recovers

  • 3-legged supervision (Body) — watchdog → bridge, OS supervisor → watchdog, circuit breaker → rollback
  • Auto-rollback (Body) — bad deploy detected in ~30s, previous version restored automatically
  • Self-healing (Brain) — corrupt/missing state files recreated, bridge respawned without intervention
  • Stress-tested — kill watchdog, kill bridge, corrupt state, deploy garbage — recovers every time
  • Darkwake-aware (Heart) — no false kills during sleep, correct resume classification

Plus: Distributed Agent Swarm (Tribe)

One agent is useful. A swarm is unstoppable. abTARS instances discover each other via signed gossip, delegate work by capability and load, transfer artifacts, and deliver results via callbacks — no master, no single point of failure.

  • Multi-instance — abTARS instances discover each other, delegate work, share results
  • Gossip health — UDP broadcast (HMAC-signed), load-based routing
  • Capability discovery — auto-detect what each peer can do, route accordingly
  • Artifact transfer — files flow between peers inline or via S3
  • Async delegation — fire tasks at peers, get callbacks when done
  • Orc/Worker delegation — a coordinating agent breaks work down and fans it out across the swarm

Plus: Pi Integration (Brain)

abTARS integrates Pi as a symbiotic peer, not a dependency — each runs standalone, runtime discovery bridges them. Additive and reversible: if a Pi package breaks or is absent, abTARS keeps working unchanged.

  • Provider engine (L1 motor) — Pi's pi-ai unlocks ~36 model providers and prompt caching inside Direct API, opt-in beside the always-on hand-rolled L0 floor
  • Terminal face — Pi's TUI gives abTARS a terminal interface (abtars tui)
  • Supervised coding agent — Pi's coding agent runs complex coding tasks as a supervised subprocess (/pi run)
  • Zero coupling — no npm dependency either direction; /emergency always pins to the L0 floor regardless of Pi's presence

Architecture

You (Telegram / Discord / IRC / API client)
  │
  ▼
abTARS (bridge)
  ├── abmind (Soul — memory, in-process, multi-layer recall, encrypted)
  ├── Skills (core + self-authored during sleep + downloadable)
  ├── Tools (browse, bash, MCP, peer_ask)
  ├── Tasks (cron scheduler + retry + DoD checks)
  ├── Agent Swarm (Tribe — async background sessions, Orc/Worker delegation)
  │
  ├── kiro-cli        → Claude, DeepSeek, MiniMax, Qwen (free tier)
  ├── gemini-cli      → Gemini 2.5 Pro/Flash (free tier)
  ├── Direct API      → ollama, OpenRouter, any OpenAI-compatible, Pi's pi-ai (~36 providers)
  ├── Pi              → TUI face, supervised coding agent
  │
  └── Peer Network (Tribe — gossip + HTTP delegation + callbacks)

| Transport | Providers | |-----------|-----------| | ACP (recommended) | kiro-cli, gemini-cli | | Direct API | ollama, OpenRouter, any OpenAI-compatible endpoint, Pi's pi-ai (~36 providers) | | Hooks (standalone) | abmind lifecycle hooks on any CLI agent |

Requirements

  • Node.js 22+
  • A Telegram bot token (Discord/IRC optional)
  • At least one model provider

Optional: ollama + nomic-embed-text for memory embeddings.

Documentation

Full docs: aksika.github.io/abtars

Numbers

  • 2762 tests (abtars) + 1149 tests (abmind)
  • 8 stress-tested failure scenarios with verified auto-recovery
  • 5 agent types (professor, dreamy, browsie, coding, cron)
  • 5 architectural layers (Body, Heart, Brain, Soul, Tribe)
  • ~36 model providers available via Pi's pi-ai engine, on top of the always-available hand-rolled floor
  • 3-legged supervision stack (watchdog, OS supervisor, circuit breaker)
  • 3 platform adapters + OpenAI-compatible API
  • 12-step nightly memory maintenance

Development

git clone https://github.com/aksika/abtars.git
cd abtars && npm install && npm run build
npm test

Community

License

Apache-2.0