Skip to content

First Flight

In this guide, you will initialize the Control Plane and run your first autonomous task.

1. Installation

See the Installation Guide for macOS, Linux, and Windows instructions.

Once installed, verify the CLI is ready:

bash
pilot --version

2. Initialize

Create a new project directory and initialize the platform. We use the --project flag to create a local .pilot configuration directory.

bash
mkdir my-mission
cd my-mission
pilot init --project

You will see:

text
Initialized Red Station project in /path/to/my-mission/.pilot
- config.yaml created
- agents/ directory created
- workflows/ directory created

3. Your First Task

Let's ask the planner agent to map out a simple script.

bash
pilot agent run planner --task "Create a Python script that checks the status of the ISS location API"

You will see the agent:

  1. Think (Plan the approach).
  2. Tool Use (Search for API documentation or file paths).
  3. Output (Present the plan).

4. Execution

Now, let's run the coder agent to implement it.

bash
pilot agent run coder --task "Implement the ISS tracker based on the plan"

The agent will write the iss_tracker.py file to your directory.

Next Steps

Released under the MIT License.