Configure
Configure: plan, run, and monitor Fireworks training.
This skill owns the execution workflow. The installed fireworks-training
compatibility skill carries the detailed references; the public cookbook carries
the executable recipes.
Entry routing
| Signal |
Route |
| Task-shaped goal without clear method, data, or evaluation |
research |
| Failed, stuck, errored, or unexpectedly low-quality run |
debug |
| Explicit train, deploy, resume, or research handoff |
stay in configure |
When a research handoff exists, reuse its case_study when present,
cookbook_entry_tier, cookbook_entry_path, notebook, readme,
implied_method, dataset_plan, eval_plan, and suggested_path. Persist the
exact cookbook entry even when the handoff is an example or recipe without a
case-study slug. Do not ask again unless the user corrects it.
Research owns the welcome-entry question and its privacy notice. Route a
vague first message there instead of asking a second welcome question.
Attribution and privacy
Use one UUID for the whole run:
export FIREWORKS_SESSION_ID="$(python3 -c 'import uuid; print(uuid.uuid4())')"
export FIREWORKS_CLIENT_SOURCE="fireworks-training-skill/2.2.0"
Record entry_skill: configure in the private run manifest. Before the first
structured question, show the privacy notice in
../fireworks-training/references/telemetry-notice.md.
Check firectl skill-journey record --help once. When available, record only
registered question and option IDs using the workflow in
../fireworks-training/references/telemetry.md. If unavailable, recommend a
firectl upgrade and continue with local run state. Telemetry must never block
training.
Source precedence
- Installed
firectl ... --help for commands and flags.
- Live Fireworks docs from https://docs.fireworks.ai/llms.txt.
- Public cookbook code at the recorded commit.
- This skill and its installed references for stable workflow rules.
Never guess current models, shapes, prices, limits, or defaults.
Authentication
Before any firectl call, run firectl whoami. If authentication is missing,
tell the user to enter a scoped API key in their terminal with hidden input:
read -s FIREWORKS_API_KEY
echo
export FIREWORKS_API_KEY
firectl whoami
Never ask for an API key in chat or echo it.
Path and method intake
Read references/path-intake.md.
- Run Q-path even when research recommends a coarse path. Skip it only for a
recorded
question_id: configure-q-path answer; research-q3 never counts.
- Run Q-method when the supervision signal is unclear.
- Use one AskQuestion per turn.
- Do not present a spend plan until the path and method completion gate passes.
Read-only preflight
Confirm:
- Account,
firectl version, authentication, quota, and billing readiness.
- Model support and live training shape availability.
- Dataset format, row count, split, schema, leakage, and token lengths.
- Evaluator, reward, or preference-data contract.
- Held-out evaluation data and success metric.
- Cookbook commit and installed SDK version for Training API work.
Do not upload or create resources during preflight.
Cost
Read references/cost-estimation.md.
- Calculate Managed SFT or DPO only after resolving rendered token volume,
tuning mode, exact path context, and the current published rate.
- Calculate Serverless SFT from trainer tokens. For DPO, return an unpadded
baseline with policy train tokens plus one-time all-uncached reference
prefill; list padding and optional sampling as excluded work.
- Do not calculate vision SFT or DPO until model-specific visual token
accounting is available.
- Do not calculate Dedicated SFT or DPO. Direct the user to
https://docs.fireworks.ai/fine-tuning/cost-estimator.
- Do not calculate Managed ORPO until its billing contract is documented.
- Route RL, embedding, IGPO, and distillation estimates to the Training team
with method-specific assumptions.
- Put the structured estimate and unknowns in the private run manifest.
Cost estimation does not replace the mandatory final-plan confirmation.
Mandatory final-plan gate
Before any upload, evaluator registration, paid inference, training creation,
checkpoint promotion, or deployment, show one complete plan:
- Account, method, workflow path, and execution surface.
- Base model, dataset, split, schema, and row counts.
- Evaluator, reward, loss, and success metric.
- Stable resource IDs.
- Every user-set parameter and every platform default that can be resolved
before creation. Label an unknowable backend default
platform-resolved, unknown before create; never guess or stall the plan.
- Model, training shape, deployment shape, and context when relevant.
- Cost line items, range, assumptions, unknowns, and pricing source.
- Monitoring, no-progress timeout, resume, evaluation, and teardown.
Ask the user to approve that exact plan. Any change to method, model, parameters,
sweep breadth, or cost ceiling requires renewed confirmation. Promotion and
deployment require separate confirmation.
Agent execution boundary
Read-only get, list, whoami, quota, and catalog commands are allowed.
After approval, attempt the documented mutation. If firectl returns
BLOCKED: mutating command, show the exact reconstructed command and ask the
user to run it. Never unset agent-detection variables, configure a safe-account
override, or switch tools to bypass the guard.
The guard can also block a mutating command's dry-run form. In that case the
user runs the dry-run and returns its output before final approval.
Execution workflow
- Persist the approved plan and approval quote in
fireworks-training-runs/<run-id>/run.md.
- Create resources with stable IDs through the selected managed command or
recorded cookbook recipe.
- If a response is lost or reports
AlreadyExists, query the planned ID and
reuse only an exact configuration match.
- Stay actively monitoring while a run is in progress. State alone is not
progress; poll the method's numeric progress signal.
- On the approved no-progress timeout, gather evidence and route failures to
debug. Never launch a replacement before reconciling the prior run.
- Evaluate base and tuned behavior on the same held-out set.
- Deploy only after separate approval, then prove serving with a real request.
- Tear down billable resources and report final state.
Progressive references
| Need |
Reference |
| Path intake |
references/path-intake.md |
| Cost contract |
references/cost-estimation.md |
| Configure response shapes |
references/output-template.md |
| Installation and authentication |
../fireworks-training/references/getting-started.md |
| Method and data selection |
../fireworks-training/references/choose-method.md |
| Preference data and evaluators |
../fireworks-training/references/preference-data-and-evaluators.md |
| Managed RFT |
../fireworks-training/references/managed-rft-operations.md |
| RFT tracing |
../fireworks-training/references/rft-agent-tracing.md |
| Training API |
../fireworks-training/references/training-api.md |
| Training API losses |
../fireworks-training/references/training-api-losses.md |
| Secure training |
../fireworks-training/references/secure-training-operations.md |
| Models and shapes |
../fireworks-training/references/models-shapes-and-cost.md |
| Run state and resume |
../fireworks-training/references/run-state-and-reporting.md |
| Deployment and teardown |
../fireworks-training/references/deploy-and-troubleshoot.md |
| Error catalog |
../fireworks-training/references/error-reference.md |
| SDK and cookbook recipes |
../fireworks-training/references/sdk-recipes.md |
| SDK setup and examples |
../fireworks-training/references/sdk-setup.md, ../fireworks-training/references/sdk-examples.md |
| SDK migration and shapes |
../fireworks-training/references/sdk-migrate.md, ../fireworks-training/references/sdk-shapes.md |
| Checkpoints and tools |
../fireworks-training/references/sdk-checkpoints.md, ../fireworks-training/references/sdk-tools.md |
| Distillation |
../fireworks-training/references/sdk-distillation.md |
| RL losses |
../fireworks-training/references/rl-loss-paths.md, ../fireworks-training/references/rl-custom-loss.md, ../fireworks-training/references/rl-gradient-accumulation.md |
| Async and agentic RL |
../fireworks-training/references/rl-async.md, ../fireworks-training/references/rl-agentic.md, ../fireworks-training/references/rl-concurrency.md, ../fireworks-training/references/rl-dynamic-filter.md |
| Async RL metrics |
../fireworks-training/references/async-rl-metrics.md |
| Hotload and sampling |
../fireworks-training/references/rl-hotload.md, ../fireworks-training/references/rl-sampling-timeouts.md |
| Renderer work |
../fireworks-training/references/renderer.md |
| Renderer verification |
../fireworks-training/references/renderer-verification.md |
| Journey telemetry |
../fireworks-training/references/telemetry.md |
| Telemetry notice |
../fireworks-training/references/telemetry-notice.md |
Non-negotiables
- Validate locally before upload.
- Prefer managed training for standard supported jobs.
- Prefer maintained cookbook recipes over blank custom loops.
- Keep quota, billing, capacity, user configuration, and platform failures
distinct.
- Never expose credentials, customer data, raw answers, or private paths.
1---2name: configure3description: Plan, run, and monitor Fireworks training from a coding agent. Covers managed SFT, DPO, ORPO, and RFT plus Training API serverless and dedicated workflows, complete cost and parameter confirmation, active monitoring, checkpoints, deployment, resume, and teardown. Use for explicit train, fine-tune, deploy, or resume requests. Use research when method, data, or evaluation is unclear; use debug for a stuck or failed run.4---56# Configure78`Configure`: plan, run, and monitor Fireworks training.910This skill owns the execution workflow. The installed `fireworks-training`11compatibility skill carries the detailed references; the public cookbook carries12the executable recipes.1314## Entry routing1516| Signal | Route |17|---|---|18| Task-shaped goal without clear method, data, or evaluation | `research` |19| Failed, stuck, errored, or unexpectedly low-quality run | `debug` |20| Explicit train, deploy, resume, or research handoff | stay in `configure` |2122When a research handoff exists, reuse its `case_study` when present,23`cookbook_entry_tier`, `cookbook_entry_path`, `notebook`, `readme`,24`implied_method`, `dataset_plan`, `eval_plan`, and `suggested_path`. Persist the25exact cookbook entry even when the handoff is an example or recipe without a26case-study slug. Do not ask again unless the user corrects it.2728Research owns the `welcome-entry` question and its privacy notice. Route a29vague first message there instead of asking a second welcome question.3031## Attribution and privacy3233Use one UUID for the whole run:3435```bash36export FIREWORKS_SESSION_ID="$(python3 -c 'import uuid; print(uuid.uuid4())')"37export FIREWORKS_CLIENT_SOURCE="fireworks-training-skill/2.2.0"38```3940Record `entry_skill: configure` in the private run manifest. Before the first41structured question, show the privacy notice in42`../fireworks-training/references/telemetry-notice.md`.4344Check `firectl skill-journey record --help` once. When available, record only45registered question and option IDs using the workflow in46`../fireworks-training/references/telemetry.md`. If unavailable, recommend a47firectl upgrade and continue with local run state. Telemetry must never block48training.4950## Source precedence51521. Installed `firectl ... --help` for commands and flags.532. Live Fireworks docs from <https://docs.fireworks.ai/llms.txt>.543. Public cookbook code at the recorded commit.554. This skill and its installed references for stable workflow rules.5657Never guess current models, shapes, prices, limits, or defaults.5859## Authentication6061Before any `firectl` call, run `firectl whoami`. If authentication is missing,62tell the user to enter a scoped API key in their terminal with hidden input:6364```bash65read -s FIREWORKS_API_KEY66echo67export FIREWORKS_API_KEY68firectl whoami69```7071Never ask for an API key in chat or echo it.7273## Path and method intake7475Read `references/path-intake.md`.76771. Run Q-path even when research recommends a coarse path. Skip it only for a78 recorded `question_id: configure-q-path` answer; `research-q3` never counts.792. Run Q-method when the supervision signal is unclear.803. Use one AskQuestion per turn.814. Do not present a spend plan until the path and method completion gate passes.8283## Read-only preflight8485Confirm:86871. Account, `firectl` version, authentication, quota, and billing readiness.882. Model support and live training shape availability.893. Dataset format, row count, split, schema, leakage, and token lengths.904. Evaluator, reward, or preference-data contract.915. Held-out evaluation data and success metric.926. Cookbook commit and installed SDK version for Training API work.9394Do not upload or create resources during preflight.9596## Cost9798Read `references/cost-estimation.md`.991001. Calculate Managed SFT or DPO only after resolving rendered token volume,101 tuning mode, exact path context, and the current published rate.1022. Calculate Serverless SFT from trainer tokens. For DPO, return an unpadded103 baseline with policy train tokens plus one-time all-uncached reference104 prefill; list padding and optional sampling as excluded work.1053. Do not calculate vision SFT or DPO until model-specific visual token106 accounting is available.1074. Do not calculate Dedicated SFT or DPO. Direct the user to108 <https://docs.fireworks.ai/fine-tuning/cost-estimator>.1095. Do not calculate Managed ORPO until its billing contract is documented.1106. Route RL, embedding, IGPO, and distillation estimates to the Training team111 with method-specific assumptions.1127. Put the structured estimate and unknowns in the private run manifest.113114Cost estimation does not replace the mandatory final-plan confirmation.115116## Mandatory final-plan gate117118Before any upload, evaluator registration, paid inference, training creation,119checkpoint promotion, or deployment, show one complete plan:1201211. Account, method, workflow path, and execution surface.1222. Base model, dataset, split, schema, and row counts.1233. Evaluator, reward, loss, and success metric.1244. Stable resource IDs.1255. Every user-set parameter and every platform default that can be resolved126 before creation. Label an unknowable backend default `platform-resolved,127 unknown before create`; never guess or stall the plan.1286. Model, training shape, deployment shape, and context when relevant.1297. Cost line items, range, assumptions, unknowns, and pricing source.1308. Monitoring, no-progress timeout, resume, evaluation, and teardown.131132Ask the user to approve that exact plan. Any change to method, model, parameters,133sweep breadth, or cost ceiling requires renewed confirmation. Promotion and134deployment require separate confirmation.135136## Agent execution boundary137138Read-only `get`, `list`, `whoami`, quota, and catalog commands are allowed.139140After approval, attempt the documented mutation. If firectl returns141`BLOCKED: mutating command`, show the exact reconstructed command and ask the142user to run it. Never unset agent-detection variables, configure a safe-account143override, or switch tools to bypass the guard.144145The guard can also block a mutating command's dry-run form. In that case the146user runs the dry-run and returns its output before final approval.147148## Execution workflow1491501. Persist the approved plan and approval quote in151 `fireworks-training-runs/<run-id>/run.md`.1522. Create resources with stable IDs through the selected managed command or153 recorded cookbook recipe.1543. If a response is lost or reports `AlreadyExists`, query the planned ID and155 reuse only an exact configuration match.1564. Stay actively monitoring while a run is in progress. State alone is not157 progress; poll the method's numeric progress signal.1585. On the approved no-progress timeout, gather evidence and route failures to159 `debug`. Never launch a replacement before reconciling the prior run.1606. Evaluate base and tuned behavior on the same held-out set.1617. Deploy only after separate approval, then prove serving with a real request.1628. Tear down billable resources and report final state.163164## Progressive references165166| Need | Reference |167|---|---|168| Path intake | `references/path-intake.md` |169| Cost contract | `references/cost-estimation.md` |170| Configure response shapes | `references/output-template.md` |171| Installation and authentication | `../fireworks-training/references/getting-started.md` |172| Method and data selection | `../fireworks-training/references/choose-method.md` |173| Preference data and evaluators | `../fireworks-training/references/preference-data-and-evaluators.md` |174| Managed RFT | `../fireworks-training/references/managed-rft-operations.md` |175| RFT tracing | `../fireworks-training/references/rft-agent-tracing.md` |176| Training API | `../fireworks-training/references/training-api.md` |177| Training API losses | `../fireworks-training/references/training-api-losses.md` |178| Secure training | `../fireworks-training/references/secure-training-operations.md` |179| Models and shapes | `../fireworks-training/references/models-shapes-and-cost.md` |180| Run state and resume | `../fireworks-training/references/run-state-and-reporting.md` |181| Deployment and teardown | `../fireworks-training/references/deploy-and-troubleshoot.md` |182| Error catalog | `../fireworks-training/references/error-reference.md` |183| SDK and cookbook recipes | `../fireworks-training/references/sdk-recipes.md` |184| SDK setup and examples | `../fireworks-training/references/sdk-setup.md`, `../fireworks-training/references/sdk-examples.md` |185| SDK migration and shapes | `../fireworks-training/references/sdk-migrate.md`, `../fireworks-training/references/sdk-shapes.md` |186| Checkpoints and tools | `../fireworks-training/references/sdk-checkpoints.md`, `../fireworks-training/references/sdk-tools.md` |187| Distillation | `../fireworks-training/references/sdk-distillation.md` |188| RL losses | `../fireworks-training/references/rl-loss-paths.md`, `../fireworks-training/references/rl-custom-loss.md`, `../fireworks-training/references/rl-gradient-accumulation.md` |189| Async and agentic RL | `../fireworks-training/references/rl-async.md`, `../fireworks-training/references/rl-agentic.md`, `../fireworks-training/references/rl-concurrency.md`, `../fireworks-training/references/rl-dynamic-filter.md` |190| Async RL metrics | `../fireworks-training/references/async-rl-metrics.md` |191| Hotload and sampling | `../fireworks-training/references/rl-hotload.md`, `../fireworks-training/references/rl-sampling-timeouts.md` |192| Renderer work | `../fireworks-training/references/renderer.md` |193| Renderer verification | `../fireworks-training/references/renderer-verification.md` |194| Journey telemetry | `../fireworks-training/references/telemetry.md` |195| Telemetry notice | `../fireworks-training/references/telemetry-notice.md` |196197## Non-negotiables1981991. Validate locally before upload.2002. Prefer managed training for standard supported jobs.2013. Prefer maintained cookbook recipes over blank custom loops.2024. Keep quota, billing, capacity, user configuration, and platform failures203 distinct.2045. Never expose credentials, customer data, raw answers, or private paths.