soma
Verified Safeby trysoma
Overview
A platform for building and managing AI agents and functions using the Model Context Protocol (MCP). It provides SDKs for Python and TypeScript to define agents and functions, and an API server to manage them, including identity, encryption, and bridging capabilities to integrate with external AI models and services. The insurance claim bot serves as a comprehensive example application.
Installation
soma devEnvironment Variables
- SOMA_SERVER_BASE_URL
- OPENAI_API_KEY
- RESTATE_ADMIN_URL
- RESTATE_INGRESS_URL
- SOMA_SERVER_SOCK
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_REGION
- RUST_LOG
- PROTOC
Security Notes
The system incorporates robust encryption and secret management features, supporting KMS integration. However, the use of `exec` within Python code generation (even if on trusted templates) presents a potential, albeit mitigated, risk. Hardcoded bootstrap/test API keys and default encryption aliases (e.g., 'default' DEK alias) require careful handling and rotation in production environments. Network interactions with external AI models and the Restate runtime also necessitate proper input validation, sanitization, and secure configuration.
Similar Servers
trigger.dev
A platform for building and executing reliable, scalable background tasks and complex workflows, supporting various runtimes (Node.js, Python, Bun), including advanced AI agent orchestration, event-driven processing, and real-time data handling.
agentgateway
An API Gateway specialized for agent-to-agent and agent-to-tool communication, providing routing, security, and AI/LLM integration capabilities.
pg-aiguide
Provides AI-optimized PostgreSQL expertise, including semantic search over documentation and curated best practices, to assist AI coding tools in generating better PostgreSQL code.
arcade-mcp
Provides a framework and pre-built toolkits for integrating Large Language Models (LLMs) with various external services and databases, enabling AI agents to interact with the real world.