agcluster-container
AGENTS.md78 starsChanged 13 months agoMITView on GitHub
- Reads credentials
- Installs packages
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
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Add unit tests for new services/models.
- Very specific: line 30
Use conventional commits when possible (feat:, fix:, chore:, docs:).
- Distinctive: line 32
Keep commits scoped; avoid mixing backend and UI refactors unless tightly coupled.
≈ “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
Repository Guidelines
Project Structure & Modules
src/agcluster/container/– FastAPI backend:api/endpoints,core/orchestration (session, container, translation),models/Pydantic schemas, andui/Next.js dashboard.tests/– Pytest suites split intounit/andintegration/; markers also covere2e(Docker-backed).e2e/agcluster.spec.ts– Root Playwright checks against a running stack.docker/,docker-compose.yml,configs/,.env.example– Deployment assets; copy.env.exampleto.envbefore local runs.docs/,examples/– Reference material and sample agent configurations.
Build, Test, and Development Commands
- Backend setup:
pip install -e ".[dev]"(Python 3.11+). Start stack:docker compose up -d; rebuild images withdocker compose build. - API-only run (dev):
uvicorn agcluster.container.api.main:app --reloadafter settingANTHROPIC_API_KEYand other env vars. - Backend tests:
pytest tests/(all),pytest tests/unit,pytest tests/integration, orpytest --cov=agcluster.container tests/. - UI workspace (
src/agcluster/container/ui):npm install, thennpm run devfor Next.js,npm run build/npm startfor production,npm testfor Vitest,npm run test:e2efor Playwright UI flows. - Root Playwright smoke (if stack is up):
npm testfrom repo root runsplaywright test.
Coding Style & Naming Conventions
- Python: Black and Ruff with 100-char lines; optional mypy (
mypy src/agcluster). Prefer typed function signatures in new code. - Tests: filenames
test_*.py; classesTest*; functionstest_*. Use pytest markers@pytest.mark.unit|integration|e2eand keep fixtures intests/conftest.py. - TypeScript/React: ESLint + TypeScript; follow existing component patterns in
src/agcluster/container/ui. Use PascalCase for components, camelCase for hooks/utilities. - Tailwind is locked to v3; avoid
@applyin new styles—prefer utility classes or scoped CSS modules.
Testing Guidelines
- Add unit tests for new services/models; integration tests for API surface changes; Playwright for end-to-end UI/agent flows.
- Aim to keep coverage gaps small (HTML report in
htmlcov/frompytest --cov). Include edge cases around Docker/session lifecycle and file handling. - For UI changes, pair Vitest component coverage with Playwright scenarios that validate auth, upload/download, and agent launch flows.
- Record any required Docker/ENV prerequisites in the test description to keep CI reproducible.
Commit & Pull Request Guidelines
- Use conventional commits when possible (
feat:,fix:,chore:,docs:); keep subjects imperative and under ~72 chars. - PRs should include: concise summary, linked issue/Linear ticket, test plan with commands run, and screenshots/GIFs for UI changes.
- Keep commits scoped; avoid mixing backend and UI refactors unless tightly coupled. Update docs/config examples when behavior changes.
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.

