{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":23533,"path":"intelligent-experiences/inth-github-github-repository-management-ai-agent.md","title":"GitHub repository management AI agent","bundle":null,"doc_type":null,"release":"australia","body":"\n# GitHub repository management AI agent\n\nThis AI agent manages GitHub repositories and pull requests. It creates and deletes repositories, creates and merges pull requests, manages pull request comments, and looks up repositories, milestones, pull requests, and repository events.\n\n## Workflow\n\nThe agent helps the user manage GitHub repositories and pull requests.\n\n1.  Ask the user to describe the task.\n2.  Ask the user for required inputs such as the repository owner, and use the user's own identity only when the user refers to themselves.\n3.  Look up repositories, a repository's details, its milestones, or its events.\n4.  Create a new repository or delete one.\n5.  Look up pull requests, create a pull request, or merge one.\n6.  Look up, update, reply to, or delete comments on a pull request.\n7.  Report the outcome to the user, including details of any error.\n\n<table><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nAllow third party to access this AI agent\n\n</td><td>\n\nWhen enabled, third-party AI agents can use this agent. This value is off \\(false\\) by default. This setting is defined in the AI Agent configs \\[sn\\_aia\\_agent\\_config\\] table on the External discoverable field.\n\n</td></tr><tr><td>\n\nAllow AI specialists to access this AI agent\n\n</td><td>\n\nWhen enabled, AI specialists can use this agent. This value is off \\(false\\) by default. When set to true, more configuration options for tools become available so that an AI specialist can map inputs and response templates to tool outputs. This setting is defined in the AI Agent configs \\[sn\\_aia\\_agent\\_config\\] table on the Specialist enabled field.\n\n</td></tr><tr><td>\n\nManage long-term memory\n\n</td><td>\n\nWhen enabled, all previous user interactions are used as context for the LLM. This value is off \\(false\\) by default. This setting is defined by the **sn\\_aia.ltm.enable\\_long\\_term\\_memory** system property. For more information, see [ServiceNow Otto AI agents reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/na-aia-reference.md).\n\n</td></tr><tr><td>\n\nTools\n\n</td><td>\n\n-   **Flow Actions**\n\nCreate Pull Request\n\nCreate Reply on Pull Request Review Comment\n\nCreate Repository\n\nDelete Comment on Pull Request\n\nDelete Repository\n\nLook up Comments on Pull Request Stream\n\nLook up Milestones Stream\n\nLook up Pull Requests Stream\n\nLook up Repositories Stream\n\nLook up Repository Details\n\nLook up Repository Events Stream\n\nMerge Pull Request\n\nUpdate Comment on Pull Request\n\n\n</td></tr><tr><td>\n\nAllowed user roles The specific user roles that can access this AI agent.\n\n</td><td>\n\nsnc\\_internal\n\n</td></tr><tr><td>\n\nData access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take.\n\n</td><td>\n\nsnc\\_internal\n\n</td></tr><tr><td>\n\nTriggers\n\n</td><td>\n\nOptional. None defined by default. An admin can specify triggers if desired. For more information, see [Add a trigger to an AI agent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/add-trigger-aia.md).\n\n</td></tr><tr><td>\n\nChannels\n\n</td><td>\n\nConfigure an assistant for Virtual Agent or ServiceNow Otto panel using [Assistant Designer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/conversational-interfaces/configure-now-assist-va.md).\n\n</td></tr><tr><td>\n\nUsed in agentic workflows\n\n</td><td>\n\nNot applicable.\n\n</td></tr></tbody>\n</table>**Parent Topic:**[GitHub Spoke AI agents](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/inth-github-ai-agents-overview.md)\n\n**Related topics**  \n\n\n[GitHub Spoke](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/integrate-applications/github-spoke.md)\n\n[Integration Hub spokes](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/integrate-applications/spokes-list.md)\n\n"}}