# AGENTS.md

A unified AI model hub for aggregation & distribution. It supports cross-converting various LLMs into OpenAI-compatible, Claude-compatible, or Gemini-compatible formats. A centralized gateway for personal and enterprise model management.

## Setup

```
go mod download
```

## Commands

```
make build-web
make build-all-web
make start-api
make dev-api
make dev-api-rebuild
make dev-web
```

## Layout

- `web/`        1045 source files
- `relay/`      238 source files
- `relaykit/`   95 source files
- `service/`    88 source files
- `controller/` 86 source files
- `model/`      76 source files

## Conventions

- Tests live alongside the code they cover, following `bin/time_test.sh`.
- CI defines what passing means. See `.github/workflows/ci.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `web/src/features/channels/components/drawers/channel-mutate-drawer.tsx` is 214KB. It will not fit comfortably in context, so read it in parts.
- Copy `.env.example` before running anything that needs configuration.

---

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.
