Workflow for agentic development
Summarize
Summary of Workflow for agentic development
The agentic development workflow in ServiceNow streamlines app creation by leveraging conversational prompts to automate the generation of tables, forms, workflows, and automation rules. It integrates tools like Build Agent and Now Assist for Creator to provide text-to-code generation, code explanations, optimization suggestions, and embedded governance for enterprise-grade compliance and scalability.
Show less
Step-by-step Workflow
- Describe your goal: Start by providing a clear natural language prompt detailing the application requirements, data model, roles, and success criteria. Detailed context enables more robust app development.
- Generate the plan: Build Agent interprets the prompt to create a blueprint outlining tables, roles, UI components, and workflows, providing architectural clarity before coding.
- Build and generate code: The ServiceNow AI Platform autonomously produces full-stack components using ServiceNow Fluent, JavaScript, and platform metadata, including UI pages, data models, business rules, and integrations.
- Validate and self-heal: Build Agent generates automated tests and corrects errors automatically, while governance mechanisms enforce compliance and security throughout the process.
- Refine through prompts: Iteratively enhance features or modify designs by providing additional conversational prompts to improve aspects like UI layout or add functionality.
- Run tests: Use the Automated Test Framework to verify app functionality and ensure it meets requirements.
- Deploy securely: Deploy apps from Developer Sandboxes with audit trails and enterprise-grade security via Vault Console and Machine Identity Console, ensuring safe production rollout.
Key Considerations
The term “vibe coding” represents two philosophies: one where developers do not review generated code, and another where AI-assisted development requires developer understanding and support of the code. ServiceNow’s tools support both approaches by enabling code review, refinement, and testing for agentic development.
This workflow empowers ServiceNow customers to accelerate app development with AI assistance while maintaining control, security, and compliance, facilitating faster delivery of enterprise-grade applications.
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 agentic 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.