Borrowing it
Nothing to install: this file belongs to etalab-ia/albert-code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/etalab-ia/albert-code/main/AGENTS.mdgit clone --depth 1 https://github.com/etalab-ia/albert-codeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/etalab-ia/albert-code/agents-md)<a href="https://agentmods.dev/instructions/etalab-ia/albert-code/agents-md"><img src="https://agentmods.dev/badge/instructions/etalab-ia/albert-code/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/etalab-ia/albert-code/agents-md"><img src="https://agentmods.dev/badge/instructions/etalab-ia/albert-code/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.03674 | $0.03674 |
| Opus 5.5 | $0.01470 | $0.01470 |
| Sonnet 5.5 | $0.00735 | $0.00735 |
| Haiku 4.5 | $0.00367 | $0.00367 |
Grade B, and why
albert-code AGENTS.md scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- `chmod 600` sur tout fichier contenant une clé (`~/.zshenv`, `~/.agent-vm/runtime.sh`). How it starts
The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — albert-code
1. Le projet en bref
Le problème
L'IA bouleverse le développement. Les agents publics (devs et aussi des non-devs) utilisent déjà des outils IA commerciaux (Claude Code, Cursor, Copilot) sans cadre, sans souveraineté, sans sandbox — du shadow IT généralisé. L'État n'a pas d'alternative à proposer.
La vision
Albert Code = un meta-bundle d'agentic coding souverain : en une commande, un agent public obtient un assistant de code IA isolé, alimenté par le Socle Interministériel d'IA Générative et ses modèles souverains via AlbertAPI, avec les standards de l'administration (DSFR, accessibilité, sécurité) déjà embarqués.
Ce n'est pas un IDE ni un fork : c'est de l'orchestration mince (scripts + config + docs) qui assemble des briques existantes :
| Brique | Rôle | Source |
|---|---|---|
| agent-vm | Sandbox d'isolation (VM Lima jetable, mode autonome sûr) | github.com/sylvinus/agent-vm |
| OpenCode | Harness unique (assistant de code terminal) | opencode.ai |
| Albert API | Provider LLM souverain (OpenAI-compatible) | albert.api.etalab.gouv.fr |
| Skills État | Connaissances métier (DSFR, RGAA, sécurité, data.gouv) | github.com/etalab-ia/skills |
| MCP | Connecteurs clés : data.gouv, context7, playwright, chrome-devtools | — |
| AGENTS.md par défaut | Règles sécurité + conventions universelles | templates/AGENTS.default.md |
Pour qui
Agents publics : devs en ministère, prototypeurs, équipes de startup d'état. Le bundle doit marcher autant pour un dev confirmé que pour un non-tech (cf. README.md).
Positionnement (ce que c'est / ce que ce n'est pas)
- ✅ Un assembleur souverain, mince, reproductible, qui se branche sur l'existant.
- ❌ Pas un nouvel outil à apprendre, pas un IDE, pas un modèle, pas un fork d'OpenCode.
2. Comment travailler dans ce dépôt (méthode)
Les documents du dépôt forment un système. Respecte cette boucle :
| Document | Rôle | Quand le lire / l'écrire |
|---|---|---|
AGENTS.md (ce fichier) |
Le pourquoi + les règles + l'archi cible | Toujours, en premier |
BACKLOG.md |
Le quoi faire : epics → tickets ordonnés (🔴🟠🟡) avec Definition of Done | Choisir le prochain ticket ici |
TESTS.md |
Le comment valider : scénarios (préconditions → étapes → attendu) | Avant de clore un ticket |
README.md |
Le livrable utilisateur (onboarding non-tech) | À tenir à jour quand le comportement change |
FEEDBACK.md |
Le pourquoi : registre des retours utilisateurs codifiés (AC-R###) |
Consulter pour la genèse d'un ticket / y consigner un nouveau retour |
docs/PLAN.md |
Le contexte complet (décisions, analyses, références) | Pour comprendre l'historique du projet |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +22 tokens per session 1a921f466a0b
- 1mo ago Changed · +1 lines · +74 tokens per session 7a55ede4647c
- 2mo ago Changed · +1 lines · +129 tokens per session 45902331dae6
- 2mo ago First seen · 184 lines · 3,449 tokens per session scan B d4ea93e916eb
albert-code AGENTS.md is an instructions file published in the GitHub repository etalab-ia/albert-code (15 stars, last pushed 24d ago), licensed MIT. It adds 3,674 tokens to every session, about $0.0147 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
albert-code AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| albert-code AGENTS.mdetalab-ia/albert-code | Instructions file | 15 | 24d ago | MIT | B | 3,674 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |