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

aaclaw

v0.3.5

Published

AA Claw ๐Ÿฆ€ โ€” Lightweight AI Agent gateway in Rust. Single static binary, any OpenAI-compatible provider, built-in memory, remote control & multi-agent orchestration. Auth via aaclaw.net.

Readme

AA Claw ๐Ÿฆ€

Lightweight AI Agent gateway in Rust โ€” chat, memory, remote control, and task orchestration in a single static binary. Auth via aaclaw.net.

npm version node platform license

What is AA Claw?

One command that gives you:

  • ๐Ÿชถ A lightweight agent โ€” single ~17MB Rust binary, statically linked with musl; zero glibc dependency, no runtime to install
  • ๐Ÿ”Œ Any OpenAI-compatible API โ€” DeepSeek / OpenRouter / OpenAI / local ollama; switch by changing one config line
  • ๐Ÿง  Persistent memory โ€” store facts, search them semantically, auto-consolidate overnight
  • ๐ŸŽฎ Remote control โ€” turn any server into a web-controlled agent
  • ๐Ÿงฉ Task orchestration โ€” describe a goal, get it decomposed and executed as subtasks
  • ๐Ÿ’ฌ Sessions โ€” every conversation is saved and resumable

This guide walks you through everything, step by step. No prior setup assumed.

Requirements

  • Linux x64 (musl static build โ€” works on any distro, from Alpine to Ubuntu)
  • Node >= 16 (only for the npm installer; the binary itself has zero dependencies)
  • An API key from any OpenAI-compatible provider (DeepSeek, OpenRouter, OpenAI, ollama...)

Install

npm install -g aaclaw

Verify it works:

aaclaw --version
npm update -g aaclaw      # upgrade later
npm uninstall -g aaclaw   # remove

If the platform package was skipped: npm install -g aaclaw --include=optional

Step 1 โ€” Log in

AA Claw authenticates through aaclaw.net. Two ways:

Option A: browser OAuth (easiest on a desktop)

aaclaw login

Choose option 1, confirm on the authorization page, copy the token โ€” done.

Option B: paste a token (headless servers, SSH, containers)

  1. Register at aaclaw.net
  2. Open the /tokens page and generate an API token (looks like tk_xxxxxxxx)
  3. Paste it into the terminal:
aaclaw login tk_xxxxxxxx

Check you're authenticated:

aaclaw whoami

Tokens are valid for 30 days and cached in ~/.aaclaw/auth.json. Re-run aaclaw login to refresh, aaclaw logout to clear.

Step 2 โ€” Connect your AI provider

Create a config file in your working directory:

aaclaw init

Then edit aaclaw.toml with your provider of choice:

[[providers]]
name = "deepseek"
type = "openai"
api_key = "sk-..."
default_model = "deepseek-chat"
base_url = "https://api.deepseek.com/v1"

Any OpenAI-compatible endpoint works. Common choices:

| Provider | base_url | default_model example | |------|------|------| | DeepSeek | https://api.deepseek.com/v1 | deepseek-chat | | OpenRouter | https://openrouter.ai/api/v1 | any model slug | | OpenAI | https://api.openai.com/v1 | gpt-4o-mini | | ollama (local) | http://localhost:11434/v1 | llama3 |

Inspect what AA Claw loaded:

aaclaw config

Step 3 โ€” Start talking

One-shot question:

aaclaw ask "explain musl vs glibc in two sentences"

Interactive chat:

aaclaw

Inside chat you can use tools (shell, file, http, git, web_search) โ€” the agent executes and reports back. Exit with Ctrl+C.

Congratulations โ€” that's the basic loop. The rest of this guide covers what makes AA Claw more than a chat wrapper.

Feature walkthrough

๐Ÿ’พ Memory โ€” teach it facts, recall them later

aaclaw remember "our staging server is 10.0.0.42, prod is 10.0.0.51"
aaclaw memory "staging server address"

memory does semantic search โ€” you don't need exact keywords.

Over time, run:

aaclaw dream

Auto-Dream consolidates accumulated memories: merges duplicates, prunes noise, keeps the important stuff compact.

๐Ÿ’ฌ Sessions โ€” nothing is lost

Every conversation is persisted. List them:

aaclaw sessions

Resume the latest, or a specific one:

aaclaw resume            # latest session
aaclaw resume <id>       # specific session

๐ŸŒ Remote control โ€” drive a server from the web

Turn the CLI into an agent controlled from aaclaw.net:

aaclaw remote                      # shows up as your hostname
aaclaw remote --name build-box     # custom name

Events stream back live; you send commands from the browser. Ideal for headless boxes, CI runners, or keeping an agent on a VPS.

To expose channels (web UI and more) as a daemon:

aaclaw serve                       # default listen address from config
aaclaw serve --web 0.0.0.0:8080    # override

๐Ÿงฉ Orchestrate โ€” one goal, many subtasks

Give it a complex goal; it decomposes, executes, and reports:

aaclaw orchestrate "write a crawler for example.com, test it, and save results to csv"

Use this when a task naturally has stages (build โ†’ test โ†’ package, scrape โ†’ clean โ†’ store). For single questions, ask is faster.

๐Ÿ› ๏ธ Self-optimization loop

Point the Meta-Harness at a codebase:

aaclaw optimize

It generates tests, tracks coverage across runs, and flags regressions. Best run repeatedly in a project directory under version control.

๐ŸŽฏ Skills

aaclaw skills                  # scan data/skills/
aaclaw skills --dir my/skills  # custom directory

Drops skill files in a directory and the pipeline picks them up. See aaclaw skills --help for matching options.

Command reference

| Command | What it does | |------|------| | chat | Interactive chat (default when no command given) | | ask <prompt> | Single one-shot prompt | | serve | Start web server + all enabled channels (daemon mode) | | remote | Run as a remote-controlled agent; commands come from aaclaw.net | | login [token] / logout / whoami | Auth: login (browser OAuth or tk_... token) / logout / status | | sessions / resume [id] | List sessions / resume (latest if no ID given) | | remember <text> / memory <query> | Store a memory / semantic search | | dream | Auto-Dream memory consolidation | | orchestrate <prompt> | Decompose and execute a complex task | | optimize | Meta-Harness loop: tests / coverage / regression detection | | skills | Test the skills pipeline | | feedback <text> | Send bugs or ideas straight to the team (first line = subject) | | init / config | Initialize config file / show current config | | status | Version and system info |

Global option: -c, --config <FILE> to use a different config (default aaclaw.toml).

Configuration

aaclaw.toml is loaded from the current directory (see aaclaw init / aaclaw config). Multiple [[providers]] blocks are allowed; the agent picks by priority.

Platform Support

| Platform | Status | |------|------| | linux-x64 (musl static) | โœ… v0.3.0+ | | linux-arm64 / darwin / win32 | ๐Ÿšง future releases |

Feedback & Links

  • Found a bug or have an idea? aaclaw feedback "your message here" โ€” it lands directly in our inbox
  • ๐ŸŒ Website / auth service: aaclaw.net
  • ๐Ÿ“ฆ npm package: npmjs.com/package/aaclaw

License

Copyright ยฉ 2026 Theone-best โ€” Proprietary software. All rights reserved. Licensed for installation and use in binary form only; redistribution, reverse engineering, or removal of copyright notices is prohibited. See LICENSE for the full terms. Installing or using the software means you accept the agreement.