# AGENTS.md

Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience 

## Setup

```
npm install
```

## Commands

```
npm run dev             # run locally
npm run test            # run the test suite, must pass before any commit
npm run lint            # lint
npm run lint:ci
npm run setup
npm run setup:envs
npm run dev:server
npm run dev:collector
```

## Layout

- `frontend/`      599 source files
- `server/`        498 source files
- `collector/`     67 source files
- `open-computer/` 67 source files
- `docker/`        2 source files
- `extras/`        2 source files

## Conventions

- Tests live alongside the code they cover, following `cloud-deployments/helm/charts/anythingllm/templates/tests/test-connection.yaml`.
- CI defines what passing means. See `.github/workflows/build-and-push-image-semver.yaml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `frontend/src/locales/ru/common.js` is 128KB. It will not fit comfortably in context, so read it in parts.
- No lockfile is committed, so an install here may not match what CI produced.

---

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.
