Skip to main content

Deployment with SRE

SRE supports a flexible deployment lifecycle, allowing you to move from local development to managed cloud or private infrastructure environments without rewriting your agent code.

What this covers

This page explains how SRE initializes, what deployment environments are available, and how each option supports your workflow.

How SRE Starts Up

Each time SRE runs, it follows a consistent boot process. This process allows you to configure once and scale with confidence.

The architecture reference describes this process in detail.

import { SRE } from 'smyth-runtime';

const sre = SRE.init({
Storage: { Connector: 'S3', Settings: { bucket: 'my-bucket' } },
Cache: { Connector: 'Redis', Settings: { url: 'redis://prod-cluster' } },
Vault: { Connector: 'HashicorpVault', Settings: { url: 'https://vault.company.com' } },
LLM: { Connector: 'OpenAI', Settings: { apiKey: '...' } },
});

await sre.ready();

Deployment Environments

SRE is designed to be portable and flexible. You can deploy your agents in different environments, depending on your needs.

ModeInfrastructureCommon Use CaseHow to Access
Agent CloudSmythOS-managedProduction, staging, MVPsVia Studio
Local RuntimeYour own deviceDebugging, local developmentSDK or Docker
Self-HostedYour infrastructureEnterprise, regulated workloadsCustom deployment

Agent Cloud Deployment

Agent Cloud is the fully-managed hosting service provided by SmythOS. It is the fastest path to a production-ready deployment.

Benefits include:

  • Auto-scaling, production-grade infrastructure with HTTPS
  • No setup or maintenance required
  • Centralized logs and traces available in Studio
  • Continuous deployment workflows from Studio

Deployment steps:

  1. Open your agent in Studio.
  2. Click the Deploy button.
  3. Select the Agent Cloud target.
  4. Set your agent version and release notes.
  5. Click Deploy.
Use a custom subdomain

You can map your own subdomain to your Agent Cloud deployment through your account settings.

Local Development Setup

Running SRE on your own machine is ideal for development, testing workflows, or working offline. The Getting Started guide walks you through this process.

  • Run code directly using the SDK
  • Use RAM for cache and Local for storage connectors
  • See immediate output in your local logs

Self-Hosted and Enterprise

For complete control, run SRE on your own servers or cloud infrastructure. Configure it with production connectors for storage, secrets, logging, and compute. This approach fits organizations with enterprise or regulatory requirements.

Need help with this setup?

Contact support@smythos.com for enterprise deployment guidance or advanced configuration support.

Continue from here