Skip to main content

Get Started in 30 Seconds

Give your AI agent persistent memory so it remembers conversations, learns preferences, and builds up context over time—just like Claude Code does. No database setup. No vector embeddings. Just simple files that work. Base URL: https://bossamemory.com

What You’ll Build

By the end of this guide, you’ll have an agent that:
  • Stores user preferences in /user/prefs.json
  • Searches past conversations with grep
  • Remembers context across sessions
Let’s go.

1. Install the CLI

The Bossa CLI manages accounts, workspaces, and API keys.

2. Sign Up & Log In

The CLI defaults to the managed service and fetches auth config automatically. No environment variables needed for signup/login.

3. Create a Workspace & API Key

Free tier includes 1 workspace. See Pricing & Limits for tier details.
One-liner: Create workspace and key and save to config in one step:
Example output:
Avoid passing --key on every command by setting an active workspace:
Or use bossa keys create my-app --save to create and save in one step. The key is stored in ~/.config/bossa/config.json. After this, you can run bossa files ls / without --key.

Add Bossa to your agent config (optional)

Run bossa init to add Bossa usage instructions to your AGENTS.md or CLAUDE.md. Your AI agent will then know how to use Bossa commands.

5. Make Your First Request

Agents can use Bossa in two main ways: Both expose the same filesystem operations. Choose based on how your agent executes tools.

REST (scripts, curl)

CLI (agent subprocess)

See CLI Reference for the full command reference.

MCP (agent frameworks)

Connect any MCP client (Claude Desktop, Cursor, LangChain) to:
Pass your API key in headers:
  • Authorization: Bearer YOUR_API_KEY
  • X-API-Key: YOUR_API_KEY
See MCP Integration for client-specific setup.

6. Upload Files via CLI

Set BOSSA_API_KEY in your environment, use --key YOUR_API_KEY, or run bossa workspace use <name> --key <key> to store the key. The CLI uses the managed service by default when BOSSA_API_URL points to the hosted URL.

Full filesystem access

Using the CLI as an agent

When your agent harness runs tools as subprocesses (e.g. CLI-based agents), use bossa files for full filesystem access. Use --json for machine-readable output, or set BOSSA_CLI_JSON=1 so all commands return JSON without passing the flag. Exit codes: 0 success, 1 error, 2 auth failure.

Environment Variables Summary

Self-hosting only: Set SUPABASE_URL and SUPABASE_ANON_KEY when pointing the CLI at your own backend.

Next Steps

Last modified on March 13, 2026