Core Concepts

Environments

Environments provide isolated spaces for development, staging, and production, enabling safe testing and seamless deployment of your AI agents.

What are Environments?

An environment is a self-contained workspace that includes:

  • Unique API key for authentication
  • Collection of agents
  • Set of tools/endpoints
  • Isolated data and configuration
  • Environment variables

Environment Isolation

Each environment is completely isolated, and you can create as many environments as your app needs. A common environment setup usually includes Development, Staging, and Production:

Development

  • ✓ Test new agents
  • ✓ Experiment with tools
  • ✓ Safe to break things
  • ✓ Point to dev backend

Staging

  • ✓ Pre-production testing
  • ✓ QA and validation
  • ✓ Mirror production setup
  • ✓ Point to staging backend

Production

  • ✓ Live users
  • ✓ Stable agents only
  • ✓ Production backend
  • ✓ Monitored and logged

API Keys per Environment

Each environment has its own API key, generated when you create the environment in the Meebly dashboard.

bash
# Development
export MEEBLY_API_KEY=dev_abc123...

# Staging
export MEEBLY_API_KEY=stg_def456...

# Production
export MEEBLY_API_KEY=prod_ghi789...
Important: Never use production API keys in development or commit them to version control. Use environment variables and keep keys separate across environments.

Cross-Environment Deployments

Meebly enables fully managed test-to-production deployments:

  1. Build in Development: Create and test agents, configure tools, iterate rapidly
  2. Validate in Staging: Deploy to staging environment, run integration tests, get stakeholder approval
  3. Promote to Production: Copy agent configurations to production environment (via dashboard), update your app to use production API key
  4. Monitor: Track performance, usage, and errors in production environment
Pro Tip: Use the same agent names across environments (e.g., "Customer Support Agent") but different configurations, API URLs and environment variables. This makes it easy to promote changes while maintaining environment isolation.
Last updated: March 2026Report an issue