The GraphJin Agent Environment Train and measure AI agents against a governed graph, with rewards that come from the database rather than from plausibility. environment environment environment environment/_index.md

Environment

The GraphJin Agent Environment

Train and measure AI agents against a governed graph, with rewards that come from the database rather than from plausibility.

Most ways of scoring an agent ask a model whether an answer looks right. This one asks the database. Every task in a GraphJin environment carries a hidden oracle — a read-only query resolved against the same world the agent works in — so a fluent, confident, wrong answer earns nothing.

The environment ships as a container that boots ready with no files mounted, and as a CLI you can point at your own schema. Same engine, same reward contract, two starting points.

Train

You want an environment to train against.

Pull the image, read /health, and drive graded episodes — hosted, one completion at a time, or with your own agent over MCP. Held-out splits, trajectory export, and a reward that a policy cannot talk its way past.

Run the environment
Measure

You want to know how an agent does on your data.

Clone the shape of a running GraphJin server into a local synthetic world — catalog structure and published value sets, never your rows — generate a verified suite from it, and grade against that.

Use your own graph
Docs