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

lobsterai

v0.3.0

Published

LobsterAI - AI-powered personal assistant with local web UI

Readme

LobsterAI — AI-Powered Local Assistant


LobsterAI is a local AI assistant that runs on your machine. It uses the Claude Agent SDK to execute tools, manipulate files, and run commands — all under your supervision through a web interface.

Key Features

  • Local Execution — Run tasks directly on your machine with full control and transparency
  • Web Interface — Access through any modern web browser at localhost:3001
  • Built-in Skills — Office document generation, web search, Playwright automation, and more
  • Scheduled Tasks — Create recurring tasks via conversation or the GUI
  • Persistent Memory — Automatically extracts user preferences and remembers across sessions
  • Permission Gating — All tool invocations require explicit user approval before execution
  • File Browser — Browse and manage workspace files directly from the web UI
  • Local Data — SQLite storage keeps your chat history and configuration on your device

Quick Start

Prerequisites

  • Node.js >= 20
  • pnpm

Installation

# Install globally via pnpm
pnpm install -g lobsterai

# Or use npx without installing
npx lobsterai

Usage

Start the LobsterAI server:

lobsterai [options]

Options:

| Option | Description | Default | |--------|-------------|---------| | -p, --port <number> | Port to run server on | 3001 | | --host <string> | Host to bind to | localhost | | --no-open | Don't open browser automatically | - | | --data-dir <path> | Custom data directory | ~/.lobsterai | | --workspace <path> | Workspace directory | User home |

Examples:

# Start with default settings (opens browser automatically)
lobsterai

# Start on custom port
lobsterai -p 8080

# Start without opening browser
lobsterai --no-open

# Start with custom workspace
lobsterai --workspace ~/my-project

Development from Source

# Clone the repository
git clone https://github.com/sixtycat2000-ctrl/LobsterAI-Web.git
cd LobsterAI-Web

# Install dependencies
pnpm install

# Build the web UI
pnpm run build:web

# Build the server
pnpm run build:server

# Run the server
pnpm start

# Or run in development mode
pnpm run server:dev

Architecture

LobsterAI uses a simple client-server architecture:

┌─────────────────┐   HTTP/WS    ┌──────────────────┐
│   Browser       │ <──────────> │   Express Server │
│   (React UI)    │              │   (Node.js)      │
│                 │              │                  │
│  - Chat View    │              │  - Claude Agent  │
│  - File Browser │              │  - SQLite Store  │
│  - Artifacts    │              │  - File Watcher  │
└─────────────────┘              └──────────────────┘
                                        │
                                        ▼
                                 ┌──────────────┐
                                 │  Workspace   │
                                 │  (Files)     │
                                 └──────────────┘

Directory Structure

server/
├── src/
│   ├── cli.ts              # CLI entry point
│   ├── index.ts            # Express server
│   └── fileWatcher.ts      # File change notifications
├── routes/
│   ├── cowork.ts           # Cowork session API
│   ├── files.ts            # File browser API
│   ├── skills.ts           # Skills management
│   ├── store.ts            # Key-value store
│   └── ...
├── public/                 # Built web UI
└── package.json

src/
├── main/                   # Shared business logic
│   ├── libs/
│   │   ├── coworkRunner.ts        # Claude Agent SDK executor
│   │   ├── coworkMemoryExtractor.ts
│   │   └── ...
│   └── ...
├── renderer/               # React web UI
│   ├── components/
│   ├── services/
│   └── store/
└── web/
    └── main.tsx            # Web entry point

SKILLs/                     # Skill definitions
├── skills.config.json
├── web-search/
├── docx/
├── xlsx/
└── ...

Cowork System

Cowork is the core feature — an AI working session system built on the Claude Agent SDK. It can autonomously complete complex tasks like data analysis, document generation, and information retrieval.

Stream Events

Real-time updates via WebSocket:

  • message — New message added to the session
  • messageUpdate — Incremental streaming content update
  • permissionRequest — Tool execution requires user approval
  • complete — Session execution finished
  • error — Execution error occurred
  • file:changed — File changed in workspace

Permission Control

All tool invocations involving file system access, terminal commands, or network requests require explicit user approval. Both single-use and session-level approvals are supported.

Skills System

LobsterAI ships with built-in skills covering productivity, creative, and automation scenarios:

| Skill | Function | Typical Use Case | |-------|----------|-----------------| | web-search | Web search | Information retrieval, research | | docx | Word document generation | Reports, proposals | | xlsx | Excel spreadsheet generation | Data analysis, dashboards | | pptx | PowerPoint creation | Presentations | | pdf | PDF processing | Document parsing | | playwright | Web automation | Browser tasks | | local-tools | Local system tools | File management |

Scheduled Tasks

Create recurring tasks that automatically execute on a schedule:

  • Conversational — Tell the Agent in natural language
  • GUI — Add tasks manually in the Scheduled Tasks panel

Typical scenarios: daily news digests, periodic reports, data monitoring.

Persistent Memory

The system automatically extracts and remembers your personal information and preferences:

  • Automatic Extraction — Identifies preferences, personal facts during conversations
  • Explicit Requests — "Remember that I prefer Markdown format"
  • Manual Management — Edit memories in the Settings panel

Data Storage

All data is stored in a local SQLite database (~/.lobsterai/lobsterai.sqlite):

| Table | Purpose | |-------|---------| | kv | App configuration | | cowork_config | Cowork settings | | cowork_sessions | Session metadata | | cowork_messages | Message history | | scheduled_tasks | Scheduled tasks |

Security

  • Permission Gating — Tool invocations require explicit approval
  • Workspace Boundaries — File operations restricted to workspace
  • Path Validation — All file paths validated to prevent traversal attacks
  • Local Only — By default binds to localhost only

Tech Stack

| Layer | Technology | |-------|-----------| | Server | Express.js + WebSocket | | Frontend | React 18 + TypeScript | | Build | Vite 5 | | Styling | Tailwind CSS 3 | | State | Redux Toolkit | | AI Engine | Claude Agent SDK (Anthropic) | | Storage | sql.js (SQLite WASM) | | Markdown | react-markdown + remark-gfm + rehype-katex |

Development

# Install dependencies
pnpm install

# Development server (hot reload)
pnpm run dev

# Build for production
pnpm run build

# Run tests
pnpm test

# Lint code
pnpm run lint

Contributing

  1. Fork this repository
  2. Create your feature branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -m 'feat: add something')
  4. Push to the branch (git push origin feature/your-feature)
  5. Open a Pull Request

License

MIT License


Built with Claude Agent SDK.