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
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.3.tar.gz (27.0 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.3-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bossa_memory-0.1.3.tar.gz
  • Upload date:
  • Size: 27.0 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.3.tar.gz
Algorithm Hash digest
SHA256 8dd41b2ef94da55bb0fa7cb70cecf5473fc710476461a07926421f3d4819ae28
MD5 b787a84de0be4039adc0e48114e7f2d0
BLAKE2b-256 b36b046a16977bf74ccca97348391ef2497058845a1ca3bc8e415780d7cfa671

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bossa_memory-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 20.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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 80e7b2fe5d461c7be8a036a18a1497aed3f4a7697929471deebb118698268262
MD5 0306201dd258099a1a7fa01db0bd3fe9
BLAKE2b-256 39c382be5a6878e3950da83623eab65e32aa9f0378854731b67a9de0cb9200af

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