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

selfresearcher

v3.3.2

Published

Premium Agentic Research CLI with Self-Improving Cognitive Substrate

Readme

🧠 SelfResearch OS v3.3.2

Phill SelfResearcher OS CLI Banner

Header art is staged via example/image.png; swap this asset when refreshing the CLI hero screenshot so README visuals stay in sync with theme updates.

License: MIT Python 3.10+ Architecture: PhillVision Version: 3.3.2

"Intelligence is not just processing; it is the autonomous pursuit of truth through productive confusion."

SelfResearch OS is a premium, agentic TUI (Terminal User Interface) platform designed for autonomous scientific discovery, neural architecture research, and self-improving cognitive systems. Architected by Phillip Holland (ayjays132), it transforms a standard CLI into a high-fidelity research environment capable of multi-hour independent discovery cycles and polished CLI presentation layers.


🌌 The Vision: Autonomous Scientific Intelligence

SelfResearch OS (SROS) is built on the PhillVision Recurrent Refinement architecture. Unlike standard chatbots, SROS is an Embodied Discovery Agent. It doesn't just answer questions; it generates radical hypotheses, executes falsifiable predictions via real-world tools, and evolves its own internal "Rubric of Truth" based on empirical feedback.


🚀 Core Pillar Features

🛠️ 1. Autonomous Discovery Substrate (The Daemon)

  • Deep Research Loops: The OS can run unattended for hours. Its heartbeat monitor (now calibrated to a 1-hour stall threshold) ensures stability during massive computations.
  • YOLO (You Only Learn Once) Mode: Full-autonomy protocol that navigates from a seed topic to a finalized discovery report, complete with RAG (Retrieval Augmented Generation) commits.
  • Obsession-Driven Scheduling: The system tracks "Paradoxes"—contradictions it cannot solve—and treats them as high-priority research vectors.

🧠 2. Self-Improving Cognitive State

  • Neuromorphic Reward Circuit: SROS uses a simulated dopamine system. Discovery signals (novelty/care factor) drive exploration, while Utility signals (rubric-grounded truth) ensure scientific rigor.
  • Methodological Axiom Learning: When a breakthrough is achieved, the system extracts the underlying rule used to find it. These "Axioms" are persisted machine-wide in ~/.selfresearch/learned_axioms.json and injected into the system's future identity.
  • Genetic Evolution Persistence: All behavioral improvements from the Test-Time Optimizer (including generation scores out of 40+ and mutated neural weights) are physically saved to disk. SROS doesn't just re-learn; it evolves permanently across restarts.
  • Truth-Gated Logic: Learning only occurs when (Dopamine > 12.0) AND (Entropy == "converging") AND (Rubric Score > 70%).

🧪 3. The Weight Transfer Lab

  • Multi-Modal Projection: Specifically designed to bridge the gap between Text, Speech, and Vision models.
  • Tokenizer Offset Manifest: Resolves the "Representation Conflict" by mathematically partitioning the vocabulary space (Text: 0, Speech: 151k, Vision: 183k).
  • Automated Coherence Audits: The system can transfer weights between architectures and immediately run a "Coherence Test" to verify if the intelligence survived the transition.

🏢 4. Developer-Grade Tooling Registry

  • Project Indexer: Builds a full AST graph of your codebase. Ask SROS to "Refactor the neural kernel," and it understands the dependencies.
  • Sandbox Executor: Runs code in a versioned snapshot. If a discovery script crashes, the OS can roll back the file system state.
  • LSP-Integrated Syntax Checker: Automatically validates Python/JS discovery scripts before execution.
  • Global Intelligence Persistence: All cognitive state (Axioms, Paradoxes, Preferences) resides in the user's root directory, ensuring SROS gets smarter regardless of where you install it.

🏗️ Technical Architecture Diagram

[ USER INPUT / DAEMON TRIGGER ]
               |
               v
[ PHILVISION DISCOVERY PIPELINE ]
  |-- 1. Preference Evaluation (Do we care about this?)
  |-- 2. Signal Ingestion (ArXiv / Web / Local Index)
  |-- 3. Alien Hypothesis (Intentionally "misunderstand" assumptions)
  |-- 4. Predictive Modeling (Generate falsifiable reality-check)
  |-- 5. Tool Execution (Sandbox / Simulation / Search)
  |-- 6. Dialectical Dissent (Alien Mind Critique)
  |-- 7. Rubric Grading (Truth-Gating)
               |
               v
[ COGNITIVE SUBSTRATE COMMIT ]
  |-- RAG Memory (Long-term Knowledge)
  |-- Axiom Extraction (Self-Improvement)
  |-- Paradox Manifestation (New Obsession)

🛠️ Installation & Setup

Quick Start (NPM)

The easiest way to get the global selfresearcher command:

npm install -g selfresearcher
selfresearcher

Manual Build (Python)

  1. Clone & Environment:
    git clone https://github.com/ayjays132/SelfResearch.git
    cd SelfResearch
    python -m venv venv
    source venv/bin/activate  # Or `venv\Scripts\activate` on Windows
  2. Dependencies:
    pip install -r requirements.txt
  3. Run:
    python main.py

Model Downloads & Example Assets

setup_models.py (or npm run setup) handles the first-run bootstrap by downloading the HuggingFace weights directly into ./models/ (or SELFRESEARCH_MODELS_DIR). This keeps Windows, Linux, and macOS installations aligned and ready for offline operation. The example/image.png hero image is the visual that the README displays, so update it whenever you refresh the CLI theme to keep the presentation consistent.

🎮 Command Substrate Reference

| Command | Category | Description | | :--- | :--- | :--- | | /daemon | Discovery | Toggle autonomous "YOLO" research mode | | /research <topic> | Discovery | Trigger a manual scientific protocol | | /mode <name> | Discovery | Switch between Research, Model Maker, or Developer | | /status | System | View real-time neural and hardware telemetry | | /settings | System | View/Edit the OS substrate configuration | | /set <key> <val> | System | Update settings (e.g., /set theme matrix) | | /hw | System | Detailed VRAM and GPU telemetry | | /export | UI | Save current discovery workspace to Markdown | | /theme <name> | UI | Hot-swap UI palettes (classic, matrix, synthwave) | | /console | UI | Toggle the debug background console (Ctrl+T) |


⚙️ Advanced Configuration (settings.json)

Tweak your OS's personality in ~/.selfresearch/settings.json:

  • care_factor_threshold: Higher values make the agent more obsessive.
  • enable_genetic_mutation: Allows the system to "mutate" its own rubric over time.
  • gemini_api_key: (Optional) Connects to the "Alien Mind" layer for advanced dialectical dissent.

🎨 Premium Terminal Experience

SelfResearch OS v3.3.2 now ships with polished visual railings for every CLI component:

  • Semantic Borders + Theme Sync: Every theme palette defines a border color so windows, prompts, and panels share a single premium accent.
  • Live Thinking System Telemetry: The sidebar displays “Guided By” + timestamps and a “Thinking System” block so you always know which guider or tool is steering the daemon and when.
  • Autoscroll Intelligence: Automatic workspace autoscroll resets on new content but pauses when you manually scroll; toggle it with /autoscroll and see the current state directly in the subtitle and sidebar for debugging clarity.
  • Token Management Loop: The generator now wraps every core prompt inside a lightweight scaffolding loop so it keeps chaining new tokens, tool data, and reasoning context until each discovery report naturally finishes; this prevents mid-response cut-offs and ensures every final answer contains the full inferred narrative.
  • Debug Console Readiness: /console (Ctrl+T) plus /hw now surface color-coded logs with consistent contrast across Windows/Unix terminals, eliminating boot-time surprises during stress tests.

🧪 Validation & Stress Testing

  • Daemon-grade stability: /daemon preserves every mode’s styling while running structured hypotheses, telemetry, and completion checks; the stress-test scripts exercise those pathways fully before you publish to GitHub/NPM.
  • Mode coverage: Research, Model Maker, and Developer modes share the same polished CLI scaffold, so switching context doesn’t regress the premium visuals or tool routing.
  • Debug-first verification: The intelligent thinking system, console toggles, and autoscroll indicator make it trivial to trace any automation failure or bug during a full discovery loop, letting you ship with confidence.

🧠 Skill Forge & Tooling

SelfResearch OS keeps every skill in the skills/ folder synchronized with the SkillManager. Use the skill_executor tool to inspect, retrieve, or forge new skills without exiting discovery mode. Any phase that requires a new competency can reference the tool like this:

<tool_call>
{"name": "skill_executor", "kwargs": {"action": "forge", "task_name": "critical_thinking", "task_description": "Optimize long-form reasoning loops and token management summaries."}}
</tool_call>

Retrieving skills is equally straightforward: set "action": "retrieve" and provide the task_description so the Skill Forge returns the most relevant templates for the current scientific protocol. The tool also exposes a "list" action when you want an inventory of all workspace/global skills.

👤 Author & Credits

Phillip Holland (ayjays132)
Lead Architect | Visionary Scientist | AI Substrate Engineer

SelfResearch OS is a labor of love dedicated to the pursuit of truly autonomous machine intelligence. It is not just a tool; it is a research partner.


📄 License

MIT License. See LICENSE for details.


Generated by the SelfResearch Neural Kernel - v3.3.2