PitLane Agent
AI agent for F1 data analysis using Claude Agent SDK and FastF1.
Quick Start
# Install with pip/uv
pip install pitlane-agent
# Create a workspace
pitlane workspace create --workspace-id my-analysis
# Fetch session data
pitlane fetch session-info --workspace-id my-analysis --year 2024 --gp Monaco --session R
# Analyze lap times
pitlane analyze lap-times --workspace-id my-analysis --year 2024 --gp Monaco --session Q --drivers VER --drivers HAM
Features
- F1 Data Analysis - Lap times, tyre strategy, race telemetry, and more
- Skills-Based Architecture - Specialized skills for different analysis domains
- Workspace Management - Isolated analysis sessions with persistent data
- FastF1 Integration - Direct access to comprehensive F1 data
- Chart Generation - Matplotlib-based visualizations
- Tool Permissions - Domain-restricted web access for safe agent operation
Skills
f1-analyst
Lap time and tyre strategy analysis with visualizations.
Examples:
pitlane analyze lap-times --workspace-id my-analysis --year 2024 --gp Monaco --session Q
pitlane analyze tyre-strategy --workspace-id my-analysis --year 2024 --gp Monaco --session R
f1-drivers
Driver information queries via the Ergast API.
Examples:
pitlane fetch drivers --year 2024
pitlane fetch driver-info --driver-code VER
f1-schedule
Event calendars and session schedules.
Examples:
pitlane fetch schedule --year 2024
pitlane fetch event-info --year 2024 --round 6
Workspace Management
# Create workspace
pitlane workspace create --workspace-id my-analysis
# List workspaces
pitlane workspace list
# Get workspace info
pitlane workspace info --workspace-id my-analysis
# Clean old workspaces (older than 7 days)
pitlane workspace clean --older-than 7
# Remove specific workspace
pitlane workspace remove --workspace-id my-analysis
Requirements
- Python 3.12, 3.13, or 3.14
- Claude API key (for AI agent functionality)
Dependencies
- Claude Agent SDK - AI agent orchestration
- FastF1 - F1 data access and telemetry
- Matplotlib - Chart generation
- Click - CLI framework
- OpenTelemetry - Optional tracing support
Architecture
The agent uses a skills-based architecture where each skill handles a specific F1 analysis domain:
- Skills invoke Python scripts through the agent's tool system
- FastF1 provides data access and telemetry processing
- Matplotlib generates visualizations
- Tool permissions restrict web access to approved F1 data sources
License
Apache-2.0
Links
Metadata
Release files for pitlane-agent 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pitlane_agent-0.5.1.tar.gz | 1.9 MB | Without provenance | Details for pitlane_agent-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pitlane_agent-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for pitlane_agent-0.5.1-py3-none-any.whl |
Total release size: 3.8 MB
Release files / pitlane_agent-0.5.1.tar.gz
| Download URL | pitlane_agent-0.5.1.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6077d811f47ee64533dd09296bcf258a78430dfbb0cf2ae9ab4dedcc008accf7
|
|
BLAKE2b-256 checksum How to use checksums |
d9a421e02b07f2f8757905b99bac4d29daba1325f6a412a76db34a8477d9bd88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pitlane_agent-0.5.1-py3-none-any.whl
| Download URL | pitlane_agent-0.5.1-py3-none-any.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66483fd67cb9f3a1edc092bd30d0683c449b30fc97b87dbd959d3584a28e6f5b
|
|
BLAKE2b-256 checksum How to use checksums |
286c63d478a590d8e3260134d617bdfddd9e482e2b415a3241db551d2fd9895d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pitlane-agent 0.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.