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

@recallbricks/agent-cli

v1.0.0

Published

Zero-friction onboarding CLI for RecallBricks - AI memory infrastructure

Readme

@recallbricks/agent-cli

Zero-friction onboarding CLI for RecallBricks - AI memory infrastructure.

Get your agent running with memory in 30 seconds:

npx @recallbricks/agent-cli setup rb_live_your_key_here

What is RecallBricks?

RecallBricks provides AI memory infrastructure for your agents. This CLI connects your existing agents to persistent memory with zero configuration.

Quick Start

1. Complete Dashboard Setup

  1. Go to dashboard.recallbricks.com/setup
  2. Choose your agent type (sales assistant, support agent, etc.)
  3. Accept or customize constitutional memories
  4. Copy your API key

2. Run the Setup Command

npx @recallbricks/agent-cli setup rb_live_xxxxx

The CLI will:

  • Validate your API key
  • Detect your project language (TypeScript/JavaScript/Python)
  • Ask for your LLM API key (saved for future projects)
  • Generate all necessary files
  • Install dependencies
  • Offer instant testing

3. Start Chatting

# TypeScript
npx ts-node agent.ts

# JavaScript
node agent.js

# Python
python agent.py

Commands

| Command | Description | |---------|-------------| | setup <api_key> | Set up a new agent from dashboard config | | test | Test your agent interactively | | config | Manage saved settings and credentials | | update | Update agent to latest SDK version |

setup

recallbricks setup rb_live_xxxxx [options]

Options:
  -d, --directory <path>   Target directory (default: current)
  -l, --language <lang>    Force language: typescript, javascript, python
  --no-install             Skip dependency installation
  --no-test                Skip test prompt

test

recallbricks test [options]

Options:
  -c, --config <path>      Path to recallbricks-config.json

config

recallbricks config [options]

Options:
  --show                   View saved configuration
  --clear                  Clear all saved credentials
  --set-llm <provider>     Set default LLM (anthropic, openai, google)

update

recallbricks update [options]

Options:
  -d, --directory <path>   Agent directory
  --dry-run                Show changes without applying

Generated Files

After setup, you'll have:

my-agent/
├── agent.ts              # Main agent with memory integration
├── package.json          # Dependencies
├── tsconfig.json         # TypeScript config
├── .env                  # API keys (gitignored)
├── recallbricks-config.json
└── examples/
    ├── 01-simple-chat.ts
    └── 02-memory-usage.ts

Supported LLMs

  • Anthropic (Claude) - Default
  • OpenAI (GPT-4)
  • Google (Gemini)

The CLI auto-detects which LLM you configured in the dashboard and generates the appropriate code.

Example Code

import { chat, rb } from './agent';

// Chat with memory context
const response = await chat("What did we discuss last time?");

// Direct memory operations
await rb.save({
  text: "User prefers dark mode",
  tags: ['preference', 'ui']
});

const memories = await rb.recall({
  query: "user preferences",
  limit: 5
});

Documentation

Development

# Install dependencies
npm install

# Run in development
npm run dev -- setup rb_test_xxx

# Build
npm run build

# Run built version
npm start -- setup rb_test_xxx

Links

License

MIT