Workflow for agentic development
Summarize
Summary of Workflow for agentic development
The agentic development workflow in ServiceNow enables developers to create applications efficiently by providing natural language prompts to AI-driven tools like Build Agent and Now Assist for Creator. These tools generate tables, forms, workflows, and automation rules autonomously, accelerating app creation while embedding governance and security throughout the process to meet enterprise compliance and scalability requirements.
Show less
This workflow supports both “vibe coding” — where generated code may be used without manual review — and AI-assisted development where developers review and refine the output. ServiceNow offers capabilities to help customers review, test, and optimize generated code to suit their development philosophy.
Step-by-step process
- Describe your goal: Provide a clear and detailed natural language prompt describing the desired application, including data models, roles, and success criteria. More context leads to better results.
- Generate the plan: Build Agent interprets the prompt and creates an architectural blueprint outlining tables, roles, UI components, and workflows for clarity before coding.
- Build and generate code: The ServiceNow AI Platform autonomously builds full-stack components — UI pages, data models, business rules, and integrations — using ServiceNow Fluent, JavaScript, and metadata.
- Validate and self-heal: Build Agent generates automated tests and corrects errors automatically, while governance tools enforce compliance and security checks.
- Refine through prompts: Iteratively enhance features or improve design by providing additional natural language instructions, such as adding UI elements or improving accessibility.
- Run tests: Use the Automated Test Framework to verify that the app functions as expected.
- Deploy securely: Deploy from Developer Sandboxes with audit trails and enterprise-grade security controls through Vault Console and Machine Identity Console.
Key benefits for ServiceNow customers
- Accelerates app development by leveraging AI to generate and optimize code based on natural language input.
- Maintains enterprise governance, security, and compliance automatically during development and deployment.
- Supports flexibility in development styles, from fully automated “vibe coding” to AI-assisted coding with developer oversight.
- Ensures quality through automated testing and self-healing capabilities, reducing manual effort and errors.
- Enables iterative refinement, allowing continuous improvement of application functionality and user experience.
The agentic development workflow begins with developers providing conversational prompts to the Build Agent tool, which then creates tables, forms, workflows, and automation rules.
Integrated tools like Build Agent and Now Assist for Creator enhance the experience by offering text-to-code generation, code explanations, and optimization suggestions. Governance and security are embedded throughout the process, ensuring enterprise-grade compliance and scalability.
- One definition of vibe coding state that developers don't review or touch generated code before checking it in; simply provide an idea, get code back, no review needed.
- Another definition of vibe coding is an umbrella term that encompasses AI-assisted, agentic-assisted development, where developers still need to understand and support the generated code.
Step-by-step general workflow
-
Describe your goal: Provide a clear natural language prompt (for example, Create an application that handles several types of issues related to cash management. Create a custom data model with tables for each type of request. Add fields that are typical for these types of issues to each table. Request tables should extend the Task table. Create custom states for each request type to track issue resolution.).
Tip:- If you're using Build Agent, include as much context as possible in your first prompt to enable more robust development. Include roles, data requirements, and success criteria.
- You can craft a prompt and then feed it to an LLM, such as Claude, and ask for it to be made more specific for ServiceNow.
For more information on example prompts, see Example prompts for vibe coding and AI-assisted development.
- Generate the plan: Build Agent interprets your prompt and creates a blueprint, including tables, roles, UI components, and workflows.
Benefit: Architectural clarity before coding begins. For more information, see Vibe coding: Chatting your way to a new app with ServiceNow Build Agent.
-
Build and generate code: The ServiceNow AI Platform autonomously creates full-stack components using ServiceNow Fluent, JavaScript, and ServiceNow metadata.
Includes: UI pages, data models, business rules, and integration points. For more information, see Vibe coding with ServiceNow Build Agent: The future of AI-powered app development.
-
Validate and self-heal: If you're using Build Agent, it generates automated tests and fixes errors without manual intervention.
Governance: Compliance and security checks are applied automatically. For more information, see Governance for agentic development.
-
Refine through prompts: Add features or adjust design iteratively (for example, Add a Kanban board or Improve UI layout for accessibility).
For more information, see Vibe Coding: Chatting your way to a new app with ServiceNow Build Agent on Community.
-
Run tests: Run Automated Test Framework to test that the app is working as expected.
For more information, see Testing agentically developed apps.
-
Deploy securely: Push from a sandbox in Developer Sandboxes with audit trails and enterprise-grade security via Vault Console and Machine Identity Console.
For more information, see Agentic development and deployment.