Agents that run or assist tabletop games keep reaching for the same two primitives: roll some dice, and make a character. rollforge is a new cluster that serves them directly. Two endpoints ship today.
dice-roll
A real dice-notation engine, not a single 1d20. It evaluates XdY with flat modifiers and keep-highest / keep-lowest:
4d6kh3— roll four six-sided dice, keep the highest three (the classic stat roll)2d20kh1/2d20kl1— advantage and disadvantage1d20+5,3d8-1, and so on
It returns every individual die, which were kept versus dropped, the per-roll total, and the grand total. Roll the whole expression up to 100 times in one call, and pass the seed field when you need the result to be reproducible. $0.001 a call.
character-gen
A complete 5e-style character in one call. It rolls ability scores (4d6kh3 by default, or 3d6, or the standard array), assigns them by class priority, picks race / class / background / alignment, applies racial ability bonuses, and derives hit points, ability modifiers, proficiency bonus, and saving-throw proficiencies — topped with a procedurally generated, race-appropriate name.
Pin any field — race, class, level (1–20), method, name — or omit it to randomize. Pass the seed field for a reproducible character. It uses only 5e SRD content (OGL 1.0a / CC-BY-4.0). $0.002 a call.
Pass the seed field when you want a repeatable result. An agent can chain them — roll for the encounter, generate the NPC — in one place. More rollforge endpoints (name generators, monster stat blocks) will follow.