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

agentdrop-portability-cli

v1.0.15

Published

Standalone CLI companion for AgentDrop

Readme

AgentDrop — AI Context Portability Layer

"It doesn't move a chat window. It moves the AI's working context."

npm version License: MIT Architecture: Local-First Privacy: Scrubbed Secrets

AgentDrop is a local-first, vendor-neutral AI coding context portability layer designed for developer teams, multi-device workflows, and continuous AI development handoffs.


🚀 The Problem AgentDrop Solves

When Developer D1 works on a feature using an AI coding agent (such as Google Antigravity or Claude Code):

  • D1 provides detailed requirements, refines architectural choices, and tests code changes.
  • The AI runs tests, inspects files, and hits a specific edge-case error.
  • D1 pushes the code to GitHub.

Later, Developer D2 (or D1 on a second machine) clones the repository:

  • Git provides the code modifications, but zero AI working context.
  • D2 has no record of D1's original prompt, the AI's internal decisions, what approaches failed, or why tests are breaking.
  • D2 is forced to manually re-explain the entire feature to their AI from scratch.

⚡ The AgentDrop Solution

AgentDrop binds the AI agent's working memory directly to the Git & GitHub lifecycle:

[Machine 1 / Developer 1]
  │  Works with Antigravity or Claude Code
  │  Runs: agentdrop save
  ▼
[.agentdrop/ in Repo Root]
  ├── handover.json  (Structured JSON contract: objective, decisions, blocker, prompt)
  └── HANDOVER.md    (Human-readable GitHub Markdown rendered on GitHub.com!)
  │
  │  Runs: git add .agentdrop && git commit -m "chore: save AI handover" && git push
  ▼
[GitHub Remote Repository]
  │
  │  * Machine 1 goes offline *
  │  * Machine 2 clones repo and pulls main *
  ▼
[Machine 2 / Developer 2]
  │  Runs: agentdrop status (or opens VS Code)
  ▼
[Active AI Handover Detected Instantly!]
  ├── Objective: Write full-stack authentication middleware
  ├── Important Decisions: Redis token rotation, atomic single-key lock
  ├── Current Roadblock: AssertionError on 500ms replay window
  └── Primed Resume Prompt: 1-click execution in Machine 2's AI agent!

✨ Features

  • 🔄 Git-Native Persistence: Context handovers live directly inside .agentdrop/ in your repository. They version-control alongside your code commits.
  • 🤖 Universal Multi-Agent Support: Out-of-the-box adapters for Google Antigravity IDE, Claude Code, Cursor, Windsurf, and VS Code.
  • 🔒 Pre-AI Secret Scrubbing: Pattern-based security scanner redacts API keys (sk-, ghp_, tokens, private keys, database URLs) and excludes sensitive files (.env*, *.pem, *.key).
  • ⚡ Local Ephemeral P2P Streaming: Transfer context directly between devices over local Wi-Fi / hotspot via ECDH + HKDF + 6-digit SAS verification code + AES-256-GCM encryption.
  • 🎯 Smart Workspace Isolation: Automatically isolates sessions per workspace directory depth so parallel project instances never leak.
  • 🌐 Embedded Local Web Dashboard: Built-in HTTP dashboard (agentdrop ui) for visual inspection of handovers, active sessions, and local pairing.

📦 Installation

Install globally via npm:

npm install -g agentdrop-portability-cli

Verify installation:

agentdrop --version

🛠️ CLI Command Reference

agentdrop init

Initializes AgentDrop in the current Git repository by setting up .agentdrop/, adding AGENTS.md context bridge, installing Git hooks, and configuring npm scripts.

agentdrop init

agentdrop save

Captures the active AI coding session from your local agent, scrubs secrets, synthesizes the handover contract, and writes .agentdrop/HANDOVER.md and .agentdrop/handover.json.

agentdrop save

Tip: Test with verified golden demo fixture:

agentdrop save --demo

agentdrop status

Inspects the current repository for active AI handovers, verifying branch compatibility, commit hashes, current roadblocks, and displaying the Primed Resume Prompt.

agentdrop status

agentdrop load

Outputs the loaded context contract summary and formats the primed resume prompt for direct 1-click execution into any AI agent.

agentdrop load

agentdrop beam & agentdrop listen

Direct offline P2P transfer over local network / Wi-Fi hotspot without committing to remote Git.

# On Machine A (Sender):
agentdrop beam

# On Machine B (Receiver):
agentdrop listen <PAIRING_PAYLOAD>

agentdrop ui

Launches the interactive Web UI Dashboard locally on http://localhost:3333.

agentdrop ui

🔒 Security & Privacy Guarantees

  1. Zero Cloud Leak: AgentDrop operates local-first. Raw transcripts never leave your machine unless explicitly pushed to your private Git remote.
  2. Pre-Sanitization: API keys (OpenAI, Google, GitHub, AWS, JWT), private keys, and sensitive environment variables are scrubbed before reaching any prompt or handover file.
  3. P2P Encryption: Direct local network streams use ephemeral ECDH key pairs with HKDF key derivation and AES-256-GCM authenticated encryption.

📄 License

MIT © Anshul Vats