openconcho
AGENTS.md182 starsChanged 7 months agoMITView on GitHub
Frontend UI for self-hosted Honcho instances — browse memories, peers, sessions, conclusions, and chat with memory context. Ships as a web app (@openconcho/web) and a Tauri desktop wrapper (@openconcho/desktop). make is the canonical interface; it shells out to pnpm scripts which shell out to turborepo. CI calls the same targets — make help lists everything. Read .claude/rules/coding-standards.md when writing or reviewing any code file. Read .claude/rules/workflows.md for recurring task patterns. Read docs/architecture.md for component overview, data flow, and design decisions.
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.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 47
Read .claude/rules/coding-standards.md when writing or reviewing any code file.
- Very specific: line 51
Read .claude/rules/workflows.md for recurring task patterns.
- Very specific: line 55
Read docs/architecture.md for component overview, data flow, and design decisions.
- Very specific: line 64
Before pushing any change under packages/desktop/ or packages/desktop/src-tauri/, run:
≈ “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.
Files
openconcho
Frontend UI for self-hosted Honcho instances — browse memories, peers, sessions, conclusions, and chat with memory context. Ships as a web app (@openconcho/web) and a Tauri desktop wrapper (@openconcho/desktop).
Commands
make is the canonical interface; it shells out to pnpm scripts which shell out to turborepo. CI calls the same targets — make help lists everything.
| Command | Purpose |
make bootstrap | Install deps + Playwright Chromium (run once after clone) |
make dev-web | Vite dev server on http://localhost:5173 |
make dev-desktop (or make dev) | Tauri desktop app |
make build | Turbo: build web + desktop |
make lint | Biome check |
make typecheck | tsc --noEmit |
make test | Vitest (unit + integration), excludes e2e/ |
make test-e2e | Playwright e2e (uncached) |
make smoke-docker | Local: build image + hermetic smoke test of the /api proxy (Docker required) |
make up | Run the web container from source (dev-forward, builds) at :8080 |
make prod | Run the web container from the published image (pulls ghcr…:latest) |
make down | Stop + remove the web container (dev or prod) |
make clean | down + remove the locally built image |
make check | lint + typecheck + test |
pnpm --filter @openconcho/desktop cargo-check | Local Rust/Tauri compile check before pushing desktop changes |
pnpm --filter @openconcho/web generate:api | Regen src/api/schema.d.ts from openapi.json |
Structure
| Path | Purpose |
packages/web/ | Vite + React 19 + TanStack Router/Query SPA |
packages/web/src/routes/ | TanStack Router file-based routes (flat-route syntax) |
packages/web/src/components/ | Feature components grouped by domain |
packages/web/src/api/ | openapi-fetch client + TanStack Query hooks |
packages/web/src/lib/ | Config (localStorage) + theme utilities |
packages/web/src/hooks/ | Custom React hooks |
packages/web/src/test/ | Vitest unit/integration tests + setup |
packages/web/e2e/ | Playwright e2e specs |
packages/desktop/ | Tauri shell that bundles the built web app |
charts/openconcho/ | Helm 3 chart for self-hosting on Kubernetes (OCI artifact on GHCR) |
.claude/rules/ | Coding conventions (auto-loaded; stack-agnostic, applies to all agents) |
docs/ | Architecture and references |
Code Style
Read .claude/rules/coding-standards.md when writing or reviewing any code file.
Workflows
Read .claude/rules/workflows.md for recurring task patterns.
Architecture
Read docs/architecture.md for component overview, data flow, and design decisions.
CI policy
- PR CI only runs the web checks.
- Rust/Tauri compile-check is local-only for now because the Linux dependency setup on GitHub Actions is too slow for routine PR validation.
Required local preflight
Before pushing any change under packages/desktop/** or packages/desktop/src-tauri/**, run:
pnpm --filter @openconcho/desktop cargo-check
make ci-web matches current PR CI.
Key Constraints
- No hardcoded URLs — connection config lives in
localStorageunderopenconcho:instances(multi-instance store; legacyopenconcho:configis auto-migrated) - Web CORS via a same-origin
/apiproxy — the web build issues all Honcho calls to/api/*with anX-Honcho-Upstreamheader (the active instance's URL); nginx (docker) and a Vite middleware (dev) forward server-side. Transport is resolved bydispatchForinsrc/lib/dispatch.ts: web → relative/api+ header; Tauri → absolute URL + reqwest. OptionalOPENCONCHO_UPSTREAM_ALLOWLISTguards the proxy when exposed. - Local git hooks —
.husky/pre-commitruns a secret scan + Biome on staged files;.husky/pre-pushrunspnpm check. Your commits and pushes trigger these. - TanStack Router flat-route params — always cast
paramsasas neveratnavigate()and<Link>callsites framer-motionVariants typing — importtype Variantsand annotate objects; never useas conston variant objects- Auth is optional — token header only sent when non-empty;
checkConnection()detects if auth is required - CSS variables only — no Tailwind color utilities for theme-aware colors; use
var(--text-1)etc. - Shared deps via pnpm catalog — version-pinned in
pnpm-workspace.yaml; reference as"catalog:"in package.json - Conventional commits enforced — commitlint runs in husky
commit-msg; body lines must be ≤100 chars - Releases via semantic-release —
.releaserc.json; commits land onmain, no manual version bumps - GitHub account — push under
offendingcommit(gh auth switchif needed) - Desktop preflight is local — Rust/Tauri compile-check no longer runs in PR CI; run
pnpm --filter @openconcho/desktop cargo-checkbefore pushing anypackages/desktop/**orpackages/desktop/src-tauri/**change
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
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.

