---
title: "agentInstructions"
---

> Documentation Index
> Fetch the complete documentation index at: https://buildrforge.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# agentInstructions

Path: Forge API

Read and write the agent instructions an agent follows in a repo, each owner's AGENTS.md.

## Operations

- [listRepoAgentInstructionsAtBranch](https://buildrforge.com/docs/api/list-repo-agent-instructions-at-branch/) — `GET /repos/{repo_id}/branches/{branch}/agent-instructions`
- [createRepoAgentInstructions](https://buildrforge.com/docs/api/create-repo-agent-instructions/) — `POST /repos/{repo_id}/branches/{branch}/agent-instructions`
- [listRepoAgentInstructionsAtCommit](https://buildrforge.com/docs/api/list-repo-agent-instructions-at-commit/) — `GET /repos/{repo_id}/commits/{commit_id}/agent-instructions`
- [createRepoExtensionAgentInstructions](https://buildrforge.com/docs/api/create-repo-extension-agent-instructions/) — `POST /repos/{repo_id}/branches/{branch}/extensions/{extension_name}/agent-instructions`
- [deleteRepoAgentInstructions](https://buildrforge.com/docs/api/delete-repo-agent-instructions/) — `DELETE /repos/{repo_id}/branches/{branch}/agent-instructions/{instructions_id}`
- [updateRepoAgentInstructions](https://buildrforge.com/docs/api/update-repo-agent-instructions/) — `PATCH /repos/{repo_id}/branches/{branch}/agent-instructions/{instructions_id}`


Source: https://buildrforge.com/docs/api/tags/agent-instructions/index.md
