Deployment Lifecycle
Versioning, environments, and the deployment process are critical to managing application releases:- Create an Application Version - Build and package the app into a deployable, versioned snapshot.
- Create an Environment - Isolate configurations to ensure updates and tests don’t impact end users.
- Deploy App to an Environment - Release a selected version to a chosen environment.
- Access the Deployed App - Via a unique URL or API for integration or user interaction.
┌────────────┐ ┌────────────┐ ┌────────────┐
│ Develop │────▶│ Version │────▶│ Deploy │
└────────────┘ └────────────┘ └────────────┘
│ │
│ ┌────────────────────────┼─────────────────────────┐
│ │ │ │
│ ▼ ▼ ▼
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ │ Draft │ │ Staging │ │ Production │
│ │ Environment │ │ Environment │ │ Environment │
│ └─────────────┘ └─────────────┘ └─────────────┘
Only authorized users can access version control and environment management features. Refer to Sharing and Permissions for more information on the roles required to make these changes.
App Versioning
The app versioning system manages the entire app lifecycle—including associated AI agents and tools—ensuring version consistency, stable releases, and streamlined deployment across environments. By default, an app is in draft version.Key Benefits
Enhanced Stability and Consistency- Immutable Releases: Once deployed, versions remain unchanged, guaranteeing stability and preventing inconsistencies.
- Controlled Deployments: Implement updates and new features smoothly without disrupting services.
- Dependency Protection: Tools linked to active versions can’t be deleted, safeguarding existing deployments.
- Environment Isolation: Deploy different app versions to separate environments for varied testing and production needs.
- Coordinated Agent Management: Maintain system stability by synchronizing multiple AI agents.
- Version Alignment: Easily track which agent versions are associated with specific app versions.
- Selective Versioning: Use the precise versions of agents and tools required for each app.
- Draft Testing: Test versions in a draft environment before finalizing them.
- Rollback Support: Revert to previous versions in a draft state while retaining the complete version history.
- Pre-Deployment Validation: Automatically verify agents, tools, and configurations before creating a new version.
- Role-Based Access: Limit version control actions to authorized personnel, enhancing security and governance.
Create an App Version
- Go to the Versions page and click + New Version.
- Enter the Name and Description. Select the appropriate versions of agents and tools to include. Click Create.
- Once created, preview the version to review its configuration and functionality, then Deploy it.
Deploy the App Version
Select the app version and environment from the dropdown, then click Proceed.Restore to a Version
Restoring a version reverts the current draft to a previously saved state. This action overwrites the entire draft—including all configurations, tools, and agent settings—with those from the selected version. If the restored version contains MCP server configurations, they are automatically applied to the draft. Use this feature to:- Revert to a known working state after experimentation.
- Undo recent changes that introduced errors.
- Compare previous configurations by restoring and reviewing.
Restoring a version replaces the current draft and cannot be undone. Consider saving your current work as a new version before restoring another.
Delete a Version
Delete an app version to remove it permanently. Before deletion, the Platform performs dependency checks to ensure no linked agents or tools are impacted.Environments
Environments are isolated deployment targets with their own configurations. The Platform supports multiple environments, allowing independent configuration without affecting app logic. By default, a draft environment exists for development and testing.Key Benefits
- Integrated Draft Development: The default “draft” environment is used for initial development and testing.
- Targeted Version Control: Deploy specific app versions to designated environments.
- Dedicated Endpoints: Each environment provides a unique URL for testing or integration.
- Deployment History: View detailed logs of all deployments across environments.
- Environment Isolation: Each environment maintains separate URL endpoints, independent configuration, its own deployment history, and isolated API keys.
Create an Environment
- Go to the Environments page.
- Click + New Environment.
- Enter the Name, Description, and select the App Version.
- Click the Preview icon to review version details.
- Click Create.
Manage an Environment
Click an environment to view its details and manage it:- Linked App Version: To switch app versions, click Change, select the desired version, and click Deploy.
- Web Client Details: View the URL generated by the Platform to start interacting with the app.
- cURL Script: Use the curl script to interact with the app through code. Construct API requests in accordance with the given specifications.
- Delete Environment: Removes the environment with user confirmation, deactivates endpoints, cleans up configurations, and releases resources. Audit logs and usage statistics are preserved.
Deploying to an Environment
- Select Version: Choose which version to deploy.
- Choose Environment: Select the target environment.
- Deploy: Click Deploy to publish.
Access Methods
Web Widget (Webclient Script)
The Webclient Script provides a simple method for embedding the agentic app within your existing website, giving users a smooth, native experience without redirecting them to another site. Key Features:- Single-Script Integration: Integrate the app with one
<script>tag. - Seamless User Experience: Users interact directly with the app within your website.
- Customizable Appearance: Configure to match your brand’s look and feel.
- Session Management: Maintains user context and authentication state between the site and the app.
- Go to the Environments page of the app.
- Select the environment tile for which you want to access the script.
- Go to the Embed Code tab.
- Copy the provided HTML code and paste it into each page where the chat experience appears. Insert your API key into the code snippet.
The
containerId parameter must match an existing HTML element ID in your webpage. Create a container element (e.g., <div id="container-id"></div>) where the chat widget will appear before initializing the SDK. API Integration
Direct API access for custom integrations:API Keys
API keys are required to authenticate requests sent to the agentic app via APIs.Generating Keys
- Navigate to Deploy → API Keys.
- Click Generate Key.
- Enter a descriptive name and click Generate Key. This creates a unique key — keep it confidential. For security reasons, the key cannot be viewed again once you navigate away from the page.
- Copy and store securely.
Rollback
Revert to a previous version if issues arise.Quick Rollback
- Navigate to Deploy → History.
- Find the previous working version.
- Click Rollback.
- Confirm the action.
Deployment History
Track all deployments:┌─────────────────────────────────────────────────────────┐
│ Deployment History - Production │
├─────────────────────────────────────────────────────────┤
│ Version │ Deployed │ By │ Status │
├─────────────────────────────────────────────────────────┤
│ 1.2.0 │ 2024-01-15 14:30│ alice@co.com │ ● Active │
│ 1.1.0 │ 2024-01-10 09:15│ bob@co.com │ ○ Previous │
│ 1.0.0 │ 2024-01-05 11:00│ alice@co.com │ ○ Previous │
└─────────────────────────────────────────────────────────┘