A Jev-powered Factorio agent. Jev (TypeSafe AI's System One model) makes the fast macro decisions - goal, next action, stuck detection - as typed Choice/Score/Noul questions; deterministic code owns game rules, option filtering, and actuation. To our knowledge this is the first Jev-driven game agent.
Docs: ARCHITECTURE | BUILD PLAN
python -m venv .venv && source .venv/bin/activate
pip install -e .
PYTHONPATH=src python -m jev_factorio --backend mock --steps 8 --tick-seconds 0With a real key (TYPESAFE_API_KEY in the environment) the same loop calls
jev-latest at https://api.typesafe.ai/v1/systemone.
src/jev_factorio/state.py- GameSnapshot + compact Jev-facing statesrc/jev_factorio/questions.py- typed question builders + candidate-action filtersrc/jev_factorio/jev_client.py- SDK/HTTP client + offline MockJevClientsrc/jev_factorio/loop.py- observe -> ask -> gate on confidence -> actsrc/jev_factorio/backends/- mock (working), play_api (skeleton), fle (skeleton)