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

@asermax/tachikoma

v2.4.0

Published

Proactive personal assistant built on the pi agent SDK

Readme

Tachikoma

Tachikoma is a proactive personal assistant built on the pi agent SDK. It maintains persistent memory across conversations, extracts learnings automatically, handles background tasks during idle time, and is reachable through Telegram or a local REPL.

The core is deliberately thin — config, database, scheduler, channels, session orchestration, and an extension host — and every feature is an extension: memory, conversation boundary detection, skills, workflows, scheduled tasks, project tracking, git-versioned workspace, Telegram, detached process supervision, notifications, and external extension loading (out-of-tree extensions on the same contract, installable from git).

Install

npm i -g @asermax/tachikoma
tachikoma           # start the agent (REPL channel)
tachikoma -c telegram

Releases are published automatically: just release bumps the version and tags via commit-and-tag-version, then git push --follow-tags triggers the publish workflow. Maintainers must configure an NPM_TOKEN repository secret with publish access to the @asermax scope.

Requirements

  • Node.js >= 22.19 (the project runs TypeScript sources directly via native type stripping)
  • pnpm
  • LLM provider credentials: an existing pi login (~/.pi/agent/auth.json) is picked up automatically, or set a provider key like ANTHROPIC_API_KEY in the environment

Quick start

just install            # pnpm install
just run                # start the agent (REPL channel)
just run -c telegram    # start with the Telegram channel

On first run a commented config file is generated at ~/.config/tachikoma/config.toml and the workspace at ~/tachikoma is initialized (SOUL.md, USER.md, memory layout, git repo).

Configuration

TOML at ~/.config/tachikoma/config.toml. Core sections: [workspace], [agent] (optional per-role models as provider/model-id[:thinkingLevel] — anything unset defers to pi), [logging], [channels], [sessions], [scheduler]. pi-level knobs (default model, thinking budgets, compaction, retry, custom providers) live in pi's own settings.json/models.json under {workspace}/.tachikoma/pi/. Each extension reads its own [extensions.<name>] section — see the generated file and the feature specs in docs/feature-specs/.

Development

just check       # lint + typecheck + tests (run before considering anything done)
just test        # vitest
just lint        # biome check
just fmt         # biome check --write
just typecheck   # tsc --noEmit

Database migrations: schema lives in src/db/schema.ts (aggregating per-extension schema.ts modules); generate migrations with pnpm drizzle-kit generate — they apply automatically at startup.

Architecture

Channel (telegram/repl extension)
  → Coordinator (core): inbound middleware → session ensure/resume
    → context providers (parallel) → pi AgentSession prompt
    → AgentEvents streamed back to the channel
  → exchange processors (rolling summary, …)
  → on idle close: post-processing phases (memory extraction, git commit, …)
  • Extensions implement features through one contract (defineExtension) with app-level hooks (scheduler, db, sessions, channels) and pi-native session hooks (app.agent.use((pi) => …)). Start at docs/design/DES-001-unified-extension-api.md and DES-002-extension-authoring.md.
  • pi SDK ground truth for this codebase: docs/reference/pi-sdk-notes.md.
  • Planning docs: docs/planning/VISION.md, docs/planning/DELTAS.md; decisions in docs/architecture/ADR-*; feature documentation under docs/feature-specs/ and docs/feature-designs/.

The agent's pi state (sessions, settings) lives isolated under {workspace}/.tachikoma/pi, so it never interferes with a personal pi installation; provider credentials are shared from the machine-level pi login when present.