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

corvin-cli

v2.1.0

Published

<p align="center"> <a href="https://corvin.dev"> <img src="https://raw.githubusercontent.com/subh05sus/Corvin/main/cli/assets/corvin-logo.png" alt="Corvin" width="500"> </a> </p>

Readme

Corvin

Real-time AI debugging for running applications

Beta npm License: MIT

Capture logs automatically, search your codebase in natural language, and chat with an AI that understands your entire system.


Status

Beta - Corvin is actively developed and maintained. We ship updates regularly and welcome feedback.


Installation

npm install -g corvin-cli

Quick Start

First time setup:

# Terminal 1: Start the AI assistant
corvin

You'll be prompted to log in and paste an API key from app.corvin.dev.

Start debugging:

# Terminal 2: Run any command with debugging
corvin npm run dev
corvin python app.py
corvin docker-compose up

Your application runs normally with logs visible. Behind the scenes, Corvin captures logs, accesses your codebase locally, and makes everything available to the AI assistant running in Terminal 1.


Why Corvin?

Stop context-switching between logs and code

Ask "why is the auth endpoint failing?" and get answers based on actual runtime logs plus relevant code from your codebase—not generic suggestions.

Debug across multiple services

No more grepping through logs in 5 different terminals. Corvin sees logs from all connected services and can trace issues across your entire stack.

Understand unfamiliar codebases

Search in natural language: "where do we handle payment webhooks?" The AI searches your actual codebase, not the internet.


How It Works

Terminal 1: AI Assistant          Terminal 2: Your Service
┌─────────────────────────┐       ┌──────────────────────────┐
│ $ corvin                │       │ $ corvin npm run dev     │
│                         │       │ Server running on :3000  │
│ You: "Why is auth       │       │ [logs stream normally]   │
│      failing?"          │       │                          │
│                         │◄──────┤ Logs captured            │
│ AI: [analyzes logs +    │       │ Code accessed locally    │
│      searches codebase] │       │ Connected to cluster     │
└─────────────────────────┘       └──────────────────────────┘
          ▲                                  ▲
          │                                  │
          └────────── Local Cluster ─────────┘
                   (ws://127.0.0.1:4466)
                            │
                            │ WebSocket
                            ↓
                ┌────────────────────────────┐
                │   Corvin AI Server         │
                │                            │
                │  ┌──────────────────────┐  │
                │  │   Agent Graph        │  │
                │  │  • Analyze logs      │  │
                │  │  • Search codebase   │  │
                │  │  • Generate insights │  │
                │  └──────────────────────┘  │
                └────────────────────────────┘
  1. corvin starts the AI assistant and connects to a local cluster server
  2. corvin <command> runs your service and streams logs to the cluster
  3. Local cluster connects to Corvin AI server via WebSocket
  4. Agent Graph processes queries, searches code, and analyzes logs
  5. Responses flow back through cluster to your terminal

Run multiple services in different terminals—they all connect to the same cluster, so the AI can debug across your entire system.


Privacy & Security

Your code stays local

Your codebase is accessed locally and never uploaded. Only specific code snippets that the AI queries are sent to the server.

Selective log sharing

Logs are streamed to the server only when the AI needs them to answer your questions. You control what runs with corvin <command>.

API key authentication

All requests are authenticated with your personal API key from app.corvin.dev.


Self-Hosting

To run your own Corvin server:

  1. Clone the server repository
  2. Configure with your Gemini API key
  3. Point the CLI to your server:
export WEB_SOCKET_URL=ws://localhost:3000/v2/ws
export API_BASE_URL=http://localhost:3000/v2/api

Typical Workflow

Multi-service debugging:

# Terminal 1: AI Assistant
corvin

# Terminal 2: Backend
cd backend
corvin npm run dev

# Terminal 3: Frontend
cd frontend
corvin npm start

# Back to Terminal 1 (AI)
> "Users can't log in, what's wrong?"
> "Show me logs from the last auth request"
> "Where do we validate JWT tokens?"

The AI sees logs from both services and can search code in both repos.


Corvin vs AI Coding Assistants

| Feature | Corvin | Cursor/Copilot/Windsurf | |---------|---------|-------------------------| | Sees runtime logs | ✓ | ✗ | | Multi-service debugging | ✓ | ✗ | | Natural language log analysis | ✓ | ✗ | | Works with running apps | ✓ | Static analysis only |

Corvin coordinates debugging agents that see what's actually happening when your code runs.


Commands

Start AI assistant:

corvin

Run with debugging:

corvin <any-command>

Open browser UI:

corvin studio

Configuration

First-Time Project Setup

When you run corvin <command> for the first time in a directory, Corvin will:

  1. Prompt for a project description
  2. Create a corvin.yaml file
  3. Register the service with the local cluster

Example corvin.yaml:

id: "my-api-service"
name: "api-service"
description: "Express API with PostgreSQL"
logs_available: true
code_available: true

On subsequent runs, Corvin uses the existing configuration automatically.

Environment Variables

Override defaults by setting these in ~/.corvin/config or as environment variables:

API_BASE_URL=https://api.usecorvin.space/v2/api
WEB_SOCKET_URL=wss://api.usecorvin.space/v2/ws
CORVIN_CLUSTER_URL=ws://127.0.0.1:4466

Keyboard Shortcuts

Terminal UI:

  • Ctrl+C – Exit
  • Ctrl+D – Toggle chat/logs view
  • Ctrl+R – Reconnect/reload

Browser UI:

  • Ctrl+O – Toggle full/trimmed chat history

Current shortcuts are shown in the bottom status bar.


Requirements

  • Node.js 20+
  • npm, yarn, or bun

Contributing

The codebase is designed to be readable and hackable:

  • Entry point: bin/corvin.js
  • TUI components: index.tsx and src/components/*
  • Utilities: helpers/* and src/utils/*

Pull requests and issues welcome!


Support


License

MIT