Skip to main content

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
  • operation: draft, edit, optimize, training, or poll
  • source repository URL for draft
  • the stored organization job to continue for edit, optimize, and training
  • optional branch, dataset file or folder path, and backend-worker environment variables for draft

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 prints a short summary with the job id, repo, commit, and changed files when available. Full job details and richer summaries live in the Freesolo platform at https://freesolo.co.

Operations

draft creates the initial Freesolo training contract from a source repo. It returns a targetRepoUrl for the generated training repo.

edit revises a drafted or previously edited training contract. The CLI lists eligible organization jobs by stage, repo, and prompt.

optimize generates and checks repo-level training files for a drafted or edited job that has not already been optimized.

training runs the long training workflow after the selected optimize job.

poll lists recent organization jobs and watches the selected job until it finishes. It does not enqueue new work.

Environment

The CLI does not require environment variables.

  • Interactive setup prompts for the Freesolo API key.
  • The backend infers the Freesolo org from that 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freesolo_agent-0.1.8.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freesolo_agent-0.1.8-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file freesolo_agent-0.1.8.tar.gz.

File metadata

  • Download URL: freesolo_agent-0.1.8.tar.gz
  • Upload date:
  • Size: 12.4 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

Hashes for freesolo_agent-0.1.8.tar.gz
Algorithm Hash digest
SHA256 40fdae5b92719503d29504a49db4249a0d8a37262fc391274f1c2a6d63f034bd
MD5 30e8e5e1103c50123b89327e9732da09
BLAKE2b-256 7269f56473e1dc117860e21359954b97f1c5ac576d2754664e3968bb892ec3a0

See more details on using hashes here.

File details

Details for the file freesolo_agent-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: freesolo_agent-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 14.7 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

Hashes for freesolo_agent-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b0ce84a852c967966602451b00cc1411be6f6d52d3f5cff5463458ebb072ce69
MD5 47146d4c725b33dedb77fe909ff9d590
BLAKE2b-256 7869b423852949fb3fd60420e907fe3a58a5a5a03114f7e38d7a96144834caeb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page