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

agentum

v1.0.2

Published

Mirror terminal sessions and AI coding agents to mobile over WebSocket

Downloads

39

Readme

Agentum

Control AI coding agents from your phone. Mirror Claude Code, GitHub Copilot, and OpenAI Codex to mobile - code from your couch, bed, or anywhere.

How It Works

┌──────────────┐     WebSocket      ┌──────────────┐
│  Your Phone  │ ◄────────────────► │   Desktop    │
│  (Agentum    │                    │(agentum start)│
│   Mobile)    │                    │              │
└──────────────┘                    └──────────────┘
                                           │
                                    ┌──────┴──────┐
                                    │ AI Agents   │
                                    │ Claude Code │
                                    │ Copilot     │
                                    │ Codex       │
                                    └─────────────┘

Prerequisites

You need Node.js (v18+) installed. Then, install and authenticate the AI agents you want to control:

| Agent | Install | Login | |-------|---------|-------| | Claude Code | npm install -g @anthropic-ai/claude-code | claude (follow prompts) | | GitHub Copilot | gh extension install github/gh-copilot | gh auth login | | OpenAI Codex | npm install -g @openai/codex | codex (follow prompts) |

Only install and authenticate the agents you plan to use.


Quick Setup

1. Install CLI on your desktop

npm install -g agentum

2. Start the server

npx agentum start

This shows your connection info:

Terminal server started on port 11042
Connect from mobile using IP: <your-ip>, Port: 11042

3. Find your IP (if needed)

# macOS/Linux
ifconfig | grep "inet " | grep -v 127.0.0.1

# Or just use
hostname -I   # Linux
ipconfig      # Windows

4. Get the mobile app

| Platform | Status | |----------|--------| | iOS | iOS link | | Android | Coming soon |

5. Connect

Open the mobile app and enter:

  • IP/Host: Your desktop's IP address
  • Port: 11042 (default)

That's it! Your AI agents now stream to your phone.


Commands

agentum start

Start the server. Run this first.

agentum start                    # Default: port 11042
agentum start --port 8080        # Custom port
agentum start --no-vnc           # Disable screen sharing

agentum run <command>

Run any command and mirror output to mobile.

agentum run "npm test"
agentum run "python train.py" -d     # Detached (background)
agentum run "make build" -n build    # Named session

agentum list

Show active sessions.

agentum attach <id>

Attach to a session locally. Press Ctrl+] to detach.

agentum kill <id>

Stop a session.

agentum screenshot

Capture screen to disk.

agentum screenshot                # Saves to /tmp
agentum screenshot -o ./shots     # Custom directory

agentum notify

Push notification to phone.

agentum notify -t "Done" -b "Build complete"
agentum notify -t "Error" -b "Tests failed" -P high

Remote Access (Tailscale) - Highly Recommended

Access from anywhere, not just your local network. Works through firewalls and NATs.

Setup

  1. Install Tailscale on desktop and phone
  2. Sign in with same account on both
  3. Start Tailscale:
    tailscale up
  4. Connect from mobile:
    • IP/Host: Your Tailscale IP (tailscale ip -4) or MagicDNS hostname (e.g., your-desktop-name)
    • Port: 11042

Ports

| Port | Service | Description | |-------|-----------|--------------------------| | 11042 | WebSocket | Mobile ↔ Desktop | | 11043 | VNC | Screen sharing (optional)|



Troubleshooting

Port in use?

agentum start --port 8080

Can't connect from phone?

  • Same WiFi network?
  • Firewall blocking port 11042?
  • Try: ping <desktop-ip> from phone

Find your IP:

ifconfig | grep "inet "

Links