Quick Start
You can quickly scaffold a new Ground Control project by running our starter script. This will download the project into a grctl-starter directory.
Once the project is created, navigate into it:
Next Steps¶
We recommend using mise to manage the required tools (Python, uv, and the grctl CLI).
1. Install project tools and dependencies:
2. Start the grctld server (in your current terminal or a background tmux session):
tmux new-session -d -s grctl_server 'grctld')
3. Start the worker (in a new terminal):
4. Trigger a workflow (in another terminal):
Manual Installation (Without mise)¶
If you prefer not to use mise, you can install the components manually:
1. Install the server and CLI:
2. Start the grctld server (in your current terminal or a background tmux session):
3. Install project dependencies:
4. Start the worker (in a new terminal):
5. Trigger a workflow (in another terminal):
Project Structure¶
.
├── pyproject.toml # Project config and dependencies
├── worker.py # Worker entry point — registers and runs workflows
├── client.py # Client entry point — starts a workflow and prints the result
├── workflows/
│ └── hello.py # Sample "Hello World" workflow definition
└── README.md
What's in the sample workflow?¶
workflows/hello.py defines a simple workflow that:
- Receives a
nameinput - Calls a greeting task
- Stores the result and completes
This demonstrates the core grctl concepts: workflows, tasks, context/store, and directives.
Next Steps¶
- Add more workflows in the
workflows/directory - Explore Ground Control documentation