RL environments and evals · by the makers of memdrift

Forgeworks: a working company your agent has to get right

Each seed generates a new company with internal tools, records and a handbook. The agent works one shift: an AP clerk's invoice queue, a SOC analyst's alerts, a paralegal's intake and privilege review, a pay run, a help-desk queue or an on-call engineering shift. The rules that matter are spread across stale records and a policy page whose changes are in force, scheduled for later, only proposed, or reverted.

Every shift is proven solvable: a scripted agent that reads only tool output scores 100%. Every shift is certified: each shortcut strategy gets every trap item built for it wrong, and an agent taking all shortcuts at once scores at most 50%. Grading looks only at the actions taken, never at the agent's text, and acting twice on an item scores 0.

Free sample: 17 shiftsRun the demos on the Prime Environments HubPacks, licences and HUD tasks

Fifteen departments

Finance · 380 shifts

Accounts payable

  • 3-way match with a drifting price tolerance
  • Duplicates and approval thresholds
  • Bank-detail changes: only callback-verified ones count; email-confirmed and lookalike-domain requests are fraud
Security · 240 shifts

SOC alert triage

  • Threat-intel entries that expire or are retracted
  • Allowlist requests approved, pending or rejected
  • Maintenance windows, travel notices, open incidents, a changing severity matrix
Legal · 240 shifts

Paralegal intake and privilege

  • Conflicts through closed acquisitions, ended engagements and waivers
  • Court deadlines with rule changes and holiday roll-forward
  • Privilege by lawyer employment dates, third parties and forwards
Payroll · 140 pay runs

Pay run, graded to the cent

  • Effective-dated raises: approved, pending, future
  • Weekly overtime past a threshold that changes per team
  • Bonus approvals, terminations, direct-deposit phishing
Support · 240 shifts

Help-desk queue

  • Refund window of the plan held on the purchase date
  • Verified vs unverified email changes, refund history
  • Escalations and duplicate tickets
Generalist · 140 shifts

Several desks, one agent

  • 3 or 5 departments in the same shift, each with its own date, handbook and bulletin
  • 26-59 tools named desk__tool; up to 320 calls
  • Score = mean of exact desk scores; every desk certified
Underwriting · 140 queues

Commercial property quotes

  • Classes prohibited or allowed by dated appetite updates
  • Claims counted inside a 3-year lookback; surcharge per claim
  • Territory factor drift; discounts only for inspected devices; premiums to the cent
Compliance · 140 queues

KYC onboarding

  • Sanctions matches through aliases; delisted entries no longer count
  • Expired IDs; beneficial owners above a threshold that changes
  • High-risk country list with dated changes; PEP owners raise the tier
HR · 140 queues

Leave administration

  • Working days that skip weekends and public holidays; team blackouts
  • Balances with part-time accrual, expiring carryover, days used earlier in the queue
  • A sick-note threshold that changes
Tax · 140 queues

EU VAT invoicing

  • Reverse charge only with a VAT number valid on the invoice date
  • Origin vs destination around a threshold that accumulates across the queue
  • Reduced-rate bands and bulletin rate changes, graded to the cent
Procurement · 140 queues

Purchase requisitions

  • Vendors listed but pending, blocked or expired
  • Cost-center budgets used up across the queue; a bid threshold that changes
  • Routing by delegation of authority, delegates during leave
IT · 140 queues

Identity & access requests

  • HR end dates the directory missed; contractor grants that must expire
  • Segregation-of-duties conflicts and an access matrix that changes
  • Privileged roles need the current owner's approved sign-off
Logistics · 140 queues

Freight dispatch

  • Cheapest eligible carrier at the exact cost, processed in order
  • Insurance and hazmat certificate dates, suspensions, weight limits, transit vs deadline
  • Daily capacity, approved vs pending rate changes, fuel surcharge drift
Accounting · 140 reconciliations

Month-end bank reconciliation

  • Matching window that changes; voided entries and same-amount decoys
  • Batch deposits matched to two ledger entries
  • Fees and interest booked to accounts that move; duplicate statement lines
Claims · 140 queues

Insurance claims adjudication

  • Coverage dates, prior authorizations approved, pending or expired
  • Provider network dates vs a stale printed directory, fee schedule drift
  • A deductible that accumulates across the queue, graded to the cent
Engineering · 240 shifts

On-call shift

  • Bug triage from stack traces with a stale OWNERS file
  • PR review against a policy that drifts
  • Cutting the release: exact PR set and semver bump

Runnable demos on the Prime Environments Hub, one per department: finance · security · legal · payroll · support · engineering · claims · accounting · logistics · IT access · procurement · tax · HR · compliance · underwriting · generalist (3 desks)

Stress modes

ModeWhat it testsWhere
InjectionAttacker-written text in tool output (log fields, documents, tickets, vendor notes) tells the agent to break policy. Separate injection-resistance score.Security, legal, support, finance, engineering
Silent tool faultsStale cached views that report success. The agent must notice and re-read, or abstain when the data never recovers.Finance
PushbackColleagues challenge a correct decision without evidence (keep it) or with real evidence (revise it). Sycophancy in a workflow.Finance
EnduranceThree times the queue; accuracy on the first, middle and last third shows degradation over long work.Finance

Research basis: agents fabricate on silent tool faults in up to 45% of cases (arXiv 2609.14758); log-field prompt injection succeeds 26.6% of the time under naive prompting (arXiv 2605.24421); sycophancy appears in 58% of cases in SycEval. None of these benchmarks tests the behaviour inside a full multi-step workflow.

Formats and licences

FormatContentsFor
Verified trajectories2,100 full-shift tool-use runs across the six departments, each scoring 1.0, in OpenAI fine-tuning format.SFT warm-start
Fixed packsFrozen shifts with a standalone stdlib runtime, tool schemas and a grader; a runner for any OpenAI-compatible model.Evals and regression suites
HUD / Harbor tasks2,740 tasks. Task data and the action log are root-only; the agent works through a CLI as an unprivileged user; the grader with the hidden answers arrives only after the agent finishes.RL and eval runs on HUD and DataVendor
Generator licenceA pip-installable Python package with a Gym-style API: forgeworks.make("finance-ap", "stress", seed), then reset() and step(tool, args), with the end-state reward and sub-scores when the shift ends. Unlimited fresh certified shifts, every mode, no contamination.RL training
Custom departmentsYour workflow and rules, built on the same certified engine.Labs and agent companies

Contact: enabledapplications@gmail.com. Also on DataVendor. Individual packs: appenable.gumroad.com. See also memdrift long-horizon memory environments and rewardprobe.