Skip to main content

Your AI agent's long-term memory. Persistent filesystem backed by Postgres.

Project description

Bossa

Stop building agents that forget.

Give your AI a filesystem. ls, grep, read, write. That's it.

📖 Documentation → bossa.mintlify.app

pip install bossa-memory · No infrastructure · Sign up, get a key, ship.

Get Started · Why Filesystem? · CLI · MCP · REST API · Examples · Docs


Your agent keeps asking the same questions.

Every session is Groundhog Day. User preferences? Forgotten. Last conversation? Gone. Project context? What project?

You've tried RAG. Embeddings. Chunking. Tuning. It's a rabbit hole—and your agent still forgets.

Claude Code and Manus figured it out: give agents a filesystem. Not vectors. Not embeddings. Files. ls, grep, read, write. Agents already know how to use them. Bossa gives your agents that filesystem—persistent, searchable, Postgres-backed—in one line.


Why filesystem over RAG?

Bossa (filesystem) Traditional RAG
grep "user preferences" Tune embeddings, pray it works
Directory structure = organization Flat vector space
Works like CLI tools agents know New abstractions to learn
Debuggable with ls, cat Black box retrieval
No embedding drift Constant re-indexing

For 80% of agent use cases, filesystems just work. Why we chose this →


Dynamic context discovery—built in.

Cursor and LangChain are moving to dynamic context discovery: let the agent pull context on demand instead of loading everything. Fewer tokens. Better answers.

Bossa is the storage layer for that. Your agent uses ls and grep to discover what's relevant, then read to pull only what it needs. No new concepts. Just files.


Get Started

30 seconds. No infrastructure. No Docker. No config.

Step Action
1 Sign up via the CLI
2 Create a workspace & API key
3 Connect your agent via MCP or REST

Base URL: https://filesystem-fawn.vercel.app
MCP endpoint: https://filesystem-fawn.vercel.app/mcp

pip install bossa-memory
bossa signup && bossa login
bossa workspaces create my-app && bossa keys create my-app
bossa workspace use my-app --key sk-...   # Store key, then:
bossa files ls /

What you get

  • Feels like local filesls, read, write, grep, glob, edit, delete. No new concepts.
  • Powered by Postgres — Full-text search, trigrams, ACID, JSON. Enterprise-ready.
  • Plug-and-play — CLI for subprocess agents; MCP for LangChain, Claude, Cursor; REST for scripts.
  • Your agent's space — Each API key = one workspace. No cross-tenant leakage.

What can you build?

Personal AI assistant — Preferences, conversation history, project context. Never ask twice.

Customer support agent — Account info, tickets, interaction history. One source of truth.

Research agent — Sources, findings, notes. Build knowledge over weeks.

See more examples →


CLI

First-class for agents. When your harness runs tools as subprocesses, use bossa files for full parity with MCP.

bossa files ls /                    # List directory
bossa files read /docs/x.md         # Read file
bossa files grep "project alpha"   # Search
echo "content" | bossa files write /note.txt

Agent mode: BOSSA_CLI_JSON=1 for machine-readable output. Full CLI reference →


MCP Tools

Connect to https://filesystem-fawn.vercel.app/mcp. Pass Authorization: Bearer YOUR_API_KEY or X-API-Key: YOUR_API_KEY.

Tool What it does
ls List files and directories
read_file Read file contents
write_file Create or overwrite
edit_file Replace substring in place
grep Search with literal/regex
glob_search Find by pattern
delete_file Delete a file

MCP setup for Claude, Cursor, LangChain →


REST API

Base URL: https://filesystem-fawn.vercel.app

Method Endpoint Description
POST /api/v1/files Create or overwrite
GET /api/v1/files?path=... Read file
GET /api/v1/files/list?path=... List directory
POST /api/v1/files/search Grep search
GET /api/v1/files/glob?pattern=...&path=... Glob search
PATCH /api/v1/files Edit in place
DELETE /api/v1/files?path=... Delete

Full REST reference →


Examples

CLI (agent subprocess)

export BOSSA_API_KEY=your-api-key
export BOSSA_CLI_JSON=1
bossa files ls /
bossa files read /memory/summary.md
echo "New content" | bossa files write /memory/note.txt

LangChain + MCP

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
    "bossa": {
        "url": "https://filesystem-fawn.vercel.app/mcp",
        "transport": "streamable_http",
        "headers": {"X-API-Key": "YOUR_API_KEY"}
    }
})
tools = await client.get_tools()
# Use with your agent

More examples in the repo →


Self-Hosting

Run Bossa on your own infrastructure. Self-hosting guide →


Documentation

Doc Description
Getting Started Sign up, API key, first request
Pricing & Limits Account tiers, usage limits
Why Filesystem? Filesystem vs RAG
Dynamic Context Discovery How Bossa fits Cursor & LangChain
CLI Reference Full command reference
MCP Integration Claude, Cursor, LangChain
REST API Full API reference
Agent Integration Examples, tool patterns
Self-Hosting Run on your infrastructure

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bossa_memory-0.1.4.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bossa_memory-0.1.4-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file bossa_memory-0.1.4.tar.gz.

File metadata

  • Download URL: bossa_memory-0.1.4.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for bossa_memory-0.1.4.tar.gz
Algorithm Hash digest
SHA256 273e628d3be9d66afa5220766ea49da1a33beed4d7cc70d6f587adefd5c794d9
MD5 f250795cff5b34b309f197ca7e6972a2
BLAKE2b-256 f5c5815d249897bed02bb458be45529101d89d8e50b081653b72568eb36bb079

See more details on using hashes here.

File details

Details for the file bossa_memory-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: bossa_memory-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for bossa_memory-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c2c9be5fc83243c1e83edebc041a4ac4bf4b5a3702ffd259f841cecb5ee6e4e9
MD5 b5b659aeea797ef82f6693d65ef68144
BLAKE2b-256 1ed9054b5de642e45fa46ae39cc3e0de5a7ae145bf38f2938a5c00f8627438de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page