stateset-agents on PyPI. Multi-turn generation exists in
several trainer libraries now; what this keeps coherent is the whole loop —
traces, rewards, training, and a deployed model with lineage back to the
conversations that produced it.
Earlier revisions of these docs called this framework
grpo-agent-framework,
which is not a published package. The install is pip install stateset-agents.The loop
The whole loop, end to end:
next_steps.md is worth reading rather than skipping: the improve step prints
the exact training command for what it just curated, so step 3 is a copy rather
than a decision.
Rewards
Grading is rule-based and offline. Four rewards ship:There are deliberately no LLM-judge rewards in this list. A judge needs an API
key and a network call per turn, which makes grading non-reproducible and
turns a local loop into a billed one. Judge-based evaluation exists in the
framework for benchmarking; it is not part of the offline improve loop.
Training backends
The framework does not implement its own trainer. It drives version-pinned backends behind a fail-closed adapter — PPO, GRPO and GSPO through OpenRLHF, PPO/GRPO through verl, and distributed maths GRPO through NeMo RL.Next steps
Quickstart
Logs to a retrained model, with no GPU of your own.
CLI reference
Every command, and which ones cost money.
MCP server
Drive the improve loop from Claude Code or your own agent.
Agent objectives
Choosing what to reward before you train on it.