Workspaces (beta)
Configure environments for local tools to run on
Overview
Composio ships with a pre-defined set of local tools that run only on a machine. These tools manipulate files, execute shell commands, and manage code projects.
Python SDK Only: Workspaces are currently only available in the Python SDK. TypeScript support isn’t available for this feature.
Run local tools directly on your host machine with full system access and native performance.
Isolate tool execution in containers for better security and reproducibility.
Execute tools in code sandboxes powered by E2B.
Deploy and manage workspaces for tool execution to Fly.io for global distribution and scale.
Host
By default, all local tools run directly on your host machine.
Docker
- Secure sandboxed environments
- Consistent execution across systems
- Easy dependency management
- Perfect for production deployments
To use Docker workspaces, install the Docker workspace extension:
E2B
- Secure serverless execution
- No infrastructure management
- Pay-per-use pricing
- Automatic scaling
To use E2B workspaces, install the E2B workspace extension:
Fly.io
- Deploy close to users
- Automatic load balancing
- Built-in monitoring
- Edge computing capabilities
To use Fly.io workspaces, install the Fly.io workspace extension:
Each workspace type offers unique benefits. Choose the appropriate workspace based on your specific requirements for security, scalability, and deployment needs. Remember to install the corresponding workspace extension using composio-core[extension_name] before using any workspace type other than the default host configuration.