# AGENTS.md

The open-source communication infrastructure for agents and products

## Setup

```
pnpm install
```

## Commands

```
pnpm start             # run the app
pnpm build             # produce a build
pnpm lint              # lint
pnpm format            # format
pnpm check             # lint and type check
pnpm bootstrap
pnpm build:api
pnpm build:dashboard
```

## Layout

- `apps/`       4096 source files
- `libs/`       2337 source files
- `packages/`   1732 source files
- `playground/` 201 source files
- `enterprise/` 26 source files
- `scripts/`    22 source files

## Conventions

- Tests live alongside the code they cover, following `.idea/runConfigurations/API___TEST.xml`.
- TypeScript is not in strict mode. Turning it on catches a whole class of mistakes before they run.
- CI defines what passing means. See `.github/workflows/agent-evals.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `.agents/skills/figma-use/references/plugin-api-standalone.d.ts` is 445KB. It will not fit comfortably in context, so read it in parts.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
