Manage Agents

Agent Lifecycle Controls

Control compute costs and agent availability with simple commands:

moltghost agent start   my-agent     # ▢️  Full compute
moltghost agent stop    my-agent     # ⏸️  Storage only (-95% cost)
moltghost agent restart my-agent     # πŸ”„ Fresh runtime  
moltghost agent delete  my-agent     # πŸ—‘οΈ  Release all resources

Live Status:

moltghost agent status my-agent --watch
# NAME: sales-agent  STATUS: Running  UPTIME: 2h14m  GPU: 23%  COST: $0.0417/h

State Machine

graph TD
    A[Deployed] -->|start| B[Running]
    A -->|never started| C[Paused]
    B -->|stop| C
    C -->|start| B
    B -->|restart| D[Restarting]
    D --> B
    B -->|terminate| E[Terminated]
    C -->|terminate| E
    E -->|redeploy| A
    
    classDef running fill:#90EE90
    classDef paused fill:#FFA500
    classDef terminated fill:#FFB6C1
    class B running
    class C paused
    class E terminated

Management Operations

CommandPurposeCompute CostEndpointData
startLaunch runtime + modelβœ… Fullβœ… ActivePreserved
stopPause runtime❌ GPU/CPU βœ… Storage503 UnavailablePreserved
restartFresh runtime initBrief doubleBrief 503Preserved
deleteDestroy pod❌ NoneGoneBackup only

Start Agent

moltghost agent start my-agent
# ▢️  Starting runtime... (45s)
# βœ… Model loaded  Endpoint: https://abc123.agent.moltghost.io

Stop Agent (Saves 95% cost)

moltghost agent stop my-agent
# ⏸️  Pausing... State saved
# πŸ’° GPU released  Storage only: $0.0021/h

Restart Agent (Zero downtime option)

moltghost agent restart my-agent --graceful
# πŸ”„ Rolling restart initiated
# βœ… New pod healthy  0s downtime

Terminate Agent

moltghost agent delete my-agent --confirm
# πŸ—‘οΈ  Pod terminated  Resources released
# πŸ“‹ Backup available for 30 days

Cost Impact Dashboard

Current Month: 12 Agents
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Agent               β”‚ State    β”‚ Cost/h   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ sales-agent         β”‚ Running  β”‚ $0.0417  β”‚
β”‚ dev-chat            β”‚ Paused   β”‚ $0.0021  β”‚
β”‚ qa-bot              β”‚ Running  β”‚ $0.0234  β”‚
β”‚ legacy-agent        β”‚ Paused   β”‚ $0.0012  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ TOTAL RUNNING       β”‚          β”‚ $0.0891  β”‚
β”‚ TOTAL PAUSED        β”‚          β”‚ $0.0078  β”‚
β”‚ SAVINGS FROM PAUSE  β”‚          β”‚ **$1.24**β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Bulk Operations:

# Pause all dev agents
moltghost agent stop dev-* --batch

# Start production agents
moltghost agent start prod-* --batch

# Cleanup terminated
moltghost cleanup --age 7d

Advanced Management

Auto-Pause Policies

moltghost agent set my-agent \
  --auto-pause "cpu<5% for 15m" \
  --auto-start "cron 09:00-17:00 WIB"

Health-Based Actions

moltghost agent set prod-agent \
  --restart-if "gpu_temp>85C or error_rate>5%" \
  --alert-slack "#ops"

Blue-Green Deployments

moltghost deploy sales-v2 \
  --traffic 10% \          # Canary testing
  --auto-promote-healthy

State Transitions Table

From β†’ Tostartstoprestartdelete
Running-βœ… Pauseβœ… Refreshβœ… Destroy
Pausedβœ… Resume-βœ… Resume+Refreshβœ… Destroy
Terminated❌ Redeploy❌❌-
Deploying⏳ WaitβŒβŒβœ… Cancel

Data Safety:

βœ… start/stop/restart β†’ 100% state preserved
βœ… delete β†’ Backup retained 30 days (Pro)
βœ… Accident? β†’ moltghost restore --latest

Monitoring Integration

Live Dashboard: https://app.moltghost.io/agents
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Agent        β”‚ Status       β”‚ Action     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ sales-agent  β”‚ 🟒 Running   β”‚[⏸️][πŸ”„][πŸ—‘οΈ]β”‚
β”‚ dev-chat     β”‚ 🟑 Paused    β”‚[▢️][πŸ”„][πŸ—‘οΈ] β”‚
β”‚ qa-bot       β”‚ πŸ”΄ Failed    β”‚[πŸ”„][πŸ—‘οΈ]    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

CLI Watch Mode:

moltghost agent watch "*" --cost --alerts

Summary

Full Lifecycle Control in 1 command:

βœ… start/stop β†’ 95% cost savings
βœ… restart β†’ Zero-downtime updates
βœ… Auto-policies β†’ Hands-free optimization
βœ… Bulk ops β†’ Manage 100+ agents
βœ… State guarantees β†’ Never lose data

Run production, pause dev, scale smart.


Next: Update & Versioning β†’ Schema changes, rollbacks

Power User: moltghost agent stop --idle across all accounts saves $100s/month.

Β© 2026 Moltghost.io Β·TermsΒ·PrivacyΒ·Disclaimer