Overview
Thesam init command creates a new Solace Agent Mesh project with all necessary configuration files, directory structure, and default settings.
Syntax
Description
Initializes a new Solace application project by creating:- Project directory structure
- Configuration files (YAML)
- Environment file (
.env) - Main orchestrator configuration
- Web UI gateway configuration (optional)
- Platform service configuration
Options
Initialization Mode
Non-interactive mode. Skip all prompts and use default values where applicable.
Launch the browser-based initialization interface for interactive configuration.
Shortcut to select dev mode for broker (equivalent to
--broker-type dev).LLM Service Configuration
LLM Service Endpoint URL.
LLM Service API Key.
LLM Planning Model Name.
LLM General Model Name.
Project Configuration
Namespace for the project (e.g.,
myorg/dev).Broker Configuration
Broker type. Options:
1,solace: Use existing Solace broker2,container: Create new local broker in container3,dev,dev_mode,dev_broker: Use dev mode (bypasses broker)
Solace broker URL endpoint (e.g.,
ws://localhost:8008).Solace broker VPN name.
Solace broker username.
Solace broker password.
Container engine for local broker. Options:
docker, podmanAgent Configuration
Agent name for the main orchestrator.
Enable streaming support for the agent.
Agent card description.
Agent card default input modes (comma-separated).
Agent card default output modes (comma-separated).
Enable agent discovery.
Agent card publishing interval (seconds).
Session Service
Session service type. Options:
memory, vertex_rag, sqlSession service behavior. Options:
PERSISTENT, RUN_BASEDDatabase URL for the Orchestrator.
Artifact Service
Artifact service type. Options:
memory, filesystem, gcs, s3Artifact service base path (for filesystem type).
S3 bucket name (for s3 artifact service type).
S3 endpoint URL (for s3 artifact service type, optional for AWS S3).
S3 region (for s3 artifact service type).
Artifact service scope. Options:
namespace, app, customArtifact handling mode. Options:
ignore, embed, referenceEnable embed resolution.
Enable artifact content instruction.
Enable built-in artifact tools.
Enable built-in data tools.
Inter-Agent Communication
Inter-agent communication allow list (comma-separated, use
* for all).Inter-agent communication deny list (comma-separated).
Inter-agent communication timeout (seconds).
Web UI Gateway
Add a default Web UI gateway configuration.
Session secret key for Web UI.
Host for Web UI FastAPI server.
Port for Web UI FastAPI server.
HTTPS port for Web UI FastAPI server.
SSL key file path for Web UI.
SSL certificate file path for Web UI.
SSL key file passphrase for Web UI.
Enable embed resolution for Web UI.
Frontend welcome message for Web UI.
Frontend bot name for Web UI.
Enable feedback collection in Web UI.
Database URL for the WebUI Gateway.
Platform Service
Host for Platform API server.
Port for Platform API server.
Examples
Interactive Initialization
GUI-Based Initialization
Non-Interactive with Defaults
Dev Mode Initialization
Custom Broker Configuration
Custom LLM and Namespace
Output
Upon successful initialization, the command creates:Notes
- The initialization process creates configuration files in the current directory
- If
--guiis used with--skip, the CLI will proceed with non-interactive mode - Dev mode (
--dev-mode) bypasses the broker setup for local development - Review and update the generated
.envfile with your actual credentials and endpoints - All configuration files use YAML format with environment variable substitution