September 17, 2026
Hosted vs Self Hosted Runtimes for Production Agents
Compare hosted vs self hosted runtimes to decide the right setup for your agent runtime backend. Review control plane options, config management, approvals in

Hosted vs Self Hosted Runtimes for Production Agents
Teams that run autonomous agents need to decide early whether execution happens on hosted infrastructure or on their own agent runtime backend. The choice affects how you maintain one control plane, enforce human approval on real-world actions, and keep every setting inside a single versioned config object.
Key takeaways
- Self hosted runtimes give direct control over data paths and approval rules.
- Hosted options reduce infrastructure tasks but limit visibility into token usage and logs.
- A unified Agent Command Center works with both models when the runtime supports external configuration.
- Every sensitive action must route through an approvals inbox regardless of hosting choice.
- Version history for prompts, tools and autonomy levels stays traceable only when stored in one config object.
- Runtime selection influences how quickly you can audit changes across multiple agents.
The decision also shapes how you handle edge cases such as network partitions or sudden spikes in token consumption. Teams that already operate self hosted agents often cite audit requirements as the deciding factor.
Runtime Choice and Your Agent Runtime Backend
Your agent runtime backend determines where code executes and how logs return to the control plane. Hosted services manage the underlying servers while self hosted setups require you to provision and maintain the machines.
Consider these factors when evaluating each option:
- Network latency between the control plane and the runtime
- Data residency rules that prohibit external storage of execution traces
- Ability to attach custom tools or model endpoints
- Responsibility for patching the operating system and runtime software
- Backup procedures for the approvals inbox during outages
- Integration points with existing identity providers
Self hosted agents place the runtime inside your network boundary. This setup lets you inspect every outbound call before it leaves the environment.
Latency and Reliability Trade-offs
Hosted runtimes can introduce variable latency when the provider experiences regional congestion. Self hosted runtimes allow you to colocate execution near data sources, which often reduces round-trip time for tool calls.
Data Residency and Compliance
Certain regulated workloads require execution logs to remain inside specific jurisdictions. Self hosted options satisfy these constraints more directly than most hosted services.
Comparison of Core Capabilities
The table below shows how each runtime type handles the elements required by an Agent Command Center.
| Aspect | Hosted Runtime | Self Hosted Runtime |
|---|---|---|
| Config object storage | Vendor-managed, limited versioning | Your storage, full version history |
| Approvals inbox access | Routed through vendor APIs | Direct integration with your systems |
| Token usage reporting | Aggregated dashboards only | Per-execution streams with cost estimates |
| Human in the loop gates | Vendor-defined approval flows | Custom rules in the single config object |
| Rollback support | Vendor snapshot tools only | Full history retained in your storage |
| Custom tool attachment | Limited to approved provider endpoints | Any local binary or script permitted |
Self hosted options align more closely with the requirement that every action touching production systems passes through an approvals inbox.
Configuration Stored in One Config Object
Both runtime types can reference a single config object that contains role prompts, tool definitions, schedules, approval rules and model parameters. The difference lies in where that object lives and who can audit changes.
- Role prompt versions
- Tool allow lists with rate limits
- Schedule windows that restrict tool calls
- Autonomy level thresholds
- Model fallback priorities
- Approval thresholds by action type
- Sandbox validation flags
- Retry and timeout values per tool
Learn how to limit agent tool calls by schedule in config object to keep schedules inside the same object used for approvals.
Defining Model Fallback Rules in the Config Object
Model fallback rules must remain consistent whether the runtime is hosted or self hosted. You define priority order, cost caps and approval triggers inside the single config object so every execution uses the same logic.
- Primary model selection criteria
- Secondary model activation thresholds
- Token budget limits that force fallback
- Human review gates for high-cost models
- Version pinning to prevent silent upgrades
Set model fallback rules in single agent config object to keep these decisions versioned alongside prompt and tool changes.
Human Approval Requirements
Human in the loop controls must remain in place whether the runtime is hosted or self hosted. Sensitive actions such as database writes or external API calls stop at the approvals inbox until reviewed.
Follow these steps to enforce consistent gates:
- Define approval rules inside the config object.
- Route every action that matches the rules to the inbox.
- Require explicit approval, rejection or edit before execution resumes.
- Log the reviewer identity and timestamp with the execution record.
- Re-test the action in sandbox mode after an edit
Compare the agent command center versus approval scripts to see how a single control plane centralizes these decisions.
Live Visibility and Token Usage Tracking
Execution logs, intermediate outputs and cost estimates must stream back to the control plane in both models. Self hosted runtimes usually expose these streams directly while hosted services may aggregate them.
You should track the following per run:
- Prompt and completion token counts
- Estimated cost before approval
- Intermediate tool outputs
- Schedule adherence metrics
- Model fallback triggers
- Error stack traces for failed steps
Audit token spend by role from the control plane to maintain oversight across multiple agents.
Scaling Across Multiple Runtimes
Production fleets often span both hosted and self hosted environments. A control plane that supports multi runtime agent fleets lets you apply the same config object and approval rules everywhere.
- Deploy the same versioned config to each runtime
- Monitor execution from one dashboard
- Enforce identical human approval thresholds
- Compare token usage across environments
- Detect drift between config versions automatically
Evaluate control planes for multi runtime agent fleets before expanding beyond a single backend.
Security and Compliance Considerations
Data leaving your network for a hosted runtime introduces additional review points. Self hosted setups keep execution traces inside your perimeter but require you to maintain the runtime security baseline.
Reference established practices from Kubernetes documentation, CNCF guidance on runtime security and OWASP API security guidelines when hardening either option.
Decision Criteria for Your Fleet
Choose the runtime that lets you keep configuration, approvals and monitoring inside one control plane without sacrificing required visibility.
Next steps
- Map every action that must reach the approvals inbox.
- Test a single config object against both runtime types.
- Measure token usage and log latency in a sandbox environment.
- Review permission audit logs from the chosen control plane.
- Roll back any config change while preserving execution history.
- Validate prompt changes through sandbox executions before promotion
Audit agent runtime permissions from one dashboard to confirm the control plane meets your compliance needs.
Frequently Asked Questions
Does the Agent Command Center support both hosted and self hosted runtimes?
Yes. The control plane connects to any runtime backend that accepts external configuration and returns execution streams.
How does the single config object handle model changes?
Model fallback rules live inside the same versioned object used for prompts and approval thresholds, so changes remain traceable across runs.
What happens to sensitive actions on a hosted runtime?
Every action that touches external systems still routes through the approvals inbox before the hosted runtime receives permission to proceed.
Can I audit token usage when the runtime is self hosted?
The control plane records token counts, cost estimates and logs for each execution regardless of where the runtime executes.
Which runtime reduces infrastructure work?
Hosted runtimes shift server management to the provider, yet self hosted options give tighter control over approval rules and data paths.