Environment Variables
API Keys
Default Settings
Compliance Proxy (multimind serve)
Every multimind serve flag can also be set through an environment variable
(CLI flags win):
--config defaults to MULTIMIND_DASHBOARD_GUARDRAILS (see below). See the Guard Proxy guide for details.
Governance Dashboard (multimind dashboard)
Every multimind dashboard flag can also be set through an environment variable
(CLI flags win):
multimind backend reads MULTIMIND_BACKEND_HOST and MULTIMIND_BACKEND_PORT (default 127.0.0.1:8080).
API Servers and Misc
Model Configuration
Generation parameters such astemperature and max_tokens are passed per
call (e.g. to generate()), not to the model constructor.
OpenAI Models
Claude Models
Mistral Models
MistralModel runs Mistral models locally through Ollama; MistralAIModel
uses the hosted Mistral AI (La Plateforme) API via MISTRAL_API_KEY.
Agent Configuration
Memory Settings
Tool Configuration
Task Runner Configuration
MCP Configuration
Workflow Definition
An MCP spec must containversion, models (a list of {name, type, config}
entries; types: openai, claude, mistral, huggingface, ollama) and a
workflow with steps ({id, type, config}; types: model, transform,
condition) and connections ({from, to} between existing step ids). A
model step’s config needs model (a registered model name) and
prompt_template; the full schema is in multimind/mcp/schema.json:
Logging Configuration
Usage Tracking
Trace Logging
CLI Configuration
Command Line Options
~/.multimind_cli_config.
Configuration File (config.yaml)
The SDK-levelmultimind.Config loads a YAML file from the path given by the
MULTIMIND_CONFIG environment variable (or an explicit config_path).
Environment variables override file values for API keys and the Ollama host:
Best Practices
-
Environment Variables
- Use environment variables for sensitive data
- Keep configuration in version control
- Use different configs for different environments
-
Model Selection
- Choose models based on task requirements
- Consider cost and performance trade-offs
- Monitor model usage and costs
-
Resource Management
- Set appropriate timeouts
- Implement retry strategies
- Monitor memory usage
-
Security
- Never commit API keys
- Use secure storage for sensitive data
- Implement proper access controls
-
Monitoring
- Enable usage tracking
- Set up logging
- Monitor performance metrics
Troubleshooting
Common Issues
-
Configuration Not Loaded
- Check file permissions
- Verify environment variables
- Check config file syntax
-
Model Access
- Verify API keys
- Check model availability
- Confirm account status
-
Resource Limits
- Check rate limits
- Monitor token usage
- Verify timeout settings
Getting Help
- Check the feature status and installation guide
- Open an issue on GitHub
- Contact support at contact@multimind.dev
