Improve how your AI completes complex tasks.
We help product and engineering teams assess reinforcement learning, build task-specific training environments and reward checks, and compare a training experiment with the current system. Start with one task, a measurable performance gap and a clear decision about whether training is worth the investment.
Train against a result you can check.
Reinforcement learning trains a model or decision policy from feedback on its actions. For a language-model agent, that can mean trying a task in a controlled environment, scoring the outcome and updating the model. Logging feedback or changing a prompt alone does not train the model.
The strongest starting point is a repeated task where the model sometimes succeeds, but still fails in ways we can measure. We first check the model, instructions, retrieval and tools. RL becomes a candidate when learning from scored attempts could address the remaining gap.
DeepSeek-R1’s research demonstrates RL post-training for reasoning. Hugging Face’s GRPO documentation describes training with custom reward functions. The task, feedback and evaluation still need to match your product.
Choose RL for the right problem.
| Problem | Where RL can help | What must be available |
|---|---|---|
| A tool-using agent fails across several steps | Train the model to choose actions that complete the task, recover from failures and use permitted tools. | A resettable sandbox, representative tasks and checks on the resulting system state. |
| A model struggles with specialized reasoning or code | Learn from attempts scored by tests, verified answers or a calibrated expert grader. | Reliable feedback, tasks the starting model can sometimes solve and separate unseen evaluation cases. |
| Allocation or control decisions affect later outcomes | Learn a policy for a sequence of decisions, accounting for delayed effects. | A credible simulator or suitable logged experience, operating constraints and domain expertise. |
| A product repeatedly chooses one recommendation or option | A contextual bandit may be sufficient when the main objective is feedback on the immediate choice. | Logged choices and outcomes, controlled exploration and a check for longer-term effects. |
Sequential control is a separate engineering problem from LLM post-training. Meta describes using a simulator for cooling-control RL to explore actions before real-world use. Microsoft’s contextual decision research illustrates the narrower personalization problem. We assess the data, domain requirements and evaluation method before selecting an approach.
Compare simpler approaches first.
| What is failing? | First approach to test |
|---|---|
| The model lacks current company facts | Improve retrieval, source quality and access to the right records. |
| The expected response or behavior can be demonstrated | Compare better instructions and supervised fine-tuning on good examples. |
| People can reliably rank responses, but an objective score is difficult | Consider preference optimization. DPO can train from preference pairs without an online RL loop; RLHF uses human feedback to define training rewards. |
| The decision has explicit rules, constraints and an objective | Compare rules, mathematical optimization or conventional control before adding a learned policy. |
If these approaches meet the acceptance criteria at a lower total cost, they can be the better choice. A training decision should account for data preparation, reward grading, compute, inference and maintenance.
Define success for the whole task.
Consider a support agent that must investigate a failed order, check eligibility, prepare a permitted correction and request approval for exceptions.
- Environment: a resettable test order system with account permissions, tool failures, duplicate requests and approval rules.
- Reward: check whether the permitted correction is recorded against the right order, whether the supporting evidence is present and whether exceptions reach a reviewer.
- Independent constraints: enforce permissions and approval requirements in the tools. A higher reward cannot authorize a refund or expose another customer’s records.
- Evaluation: hold back new orders and failure scenarios. Compare completed tasks, unauthorized actions, review effort, latency and total cost with the unchanged baseline.
Closing a ticket is an inadequate success measure if the underlying problem remains unresolved. We test for shortcuts, altered graders and access to evaluation answers. Anthropic’s reward-tampering research explains why a high training score can fail to reflect the intended behavior.
Start with a scoped training project.
- Establish the baseline. Define the user task, business value, failure cases and acceptance criteria. Compare the current system with simpler alternatives and recommend whether to proceed.
- Build the environment and checks. Prepare representative tasks, resettable state, reward functions and separate evaluation cases. Test grader consistency and attempts to exploit the scoring.
- Run a bounded comparison. Agree the model, data permissions, training method, compute budget and stopping rules before a run. Compare the trained candidate with the baseline under equivalent inference budgets and conditions.
- Make a release decision. Report held-out results, regressions, operating cost and remaining failures. If accepted, plan a controlled rollout with monitoring, review and rollback.
The deliverables are the fit recommendation, baseline evaluation, task environment, reward checks and, when training proceeds, reproducible run records and a candidate comparison. We agree the scope and acceptance criteria before implementation.
Prepare the data and deployment requirements.
Bring representative tasks, current outputs and failures, the existing model or product, how your team checks a result, and the cost of getting it wrong. We also need to establish rights to use the data and model, access to the required tools, and who can approve compute and release.
Historical logs can help, but only show actions the earlier system took. They do not establish what would have happened under every alternative. A simulator also needs validation against real behavior. When feedback is too sparse, inconsistent or easy to manipulate, the next step may be better data and evaluation.
Model choice determines which training methods and deployment options are available. We scope open-weight or supported hosted training around current capabilities, licenses, security requirements and total cost. Production learning and online exploration require explicit controls; a deployed agent does not automatically train on customer conversations.
See AI agent evaluation, agent security checks and cost per accepted result. For the wider system, explore shared AI infrastructure and reliable agent execution.
Decide what your AI needs to learn.
Tell us what the system should accomplish, where it fails today and how you can judge a better result. We will use that to define the assessment and first engineering scope.
Need to build the product first? Explore AI product development. To inspect a deterministic retrieval check, see our agent-context evaluation and runnable pack.
Choose between retrieval and model training.
Compare LLM fine-tuning vs RAG before commissioning training. The guide separates information gaps, repeated behavior errors and tasks where a reliable reward could justify RL.