Overview
Thecrewship.toml file configures how your crew is built and deployed. Place it in your project root.
Crewship supports two formats:
- Single deployment — one
[deployment]section (default, created bycrewship init) - Multi-deployment — multiple
[deployments.<name>]sections for monorepos with several agents
Single Deployment (default)
- CrewAI
- LangGraph
- LangGraph.js
crewship.toml
Multi-Deployment
For monorepos with multiple agents sharing the same codebase, use named[deployments.<name>] sections:
crewship.toml
research-agent).
[apis] and [chat] can be set at the top level as global defaults, and overridden per deployment:
crewship.toml
Selecting a deployment
Use--name / -n on any command to target a specific deployment:
--name is omitted:
- One named deployment — auto-selected
- Multiple named deployments — interactive prompt (or error in CI)
- Single
[deployment]format — used directly (no--nameneeded)
Deployment IDs
After the first deploy,deployment_id is saved into each section automatically:
Full Example
crewship.toml
Configuration Reference
[deployment] / [deployments.<name>]
Entrypoint Format
The entrypoint format depends on your framework: CrewAI and LangGraph (Python) — Python module path:Profile Options
[build]
Build configuration options.[build.install]
Additional system packages to install.Only packages available in the base image’s package manager (apt) are supported.
[runtime]
Runtime configuration.[apis]
Controls which APIs are enabled for the deployment. This affects both direct API access and which interaction modes are available in Slack.
When omitted (or
null), all APIs are enabled by default.
In Slack, the enabled APIs determine which interaction modes work:
- Thread API —
@mentionconversations use threads for multi-turn context - Run API —
/crewship runslash commands use single stateless runs - If both are enabled,
@mentiondefaults to thread mode
[chat]
Configures how chat messages (from Slack or other integrations) map to your crew’s input and output.output_key is set, the platform extracts that field from the run result to display as the response:
[metadata]
Optional metadata for organization.Validation
The CLI validates yourcrewship.toml on deploy:
Environment-specific Config
For different environments, use separate projects:Example Configurations
Basic CrewAI
Basic LangGraph
Basic LangGraph.js
Web Scraping Crew
Document Processing
Slack Chatbot
Multi-Agent Monorepo (mixed frameworks)
Related
Deploy
Deploy your configured crew
Slack Integration
Connect your crew to Slack
Environment Variables
Configure secrets
Threads
Multi-turn conversations