## Compatibility
The whole hunk
from line 4, old and new numbered
/
lines
from line 4
44description: Connect your agent to GitHub repositories for cloning, reading, and creating pull requests.
55---
66
7## Compatibility
8- Status: Beta
9- [Beta header](https://platform.claude.com/docs/en/api/beta-headers): `managed-agents-2026-04-01`
10
711You can mount a GitHub repository to your session sandbox and connect to the GitHub MCP for making pull requests.
812
913GitHub repositories are cached, so future sessions that use the same repository start faster.
10
11<Note>
12 Managed Agents API requests require the `managed-agents-2026-04-01` beta header, except memory store endpoints, which use `agent-memory-2026-07-22` instead. The SDK sets the correct beta header automatically. See [Beta headers](https://platform.claude.com/docs/en/api/beta-headers#endpoint-specific-headers).
13</Note>
1414
1515## GitHub MCP and session resources
1616