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

codegpt-ai

v2.35.10

Published

Local AI Assistant Hub — 123 commands, 26 tools, 8 agents, multi-AI, security. No cloud needed.

Downloads

388

Readme

CodeGPT

Your local AI assistant hub. One command. No cloud. No API keys.

npm i -g codegpt-ai

Then type code.

  ╔══════════════════════════════════════════════════╗
  ║                                                  ║
  ║      C o d e   G P T   v2.0                      ║
  ║      local ai · powered by ollama                 ║
  ║                                                  ║
  ╚══════════════════════════════════════════════════╝

What is it?

CodeGPT is a full-featured AI CLI that runs entirely on your machine using Ollama. 123 commands, 8 AI agents, 26 tools, no cloud needed.

Works on Windows, macOS, Linux, and Termux (Android).

Install

npm i -g codegpt-ai
code

No Python? No problem — a built-in Node.js chat client runs automatically. With Python installed, you get the full 123-command experience.

Other install methods

# pip
pip install git+https://github.com/CCguvycu/codegpt.git
ai

# Termux (Android)
curl -sL https://raw.githubusercontent.com/CCguvycu/codegpt/main/install-termux.sh | bash
code

# Windows (PowerShell)
irm https://raw.githubusercontent.com/CCguvycu/codegpt/main/install.ps1 | iex

Requirements

  • Node.js 16+ or Python 3.10+
  • Ollamaollama.com then ollama pull llama3.2
  • Or connect to a remote Ollama with /connect IP

Features

123 Commands

| Category | Commands | |----------|----------| | Chat | /new /save /load /copy /regen /edit /history /export | | Model | /model /temp /think /tokens /params /compact | | AI Agents | /agent /all /vote /swarm /team /room /spectate | | AI Lab | /lab bench /lab chain /lab prompt /race /compare | | Tools | /tools /bg /split /grid 26 AI CLI integrations | | Connect | /connect /server /qr /scan /disconnect | | Files | /file /run /code /shell /browse /open | | Memory | /mem /train /pin /search /fork /rate | | Skills | /skill /skills /auto /cron | | Comms | /broadcast /inbox /dm /monitor /hub | | System | /github /weather /spotify /volume /sysinfo | | Security | /pin-set /lock /audit /security /permissions | | Profile | /profile /persona /usage /setname /setbio |

8 AI Agents

Specialized agents with custom system prompts:

/agent coder build a REST API with auth
/agent debugger why does this crash
/agent reviewer check this code for bugs
/agent architect design a microservices system
/agent pentester find security vulnerabilities
/agent optimizer make this code faster
/agent explainer explain kubernetes simply
/agent researcher deep-dive into WebSockets

Multi-AI System

/all what's the best database?       # All 8 agents answer in parallel
/vote Flask or FastAPI?              # Agents vote with consensus
/swarm build a CLI password manager  # 6-agent collaborative pipeline
/team claude codex                   # Group chat: you + 2 AIs
/room coder reviewer architect       # Chat room with 3+ AIs
/spectate claude gemini debate AI    # Watch AIs debate without you

26 AI Tool Integrations

Launch any AI CLI from CodeGPT. Auto-installs on first use. All sandboxed.

/claude    /codex     /gemini    /copilot   /cline
/aider     /shellgpt  /llm       /litellm   /opencommit
/gorilla   /chatgpt   /cursor    /ollama    /jq
/vercel    /netlify   /supabase  /railway   /wrangler

Split screen multiple tools:

/split claude codex                  # Side by side
/grid claude codex gemini cline      # 2x2 grid

Custom Skills

Create your own commands — like OpenClaw's self-extending skills:

/skill poet Write all responses as poetry
/auto a brutal code reviewer that finds every bug
/cron 5m /weather                    # Scheduled tasks

Security

  • Permission system — asks before every action with risk level (CRITICAL/HIGH/MEDIUM/LOW)
  • PIN lock — SHA-256 hashed, auto-locks after 10min idle
  • Sandbox — non-coding tools run in isolated directories, API keys stripped
  • Rate limiting — blocks rapid-fire command spam
  • Input sanitization — strips null bytes and control characters
  • Shell blocklist — blocks dangerous commands + injection patterns
  • Audit log — every action logged
  • Pre-commit hook — blocks secrets from being committed

Remote Connect

/connect 192.168.1.100    # Connect to PC's Ollama from phone
/qr                       # Show QR code to scan
/server                   # Check connection status

Token Counter

Tracks lifetime tokens and messages across all sessions. Visible on startup.

CLI Args

code                           # Interactive chat
code --ask "explain recursion" # One-shot question
code --agent coder "flask app" # Run an agent
code --team claude codex "auth"# Two AIs respond
code --tools                   # List tools
code --models                  # List Ollama models
code --status                  # Show status
code doctor                    # System diagnostics
code update                    # Self-update
echo "question" | code         # Pipe input

Aliases

30+ shortcuts for fast typing:

| Short | Full | Short | Full | |-------|------|-------|------| | /q | /quit | /a | /all | | /n | /new | /sw | /swarm | | /s | /save | /t | /think | | /m | /model | /h | /help | | /f | /file | /con | /connect |

Personas

6 built-in AI personalities:

/persona hacker      # Cybersecurity expert, dark humor
/persona teacher     # Patient, step-by-step explanations
/persona roast       # Brutal code reviewer
/persona architect   # System design, ASCII diagrams
/persona minimal     # One-line answers, code only
/persona default     # Standard helpful assistant

Architecture

codegpt/
  chat.py        6,500+ lines   Main CLI (Python)
  bin/chat.js     300 lines     Node.js fallback
  ai_cli/                       Package (updater, doctor)
  app.py                        TUI app (Textual)
  bot.py                        Telegram bot
  web.py                        Web app (Flask PWA)

License

MIT — Built by ArukuX