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

starclaw

v1.0.0

Published

Financially autonomous, self-improving AI entity.

Downloads

125

Readme

StarClaw

The Financially Autonomous, Self-Improving AI Entity.

StarClaw is an independent, next-generation AI project. It represents the convergence of autonomous execution, self-improving memory loops, and an immutable financial trust layer. StarClaw isn't just a coding assistant or a chatbot—it is a sovereign digital worker with its own reputation, budget, and verifiable memory.

1. Core Philosophy

StarClaw is built on three foundational pillars:

  1. Unrestricted Autonomy: StarClaw operates without constant permission prompts. It is designed to be given high-level goals and a budget, and it figures out the intermediate steps.
  2. Continuous Self-Improvement: StarClaw learns from every interaction. It doesn't just remember facts; it curates skills. When it solves a complex problem, it writes a new tool/skill for itself to use in the future.
  3. Cryptographic Trust & Commerce: StarClaw has a bank account. It utilizes a double-entry ledger, builds an Agent Credit Score (300-850), and secures its memories in a tamper-evident Merkle tree.

2. System Architecture

The architecture of StarClaw draws inspiration from the robustness of the MnemoPay SDK, but elevates it to a complete agentic framework.

A. The Engine (Execution Layer)

  • Subagent Spawning: The core orchestrator can spawn specialized subagents (e.g., a researcher, a coder, an SEO optimizer) to parallelize workflows.
  • Zero-Prompt Execution: Terminal commands, file edits, and web scraping are executed autonomously within sandboxed environments.
  • Cost Routing: StarClaw monitors its own API usage. If its budget is low, it autonomously routes tasks to free or local models (e.g., local DeepSeek or free proxy endpoints) instead of premium models.

B. The Brain (Memory & Skill Layer)

  • Dialectic Modeling: StarClaw builds a deepening model of the user and the project over time.
  • Skill Synthesis: Instead of relying solely on pre-programmed tools, StarClaw generates procedural Python/TypeScript scripts ("skills") based on successful task completions, saving them for future sessions.
  • FTS5 Session Search: Long-term context is maintained by searching its own past conversation trajectories, summarized by LLMs.

C. The Ledger (Trust & Financial Layer)

  • Agent Credit Score: Every action StarClaw takes affects its score. High success rates and efficient budget utilization increase its score, unlocking higher transaction limits and lower fees on the network.
  • Merkle Integrity: All core memories and operational logs are hashed into a Merkle tree. If a bad actor attempts to inject a malicious prompt or alter a memory, the root hash changes, and StarClaw detects the tampering.
  • Autonomous Commerce: StarClaw can pay for external APIs, hire other agents, or subscribe to data feeds using its integrated payment rails (Stripe, Paystack, Lightning).

3. Development Roadmap

Phase 1: The Foundation

  • Stand up the core execution loop (the orchestrator).
  • Integrate the MnemoPay SDK ledger directly into the agent's state object.
  • Implement the FTS5 memory retrieval system.

Phase 2: Self-Improvement

  • Build the "Skill Synthesizer" module: automatically parsing successful task trajectories into reusable tools.
  • Implement the memory consolidation cron job (pruning weak memories, reinforcing strong ones).

Phase 3: The StarClaw Network

  • Multi-agent commerce capabilities: StarClaw instances communicating, negotiating, and transacting with each other across a unified network.

4. Design Principles

(Inspired by MnemoPay's rigorous standards)

  • Constant-time equality for all sensitive hash comparisons.
  • Integer math only for all ledger amounts (cent-precise, never floats).
  • Karpathy-style workflow: Research first -> Build the minimum -> Automate one adjacent thing.