Asteroid
Projects, Tasks & Runs
Wrap your agent tools in our decorator to enable supervision
In the Asteroid framework, a Project is a container for tasks, which in turn contain runs. This hierarchy helps organize and track experiments and deployments.
- Project: A container for tasks; it could represent an AI application or service.
- Task: Represents a specific task or experiment within a project.
- Run: A single execution instance of a task, which can be monitored and supervised.
Registering a Project, Task, and Run
To register a project, task, and run, you can use the asteroid_init
function provided by the asteroid-sdk
package.
Here’s how you can register all three in one Python snippet:
This code snippet demonstrates how to set up the project structure in Asteroid, allowing you to track and manage your AI application’s executions.