Documentation Index
Fetch the complete documentation index at: https://docs.bossamemory.com/llms.txt
Use this file to discover all available pages before exploring further.
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
1. Install the CLI
The Bossa CLI manages accounts, workspaces, and API keys.2. Sign Up & Log In
3. Create a Workspace & API Key
Free tier includes 1 workspace. See Pricing & Limits for tier details.4. Set Active Workspace (optional but recommended)
Avoid passing--key on every command by setting an active workspace:
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)
Runbossa 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:| Interface | When to use |
|---|---|
| CLI | Your agent runs tools as subprocesses (CLI-based harnesses, beads, etc.). Use bossa files ls, read, write, grep, glob, edit, delete with --json or BOSSA_CLI_JSON=1. |
| MCP | Your harness supports MCP (Claude Desktop, Cursor, LangChain). Connect to the MCP endpoint and use the tools directly. |
REST (scripts, curl)
CLI (agent subprocess)
MCP (agent frameworks)
Connect any MCP client (Claude Desktop, Cursor, LangChain) to:Authorization: Bearer YOUR_API_KEYX-API-Key: YOUR_API_KEY
6. Upload Files via CLI
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), usebossa 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
| Variable | Required | Description |
|---|---|---|
BOSSA_API_URL | No | Default: https://bossamemory.com (managed service). Override for self-hosted. |
BOSSA_API_KEY | Yes (API calls) | Your workspace API key. Or use bossa workspace use <name> --key <key>. |
BOSSA_WORKSPACE | No | Override active workspace by name (lookup key from config). |
BOSSA_CLI_JSON | No | Set to 1 for agent mode — all CLI commands return JSON |
OPENAI_API_KEY | Yes (examples) | For running the example agents |
SUPABASE_URL and SUPABASE_ANON_KEY when pointing the CLI at your own backend.
Next Steps
- MCP Integration — Connect Claude, Cursor, LangChain
- REST API Reference — Full endpoint documentation
- Agent Integration — Build AI agents with Bossa tools