AI Agent DX
Using Codex (GitHub Copilot)
GitHub Copilot (often powered by Codex models) is deeply integrated into editors like VS Code and provides inline code suggestions and a chat interface.
GitHub Copilot (often powered by Codex models) is deeply integrated into editors like VS Code and provides inline code suggestions and a chat interface.
Inline Suggestions
- Context is Key: Copilot relies heavily on the files you currently have open. If you are working on a Convex backend query, ensure you have related schema files or
packages/backend/AGENTS.mdopen in another tab to provide the AI with the necessary context. - Triggering Skills: Copilot doesn't automatically read
.agents/skillsfor inline completions. To get the most accurate code, write a detailed comment at the top of the file referencing the specific pattern you want to use.
Copilot Chat
- @workspace: Use the
@workspacetag to ask questions about the broader repository. Copilot will index theAGENTS.mdrules and use them to formulate answers. - Rule Enforcement: When asking Copilot to generate a new file, explicitly ask it to "Follow the rules defined in AGENTS.md" to ensure it respects the workspace boundaries and uses
buninstead ofnpm.