godseed / mind /__init__.py
AndresCarreon's picture
Town Mode: close town view by default, build_district + place_road, bank/market/house, grow-one-town steering, behold-the-world reveal, tamed needle
b0d758d verified
Raw
History Blame Contribute Delete
891 Bytes
"""GODSEED mind β€” Agent C.
The Mind interprets a wish, narrates a short Reading aloud, then runs a
grammar-constrained plan-act-observe loop over the engine's 11-tool DSL.
It never computes geometry and never owns world state (the "her" pattern):
the deterministic engine clamps, executes, and records every act.
Public surface:
Planner β€” async grant(wish, world_summary, act, emit) -> WishTrace dict
make_backend β€” GODSEED_BACKEND env -> MockBackend | LlamaCppBackend | ZeroGPUBackend
judge β€” default-deny moderation judgment (injected into engine moderation)
"""
from .backends import LlamaCppBackend, MockBackend, ZeroGPUBackend, make_backend
from .moderation_judge import judge
from .planner import Planner
__all__ = [
"Planner",
"make_backend",
"MockBackend",
"LlamaCppBackend",
"ZeroGPUBackend",
"judge",
]