Codex / repo agents
Repo-based coding and legal agents — such as Codex — can use AgentCounsel directly from a checkout of the repository.
Setup
- Give the agent access to a checkout of the AgentCounsel repository.
- Point the agent at
adapters/codex/AGENTS.md— the repo-agent instructions that explain how to work in the library. - The agent routes a task with
WORKFLOW_ROUTER.mdto the narrowest relevant skill, or uses a command fromCOMMANDS.md. - It reads the
core/rules and the selectedSKILL.md, then follows the Workflow. - It produces draft legal work product and completes the Attorney Verification Checklist.
Tips
COMMANDS.mdmaps slash-style commands (for example/contracts:nda) to skills.- The agent should select one narrow skill per task rather than loading the whole library.
Every output is draft legal work product for review by a licensed attorney.
AgentCounsel does not provide legal advice and is not a substitute for a qualified lawyer.
A licensed legal professional must review and adopt every output before it is relied upon.