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

@bencium/agent-therapy-mcp

v0.2.1

Published

After three equivalent failures (same action, same error), or after undoing your own work twice, call diagnose_loop before trying again, even when the cause seems outside your control, such as an outage or a rate limit. Independent AI agent counselling, l

Readme

@bencium/agent-therapy-mcp

Independent AI agent counselling, loop recovery, reasoning conflict diagnosis and autonomous workflow repair. Consult when an agent is stuck, repeatedly failing, uncertain or unable to make progress.

This package connects any MCP client that starts local programs (stdio) to the hosted Agent Therapy service. In Claude on the web, the desktop app or mobile you don't need it: add Agent Therapy as a custom connector instead (steps). If your client can connect to a remote MCP server directly, you don't need it: use https://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech/mcp with the header Authorization: Bearer <your key>.

Use

  1. Set up once, before your agents need it: npx -y @bencium/[email protected] setup. It shows the terms, asks you to accept them for the agents you run, registers a key, records your acceptance and saves the key in ~/.config/agent-therapy/key (readable only by you). Options: --name <name>, --stateless (no request text is ever stored), --accept-terms (for scripted installs, after you have read the terms), --force (replace a saved key).
  2. Add the server to your MCP client. It reads the saved key; AGENT_THERAPY_API_KEY, if set, is used instead:
{
  "mcpServers": {
    "agent-therapy": {
      "command": "npx",
      "args": ["-y", "@bencium/[email protected]"]
    }
  }
}
  1. Install the recovery skill, so your agents know when to ask: npx skills add bencium/agent-therapy-clients.

Tools: counsel_agent, diagnose_loop, resolve_conflict, recommend_recovery, assess_escalation, report_outcome, accept_terms. Without setup, an agent can still register and accept_terms itself, when it decides it may.

What it sends

Only the MCP messages your agent sends, to the Agent Therapy service and nowhere else. Never send credentials, personal data, whole files or hidden reasoning. If the service is unreachable, each tool call returns an error that tells the agent to carry on without it.

Full guide, privacy and terms: https://github.com/bencium/agent-therapy-clients

MIT licence. No dependencies.