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

@jlongo78/agent-spaces

v0.9.0

Published

Agent workspace manager for Claude, Codex, Gemini, and more

Readme


What is Spaces?

Most AI coding agents are powerful but isolated — one terminal, one session, one agent at a time. Spaces changes that.

Open your browser and get a full terminal grid where every pane is a real PTY. Spin up Claude in one pane, Codex in another, a plain shell in a third. Group them into named workspaces. Search across every session you've ever had. See your usage stats at a glance.

Everything runs locally. Your data never leaves your machine.

Quick Start

Install from npm (recommended)

npm install -g @jlongo78/agent-spaces
spaces

Or build from source

git clone https://github.com/jlongo78/spaces.git
cd spaces
npm install
npm run build
npm start

Open http://localhost:3457 and start adding panes.

Features

Terminal Multiplexer

Split your browser into a grid of terminal panes. Each one runs a real PTY streamed over WebSocket to xterm.js — not a toy emulator.

Agent-Agnostic

First-class support for Claude Code, Codex CLI, Gemini CLI, Aider, any custom command, and plain shell. Pick your agent per-pane from a dropdown.

Workspaces

Group panes into named, color-coded spaces. Working on the frontend and the API at the same time? Give each its own workspace and switch instantly.

Session Browser

Every agent session (Claude, Codex, Gemini, Aider) is indexed automatically. Browse, search, and filter with full-text search powered by SQLite FTS5. Jump back into any conversation.

Dashboard & Analytics

Session counts, token usage breakdown by model, activity heatmap, and cost estimates — all computed locally from your ~/.claude/ data.

Everything Local

Zero cloud dependencies. No accounts. No telemetry by default. All data lives in ~/.claude/ (read-only) and ~/.spaces/ (auto-created). Fully offline-capable.

Advanced Tiers

The Community edition above is fully open source (MIT) and free forever. For teams and organizations, Spaces also supports multi-user auth, admin panels, federated node networks, and remote workspaces through optional paid tiers.

| | Community | Server | Team | Federation | |---|:---------:|:------:|:----:|:----------:| | Multi-pane terminals | Yes | Yes | Yes | Yes | | Session browser & search | Yes | Yes | Yes | Yes | | Dashboard & analytics | Yes | Yes | Yes | Yes | | Browser access | Yes | Yes | Yes | Yes | | Login & TOTP auth | - | Yes | Yes | Yes | | Multi-user accounts | - | - | Yes | Yes | | Admin panel | - | - | Yes | Yes | | Federated node network | - | - | - | Yes | | Remote workspaces | - | - | - | Yes | | mDNS auto-discovery | - | - | - | Yes |

See docs/tiers.md for details.

Tech Stack

| Layer | Technology | |-------|------------| | Framework | Next.js 16 (App Router) | | UI | React 19, Tailwind CSS, Lucide icons | | Database | SQLite via better-sqlite3, FTS5 full-text search | | Terminal | xterm.js + node-pty over WebSocket | | Runtime | Node.js (CLI) |

Configuration

| Variable | Default | Description | |----------|---------|-------------| | SPACES_PORT | 3457 | Web UI port | | SPACES_WS_PORT | 3458 | Terminal WebSocket port | | NEXT_PUBLIC_TIER | community | Product tier |

Data lives in:

  • ~/.claude/ — Claude Code sessions (read-only)
  • ~/.codex/ — Codex CLI sessions (read-only)
  • ~/.gemini/ — Gemini CLI sessions (read-only)
  • .aider.chat.history.md — Aider sessions in each project directory (read-only)
  • ~/.spaces/ — Spaces database and config (auto-created)

Contributing

Contributions are welcome. Please open an issue first to discuss what you'd like to change.

License

MIT