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

@putervision/agent-reasoning-mcp

v0.2.1

Published

Strategic BDI reasoning engine for autonomous AI agents — goal decomposition, utility scoring, risk evaluation, and reactive replanning over PuterVision memory and world models.

Downloads

5,736

Readme

@putervision/agent-reasoning-mcp

npm version version CI Node License: MIT

Strategic BDI Reasoning, Multi-Attribute Expected Utility Theory & Decision Intelligence for Autonomous AI Agents

@putervision/agent-reasoning-mcp is a formal Model Context Protocol (MCP) server that provides strategic belief-desire-intention (BDI) reasoning, hierarchical goal decomposition, multi-attribute expected utility calculation ((E[U] = \sum w_i u_i)), exponential belief decay, quantitative risk evaluation, and reactive replanning across multi-modal memory bridges.

🌐 Official Documentation: putervision.comInteractive Web Docs


⚡ 15-Second Quick Start

# 1. Initialize reasoning database & seed default utility profiles
npx @putervision/agent-reasoning-mcp init

# 2. Run health diagnostics and Merkle audit checks
npx @putervision/agent-reasoning-mcp doctor

# 3. Inspect active goals, intentions, and belief states
npx @putervision/agent-reasoning-mcp inspect

🛠️ 10 Core MCP Tools

| Tool | Actions | Purpose | |------|---------|---------| | set_goal | create, update, decompose, get, list, abandon | Manage goal hierarchy, task DAGs, and success criteria | | evaluate_situation | snapshot, quick | Score and rank candidate actions from environment snapshots | | replan | blocker, event, full | Adaptively reconstruct subgoals upon obstacles and abort stale intentions | | assess_risk | action, plan, compare | Quantitative threat and risk calculation across candidate actions | | query_knowledge | search, patterns, similar_situations | Search learned heuristics, tactical knowledge, and past decision patterns | | set_utility_weights | configure, get, list, activate | Configure utility weights (aggression, caution, greed, efficiency, exploration) | | get_decision_trace | latest, get, list, explain | Explainable chain-of-thought rationale and latency telemetry | | manage_beliefs | update, query, expire, reconcile | Structured belief state with exponential confidence decay ($C = C_0 e^{-\lambda t}$) | | manage_intentions | create, dispatch, get, list, cancel, resolve | Wire contract directives queue for runtime execution engines | | manage_reasoning_db | stats, audit, snapshot, restore | Reasoning database statistics, SHA-256 Merkle audit, and snapshot rollback |


🏛️ PuterVision Pentad Multi-Modal Ecosystem

agent-reasoning-mcp coordinates the closed-loop PuterVision Super-Loop:

  • 🧠 agent-reasoning-mcp: Decides what to do (BDI Strategic Reasoning, Utility Theory, Replanning)
  • behavior-mcp: Executes how to act at ~60Hz in browser runtimes
  • 📊 state-memory-mcp: Durable workflow memory, tasks, blockers, decisions
  • 👁️ vision-memory-mcp: Perceptual caching, visual grounding, video timelines
  • 🌐 world-model-mcp: 3D/2D spatial layout, entity permanence, collision simulation

📚 Deep Documentation Guides


🔗 Client Configuration

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "mcpServers": {
    "agent-reasoning-mcp": {
      "command": "agent-reasoning-mcp",
      "args": ["run"]
    }
  }
}

🧪 Testing

# Run full unit and integration test suite across 16 test files (68 tests)
npm test

📄 License

MIT © PuterVision