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

agentox

v0.2.0

Published

Cross-agent continuity layer for AI coding assistants

Downloads

1,166

Readme

npm version License: MIT


🚀 The Problem

When you work with AI coding assistants (like Cursor, Claude Engineer, Aider, OpenCode), they lack shared context. Switching from one agent to another means losing your current tasks, architectural decisions, recent changes, and state.

🌟 What is AgentOS?

AgentOS is a continuity layer designed to seamlessly bridge the gap between different AI assistants. It creates a robust, file-based memory layer (agentos/) directly in your project repository.

Whenever you switch assistants, AgentOS generates a highly-condensed bootstrap handoff prompt containing:

  • Pending Tasks
  • Hard Architectural Decisions
  • Recent History & Git changes
  • Architecture Mapping

Your next AI agent can immediately pick up where the last one left off!


⚡ Features

  • 🧠 Shared Memory State: Maintain task lists, goals, and architectural decisions across sessions.
  • 🔄 Seamless Handoffs: Automatically generate a "bootstrap" prompt for your next AI agent via agentox switch <agent>.
  • 📸 Intelligent Snapshots: Take snapshots of your workspace before handing it over to another agent.
  • 🛡️ Hard Decisions: Enforce architectural guidelines that AI agents are strictly instructed not to override (--hard).
  • 🔗 Git Integration: Automatically logs AI agent activity into the execution log on every git commit.

🛠️ Installation

New in v0.2.0

  • Zero-git file watching
  • Works on cloned repos
  • VSCode/Cursor/Windsurf extension
  • Auto-starts on folder open
  • One-click agent switch

Install CLI:

npm install -g agentox

Install Extension: Search for "AgentOX" in your IDE's extension marketplace and install it.

IDE Compatibility

| IDE / Tool | MCP Auto | Bootstrap Fallback | |------------|----------|--------------------| | Claude Code | ✅ Native | ✅ | | Cursor | ✅ Native | ✅ | | Windsurf | ✅ Native | ✅ | | Antigravity | ✅ (via MCP config) | ✅ | | VS Code + Copilot | ❌ (needs Cline/RooCode) | ✅ | | ChatGPT | ❌ | ✅ | | Any other AI | ❌ | ✅ |

AgentOX works everywhere via Bootstrap fallback. MCP gives you zero-paste automation in supported IDEs.


📚 Quick Start

1. Initialize AgentOS in your project

Navigate to your existing project repository and run:

agentox init

This creates the .agentos/ directory and sets up the continuity layer, including a Git post-commit hook for tracking changes.

2. Set your current Agent

agentox use claude

(Options: claude, cursor, aider, opencode)

3. Track Tasks and Decisions

# Add pending tasks
agentox task add "Build the login authentication flow"
agentox task add "Setup PostgreSQL database"

# Mark a task as done
agentox task done 1

# Enforce an architectural decision
agentox decision add "Use strictly React and functional components" --hard

4. Switch to a new Agent

If you want to move from your current IDE/agent to another (e.g., from Cursor to Claude), use:

agentox switch cursor

This command auto-saves a snapshot, generates a Bootstrap Prompt, copies it to your clipboard, and sets the active agent.

5. Check Status

agentox status

Displays the current state, active agent, pending tasks, recent decisions, and file tree drift.


📖 Command Reference

| Command | Description | |---|---| | agentox init | Initializes AgentOS in the current repo, setting up state files and git hooks. | | agentox status | Displays the current agent status, tasks, and system state. | | agentox use <agent> | Sets the active agent without generating a handoff prompt. | | agentox switch <agent> | Snapshots state, generates a handoff prompt, copies it, and sets active agent. | | agentox task add/done/list | Manage your agent's pending and completed tasks. | | agentox decision add/list | Manage architectural decisions. Use --hard to make them strict for AI. | | agentox snapshot | Manually captures a snapshot of the workspace and state. | | agentox rollback | Reverts the workspace to a previous snapshot. | | agentox log-commit | Logs git commits to the execution history (used mainly by the auto-hook). | | agentox repair | Validates and fixes corrupted .agentos/ JSON state files. |


🤝 Contributing

We welcome contributions to expand AgentOS to more platforms, improve the prompt templates, and enhance state tracking!

  1. Fork the repo.
  2. Clone it locally and run npm install.
  3. Create a feature branch: git checkout -b feature/my-cool-idea.
  4. Commit your changes: git commit -m "Add cool idea".
  5. Push to the branch: git push origin feature/my-cool-idea.
  6. Open a Pull Request!

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.