cookbook
AGENTS.md241 starsChanged 32 days agoApache-2.0View on GitHub
Training recipes, examples, and agent skills for the Fireworks Training API, built on the Fireworks Python SDK (fireworks.training.sdk). - Running or planning training for a user: read skills/GETTING-STARTED.md, then the skill that fits the request: - skills/research/: the goal is clear but the method, data, or evaluation is not. - skills/configure/: plan, launch, monitor, evaluate, deploy, and tear down a run. - skills/debug/: a run is stuck, failed, or produced a poor model. - skills/fireworks-training/ holds the shared references the…
- Reads credentials
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Running or planning training for a user: read skills/GETTING-STARTED.md, then the skill that fits the request:
- Very specific: line 22
Installing these skills: follow the Install section of skills/GETTING-STARTED.md.
- Very specific: line 52
After editing skills/, run from the cookbook root:
- Distinctive: line 75
Leave unset values unset so the backend trainer/deployment gateway can choose defaults and enforce colocation.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fireworks Training Cookbook
Training recipes, examples, and agent skills for the
Fireworks Training API,
built on the Fireworks Python SDK
(fireworks.training.sdk).
Where to start
- Running or planning training for a user: read
skills/GETTING-STARTED.md, then the skill that fits the request:skills/research/: the goal is clear but the method, data, or evaluation is not.skills/configure/: plan, launch, monitor, evaluate, deploy, and tear down a run.skills/debug/: a run is stuck, failed, or produced a poor model.skills/fireworks-training/holds the shared references the three skills load.skills/discover/is a redirect for older installs.
- Installing these skills: follow the Install section of
skills/GETTING-STARTED.md. - A first fine-tune:
training/examples/muse_glimmer/runs a small SFT job on preloaded example data. - Changing recipe or example code:
training/README.mdexplains the layout and where each kind of change belongs.
Layout
training/: the installable package (fireworks-training-cookbook).recipes/holds the training loops,utils/the shared pieces,examples/task code that calls a recipe,case-studies/end-to-end notebooks, andtests/the unit and smoke tests.skills/: agent skills, packaged by.claude-plugin/and.codex-plugin/(the plugin version lives in theirplugin.json).llms.txt: canonical doc links for LLM readers.case-studies/: inference, retrieval, and coding-agent applications with their own prerequisites. These are separate from the installable training package and itstraining/case-studies/notebooks.eval/: evaluation packages, separate from the Training API cookbook.
Setup and checks
Python 3.11 or newer.
cd training && uv pip install -e ".[dev]" # or: python3 -m venv .venv && .venv/bin/pip install -e ".[dev]"
pytest tests/unit # from training/After editing skills/, run from the cookbook root:
python skills/validate_skills.py
python skills/test_entry_points.py
python skills/test_research_configure_handoff.py
python -m unittest skills.configure.tests.test_cost_estimation_contract -vRules for changes
- Keep skills in sync with the protocol. Any change to the Training API
SDK, Tinker protocol, trainer or deployment payloads, checkpoint semantics,
hotload flow, optimizer-step semantics, or the recipe/SDK compatibility
contract must update the relevant docs in
skills/. Delete or rewrite stale guidance rather than leaving it next to the new behavior. - Check claims against the source. Facts in skills about pricing, promotions, defaults, quotas, or model availability should match the Fireworks docs or the control plane. Link the doc page when one exists.
- Region placement. Config classes keep an explicit
regionfield for compatibility with existing runners, but cookbook code must not adddeployment_region, hard-code default regions, infer region from accelerator or shape, or copy a trainer region into a hot-load deployment. Leave unset values unset so the backend trainer/deployment gateway can choose defaults and enforce colocation. - SDK first. Agents act through the Fireworks Python SDK;
firectlblocks agent mutations. Write skill steps as SDK calls, and give thefirectlcommand only as the way a user runs that step themselves or as a read-only check. - Skill size.
skills/configure/SKILL.mdhas a 240-line limit enforced byvalidate_skills.py. Put detail in a reference file and link it.
Running jobs on a real account
Training jobs, deployments, and sampling cost money on the account behind
FIREWORKS_API_KEY. Show the user the plan and cost and get approval before
creating anything, never print or log the key, and only delete resources your
session created. The configure skill covers the full flow.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

