Governance for agentic development
Summarize
Summary of Governance for Agentic Development
Agentic development on the ServiceNow AI Platform accelerates application creation by generating code and configurations from natural language prompts. To ensure security, compliance, and maintainability are not compromised by this speed, governance is integrated directly into the development workflow. This governance enforces enterprise security standards, validates quality through automated testing, and provides visibility and control to prevent shadow IT and ensure lifecycle transparency.
Show less
ServiceNow’s Build Agent automates key security and governance tasks such as generating Access Control Lists (ACLs), validating scripts for vulnerabilities, and applying code optimizations. Every agentically developed app includes audit trails, security controls, and compliance checks by default, requiring the admin role to operate Build Agent.
Governance in the Agentic Development Workflow
Agentic development compresses development cycles, potentially limiting review time. Governance addresses this by making AI-generated outputs auditable, testable, and aligned with organizational policies before production deployment. Apps built this way are scoped applications inheriting standard platform controls like ACLs and update sets, embedding governance from the start rather than as an afterthought.
Human Review Responsibilities
Automated checks (including Automated Test Framework tests, security scans, and compliance validations) catch many issues. However, human judgment is essential before deployment for apps that:
- Access sensitive or regulated data
- Include scripts, business rules, or external integrations
- Create or modify roles, ACLs, or cross-scope privileges
- Have not been tested against specific organizational data or configurations
Review session summaries and documentation generated by Build Agent before promoting apps from sandbox environments. Use App Engine Management Center (AEMC) to enforce approval checkpoints during app lifecycle stages.
Governing Apps Built with AI
AI-generated apps and agents are registered in AI Control Tower, enabling AI stewards to track lifecycle progress, review security posture, and assess compliance from a centralized workspace. Governance visibility is established early, with automatic surfacing of security considerations such as elevated permissions and inactive agents retaining access. Integration with AI Risk and Compliance allows evaluation against regulatory frameworks like the NIST AI Risk Management Framework and EU Artificial Intelligence Act.
Core Governance Principles
- Approval and Oversight: Use AEMC for app idea approval, collaborator management, and governance checkpoints.
- Controlled Release Management: Employ ReleaseOps for update sets, version control, and automated deployment pipelines.
- Secure Development Practices: Enforce ACLs and role-based access; validate and optimize AI-generated code; manage cross-scope privileges to control inter-app access.
- Testing and Validation: Utilize Automated Test Framework (ATF) for functional and regression testing; Build Agent can automatically fix failing metadata to pass tests.
- Isolation of Development: Use Developer Sandboxes for isolated experimentation and development aligned with branching strategies.
Governance Checklist for AI-Assisted Apps
- App idea approved in AEMC
- ACLs and security roles applied
- Code reviewed and optimized
- ATF tests executed and passed
- Release pipeline validated
- Documentation generated (summaries, flow explainers)
- Compliance and audit logs updated
Governance Tools and Resources
ServiceNow provides a suite of tools to support governance for agentic development:
- App Engine Management Center (AEMC): Central hub for approvals and monitoring.
- AI Control Tower: Monitors AI agent behavior, tracks changes, enforces guardrails, and provides compliance dashboards.
- ServiceNow Vault: Protects sensitive data across workflows to ensure secure handling in AI-generated apps.
- ReleaseOps Toolkit: Automates update sets and deployment pipelines.
- Automated Test Framework (ATF): Facilitates automated testing for apps.
- Developer Sandboxes: Secure, isolated environments for development and testing.
Additionally, embedding governance requirements directly in agentic development prompts helps ensure AI-generated outputs comply with organizational standards from the outset.
Agentic development on the ServiceNow AI Platform accelerates application development by using AI to generate code and configurations from natural language prompts. However, speed must not compromise security, compliance, and maintainability.
- Risk and compliance: AI-generated apps meet enterprise security standards and regulatory requirements.
- Quality assurance: Automated code is validated through testing and review.
- Visibility and control: Prevents shadow IT and enforces lifecycle transparency.
Governance in an agentic development workflow
AI-generated code and configurations can be produced faster than traditional development cycles, which compresses the window for review. When you describe an outcome and the AI generates the implementation, the resulting code, scripts, business rules, and access control configurations may not be immediately visible to the developer who prompted them. Governance practices fill that gap by making the outputs of agentic development auditable, testable, and aligned with organizational policy before apps reach production.
Apps built through agentic development on the ServiceNow AI Platform are scoped applications and inherit the same platform controls as any other scoped app, including ACLs, update sets, and application scope boundaries. This means governance is not an additional layer applied after the fact, but part of the development environment from the start. The tools listed in this topic connect those controls to a review and approval workflow.
Human review responsibilities
Automated checks in the agentic development workflow, including ATF tests, security scans, and compliance validation, catch many issues before deployment. However, some decisions require human judgment that automated tools cannot replace.
Review AI-generated output directly before deployment when any of the following are true.
- The app accesses sensitive tables, personally identifiable information, or regulated data.
- The app includes scripts, business rules, or integrations with external systems.
- The app creates or modifies roles, ACLs, or cross-scope privilege records.
- The generated output has not been tested against your organization's specific data or configuration.
For apps generated by Build Agent, check the session summary and any generated documentation to understand what was built before promoting the app from a sandbox to a higher environment. Use AEMC to require approvals at key lifecycle stages.
Governing apps built with AI Control Tower
Apps and agents generated through agentic development are registered as AI assets in AI Control Tower, where AI stewards can track lifecycle progression, review security posture, and assess compliance from a single workspace. Registration happens as part of the development process, so governance visibility is established before an app reaches production.
From the AI asset record in AI Control Tower, stewards can see governance health, evaluation scores, and risk classification for each generated app or agent. Security considerations specific to AI-generated assets are surfaced automatically, including agents with elevated permissions, agents that experience access-related errors, and agents that have been inactive for more than 90 days but still retain active permissions.
If your organization uses AI Risk and Compliance, apps built through agentic development can be evaluated against regulatory frameworks such as the NIST AI Risk Management Framework and the EU Artificial Intelligence Act. Risk classification and compliance posture are available on the Risk and Compliance tab of each AI asset record.
For more information, see AI Control Tower.
Core governance principles
- Approval and oversight:
- Use App Engine Management Center (AEMC) to approve app ideas and manage collaborators.
- Require governance checkpoints before moving from sandbox in Developer Sandboxes to production.
- Controlled release management with ReleaseOps implementation practices:
- Update sets and update set automation for version control.
- Metadata-as-code pipelines for automated deployments.
- Secure development practices:
- Enforce ACLs and role-based access for generated apps, which Build Agent can do.
- Validate AI-generated scripts for security vulnerabilities.
- Apply code optimization and review before publishing.
- Create Cross-Scope Privileges to control which tables, scripts, and resources one scoped application can access from another. Use Cross-Scope Privileges to diagnose and resolve operation not allowed errors between scoped apps.
- While creating agents and skills, Build Agent asks which users and roles it should operate as, as well as which users are allowed to access the agents or skills.
- Support for testing and validation:
- Use Automated Test Framework (ATF) for functional and regression testing.Note:If you're using Build Agent, it automatically updates failing metadata to resolve ATF test failures, without you needing to manually run ATF tests.
- Include peer review for critical workflows and integrations.
- Use Automated Test Framework (ATF) for functional and regression testing.
- Isolation of work with Developer Sandboxes:
- Experiment and develop in Developer Sandboxes to avoid impacting production.
- Align with Git-style branching for concurrent development.
Governance checklist for apps built with AI assistance
- App idea approved in AEMC.
- ACLs and security roles applied.
- Code reviewed and optimized.
- ATF tests executed and passed.
- Release pipeline validated.
- Documentation generated (such as summaries and flow explainers).
- Compliance and audit logs updated.
Governance tools and resources
| Tool | Description | More information |
|---|---|---|
| App Engine Management Center | Governance hub for approvals and monitoring. | App Engine Management Center |
| AI Control Tower | Monitors AI agent behavior, enforces guardrails, tracks AI-generated code changes, and provides dashboards showing which apps were created by Build Agent, what data they access, and how they comply with organizational policies. | AI Control Tower |
| ServiceNow Vault | Discovers and protects sensitive data across workflows, so AI-generated apps handle confidential information appropriately. | ServiceNow Vault |
| ReleaseOps Toolkit | Update set automation and metadata pipelines. | ReleaseOps |
| Automated Test Framework | Automated testing for ServiceNow apps. | Automated Test Framework (ATF) |
| Developer Sandboxes | Develop in a secure, isolated Developer Sandboxes environment. | Developer Sandboxes |
| Knowledge Base articles | Data handling and AI usage guidelines. | Knowledge Management |
Governance general guidelines
When using agentic development, prompts should not only describe functionality but also embed governance requirements. This helps generated apps comply with security, compliance, and quality standards.
See Example prompts for agentic development for example prompts for governance.