Enterprise-level custom agents are defined in a specific repository within an organization in your enterprise.
Before you can create and use custom agents, you need to create this repository and configure the relevant enterprise settings.
Creating a repository for your enterprise governance
-
Create a
.github-privaterepository for your enterprise governance. If you don't already have a.github-privaterepo, see Creating a .github-private repository. -
To automatically configure a ruleset that allows only enterprise owners to edit agent profiles, in the "Protect agent files using rulesets" section, click Create ruleset.
Note
- Members of your enterprise with write access to the custom agent repository can still create pull requests proposing changes to your agent profiles. Enterprise members with bypass access to the ruleset can then merge those pull requests as they see fit.
- Creating this ruleset will also block organization owners in your enterprise from creating or editing organization-level custom agents. To prevent this, you can edit the ruleset to target only the organization containing your enterprise-level custom agents.
Next steps
To reduce your administrative burden and empower your SMEs, you can delegate the creation and management of custom agents in your enterprise by creating a team of AI managers. See Establishing AI managers in your enterprise.
If you prefer to maintain full control over your enterprise's tooling to ensure security and compliance, you can create and manage custom agents yourself. See Testing and releasing custom agents in your organization or enterprise.