# Fellow — Never build alone.

The AI-first engineering platform on Bun, Nitro 3, Vue 3 and PostgreSQL. Every command speaks JSON, every change carries evidence, and the risky ones wait for a person.

Version 1.0.0-alpha.4 · MIT · Bun only · npm: `@fellowframework/*` · Docs: https://fellow.run/docs · https://github.com/FellowFramework/fellow

## This page has two readers

You, and the agent working with you. Both get the same facts:

- `/llms.txt` — index for agents
- `/llms-full.txt` — the whole site as one Markdown file
- `/index.md` — this page
- `/mcp.json` — MCP client config for `bun fellow mcp`
- WebMCP tools on the page: `fellow_search_docs`, `fellow_get_quickstart`, `fellow_plan_resource`, `fellow_explain_exit_code`, `fellow_get_status` (read-only)

## The cycle

1. **Understand** — `fellow context <terms> --pack`: minimal context with file, line range and hash.
2. **Plan** — `fellow task:new` then `fellow task:check`: a plan that is complete and traceable, or a `FW-TASK-*` diagnostic.
3. **Change** — `fellow make:* --dry-run`, then apply: deterministic, idempotent generators.
4. **Verify** — `fellow check --tests`: architecture, types and tests, failures classified.
5. **Report** — `fellow task:evidence`: an Evidence Report from verifiable facts, never from what the agent says.
6. **Approve** — `fellow approve`: a person, in a terminal. Never over MCP or `--json`.

## Agents propose. People approve.

Exit codes are public API: `0` success, `1` problems found, `2` invalid usage, `3` environment not ready, `70` a bug in Fellow.

The MCP server (`fellow mcp`) offers 12 tools. It does not expose approvals, tokens, destructive migrations or forced overwrites, and logs every call.

## Contracts the pipeline enforces

`defineRoute` declares authentication, permission, tenant, input and output; the pipeline enforces them and Nitro routes. OpenAPI 3.1, JSON Schema and the typed client come from the same contract. Tenants are isolated twice: scoped queries and forced row-level security. The Architecture Validator checks 53 rules with stable ids and suggested fixes.

## Status, honestly

Works today: contracts, multi-tenancy, modules, operations, the agent toolchain, templates. Not yet: SSR of Vue components, a React adapter, embeddings search, a hosted module registry, key revocation.

## Start

```bash
bunx @fellowframework/cli new my-app --template saas
cd my-app && bun install && cp .env.example .env
bun fellow migrate && bun fellow dev
```

Documentation: https://fellow.run/docs (each page also as Markdown, listed in https://fellow.run/llms.txt)
Full context: https://fellow.run/llms-full.txt
