AI GLOSSARY · CODING AGENTS AND CODING TOOLS
Weights & Biases (W&B)
Definition
Weights & Biases (W&B) is a platform and Python library for tracking machine-learning experiments: it records training runs, settings and metrics, and shows them in a web app. It also offers Weave for LLM applications.
Also called: wandb, weights and biases, weights biases, W&B, w and b, wandb ai.
In plain language
When people train an AI model they try many versions, each with different settings, and they need a record of which one did best. Weights & Biases is a service that keeps that record. A few lines of code send the numbers from each training run, such as how the error changed over time, to a web page where charts let you compare runs side by side. It is like a lab notebook that fills itself in. It records what your code reports, so it cannot tell you why a model behaves as it does. Your run data is sent to the service unless you host it yourself, so check where it is stored and who can see it.
Technical definition
The wandb Python library starts a run with wandb.init, taking a project name and a config dictionary of hyperparameters, and records metrics with run.log. The README says results are visualised in the W&B web app and that the platform is available as a multi-tenant cloud, a dedicated cloud or self-managed. The documentation lists experiment tracking, hyperparameter sweeps, artifacts, reports and automations, with W&B Weave for evaluating LLM and agent applications. The documentation is hosted on CoreWeave's docs site, where Forge is described as combining W&B experiment tracking with agent evaluation. MLflow Tracking is a separate API and UI for logging parameters, metrics and files.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
llm-eval-test-sets 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- An eval dataset for an LLM feature, built and validated with a checker for duplicates, missing graders, imbalance and leakage.
- Why it exercises the concept
- Tracking tools record results of evaluations. This skill builds the test set those results depend on. It does not call W&B, so the link is adjacent.
Skill by Skill Almanac · Illustrative, not executed
agent-session-cost-review 58/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A report of where a coding-agent session spent its tokens, produced by parsing the saved session transcript.
- Why it exercises the concept
- It is a small, local version of the same habit: measure a run after it happens. W&B Weave covers LLM application tracing in a hosted product, which this skill does not.
Guide · Illustrative, not executed
How to Build an AI Agent: A Minimal Tool Loop
- What you see
- The guide builds a minimal agent in Python with a tool loop, checks that it works and shows where it breaks.
- Why it exercises the concept
- Once an agent loop exists, you need records of what each run did to find breaks. That is the need tools such as W&B Weave address.
How it shows up when you use agents
In agent work, W&B appears in two places. In training or fine-tuning code, an agent may add wandb.init and run.log calls so the loss and accuracy of each run land in the web app. In LLM applications, W&B Weave is described in the documentation as a way to evaluate LLM and agent applications. Both belong to the practice of MLOps and, for language-model apps, LLMOps. Compare observability.
What breaks when it is misunderstood: a coding agent that adds tracking code may also need an API key, and the run data goes to a hosted service unless the team self-manages it. Do not paste a key into a prompt or commit it. Ask where run data is stored and who can see the project before enabling it. Another failure is logging many metrics but never deciding which one counts, so runs pile up with no way to pick a winner. Decide the metric and the comparison first, then log it. The catalogue has no W&B skill. llm-eval-test-sets covers the dataset side of evaluation, and agent-session-cost-review reviews a finished agent session locally.
Common confusions
- W&B versus MLflow. Both track runs, parameters and metrics. They are separate products from separate publishers, and this page does not rank them.
- Models versus Weave. The wandb library tracks training runs. The documentation presents Weave alongside it for LLM and agent evaluation.
- Tracking versus training. W&B records what your code reports. It does not train or improve the model.
- Myth. W&B needs a cloud account. The README says it can also be self-managed on your own infrastructure.
Related terms
Terms that mention Weights & Biases (W&B)
2 terms mention this one
More in Coding agents and coding tools
Sources
- wandb/wandb: The AI developer platform, Weights & Biases (GitHub) (accessed 2026-11-24)
- CoreWeave Forge: Weights & Biases, CoreWeave (accessed 2026-11-24)
- MLflow Tracking, MLflow project (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .
This entry is still in review, so it is not listed in search engines yet.
Change log (2)
- : First version.
- : Verifier pass: applied defect-list corrections.