Thin CLI for queuing Freesolo backend training jobs.
Project description
Freesolo Agent CLI
Thin interactive command-line client for queuing Freesolo backend training jobs.
The public package does not contain the Codex/GitHub/training worker. It only:
- prompts for setup input
- verifies a Freesolo API key
- uploads a local dataset file or folder when one is provided
- enqueues
/api/training/jobs - polls
/api/training/jobs/{job_id}until the backend worker finishes
The private worker implementation lives under backend/src/training_agent.
Install
pip install freesolo-agent
This installs the freesolo command.
From this repo checkout:
cd agent
uv sync
uv run freesolo setup
Setup
Run:
freesolo setup
or, from a checkout:
uv run freesolo setup
The CLI prompts for:
- Freesolo API key
- Freesolo org ID
- operation:
draft,edit,optimize, ortraining - source repository URL for
draft - target training repository URL for
edit,optimize, andtraining - optional branch
- optional dataset file or folder path
- optional backend-worker environment variables
For private repositories, install the Freesolo GitHub App when prompted:
https://github.com/apps/freesolo-agent/installations/new
The CLI prints progress while the backend job is queued and running. When the
job finishes, it writes a compact JSON result containing ok, result, and
jobId.
Operations
draft creates the initial Freesolo training contract from a source repo. It
returns a targetRepoUrl for the generated training repo.
edit revises an existing training contract in the target training repo.
optimize generates and checks repo-level training files in the target training
repo.
training runs the long training workflow from the current target training repo
state.
Environment
The CLI does not require environment variables.
- Interactive setup prompts for the Freesolo API key.
- Dataset paths are uploaded before the backend job starts.
- Backend URL and job polling interval use CLI defaults.
- Private GitHub app credentials, Codex settings, Tinker dependencies, and training runtime configuration belong to the backend worker, not this CLI package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file freesolo_agent-0.1.4.tar.gz.
File metadata
- Download URL: freesolo_agent-0.1.4.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38c60685a40a2af257faac555c537b23e256b167d5c3ddc7b6a6726c0fc0f926
|
|
| MD5 |
fd1258661005032d3f6ab2f497388baf
|
|
| BLAKE2b-256 |
a483bffdb05507dd0b559291b77abaf796ccde469ecc2965172a35a5eac7002e
|
File details
Details for the file freesolo_agent-0.1.4-py3-none-any.whl.
File metadata
- Download URL: freesolo_agent-0.1.4-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecb885c0d22a7d39a8dc0c1fdbb64eeb479ec7a1e9f88c9c715c438fed88777d
|
|
| MD5 |
f8707f01cfa18db516acec2522e58637
|
|
| BLAKE2b-256 |
beb391021600f5c046b9da327427b91b7cf771e877ab314835172b1d44c10b61
|