agentleFS
floomhqfloomhq/floom/AGENTS.md

floom

AGENTS.md46 starsChanged 5 months agoMITView on GitHub

Self-hosted runtime for AI workers (script- or agent-mode jobs that run in E2B sandboxes). FastAPI + SQLite backend (apps/api), Next.js frontend (apps/web), MCP server (apps/mcp). Deeper docs: README.md, ARCHITECTURE.md, CONTRIBUTING.md.

  • Reads credentials
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

1 rule. About 1 is common, 0 are distinctive, and 0 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Common:

    No auth secret is needed for local dev.

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md — Floom

Self-hosted runtime for AI workers (script- or agent-mode jobs that run in E2B sandboxes). FastAPI + SQLite backend (apps/api), Next.js frontend (apps/web), MCP server (apps/mcp). Deeper docs: README.md, ARCHITECTURE.md, CONTRIBUTING.md.

Setup (once)

  • macOS/Linux: ./scripts/setup.sh · Windows: .\scripts\setup.ps1
  • Creates the backend venv, installs backend + frontend deps, scaffolds apps/api/.env.
  • Setup cannot complete without secrets only the user has. At minimum OPENAI_API_KEY + E2B_API_KEY (or Bedrock: WORKEROS_*_MODEL=bedrock/... plus AWS creds). Ask the user for these — never invent, guess, or commit them.

Run

  • macOS/Linux: ./scripts/dev.sh · Windows: .\scripts\dev.ps1
  • Starts backend (http://localhost:8000) + frontend (http://localhost:3000).
  • It blocks — it runs both servers in the foreground until Ctrl+C. If you are an agent, run it in the background, or start the two halves yourself: cd apps/api && ./venv/bin/python main.py (Windows: venv\Scripts\python.exe main.py) and cd apps/web && npm run dev.
  • No auth secret is needed for local dev; the first sign-in creates the account.

Test / lint

  • Backend: cd apps/api && ./venv/bin/python -m pytest tests/ -q
  • Frontend: cd apps/web && npm test (vitest) · npm run build · npm run lint

Hard rules (do not violate)

  • Never commit apps/api/.env, the root .env, or data/ — they hold API keys, secrets, OAuth tokens, sessions, and PATs. They are gitignored; keep it so.
  • No telemetry by default — never commit a key. The repo ships analytics wiring (PostHog) that is inert unless a key is set: with POSTHOG_API_KEY / NEXT_PUBLIC_POSTHOG_KEY unset, nothing is collected and no data leaves the instance — there is no key and no destination in the source. An operator who wants analytics sets their own PostHog project key (events route to their project). Keep it that way: never commit a key, and never send raw run input/output, secret names/values, connection tokens, or PII.
  • Don't let worker edits auto-push to this public repo. For real work point FLOOM_WORKERS_DIR / WORKEROS_WORKSPACE_DIR outside the checkout; the engine refuses to version into its own source tree by default.
  • No em-dashes (—) in web copy strings (npm run lint:emdash fails the build) or in .ps1 scripts (Windows PowerShell 5.1 mis-decodes them). Keep scripts ASCII.

Layout

  • apps/api — FastAPI + SQLite (Python 3.11+). Entry: main.py.
  • apps/web — Next.js 16 + Turbopack. Read apps/web/AGENTS.md first — it is a newer Next.js than your training data; consult the local docs before editing.
  • apps/mcp — MCP server / CLI (@floomhq/floom).
  • workers/ — example worker bundles, seeded into the DB on first boot.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.