nemocity / mind /__init__.py
AndresCarreon's picture
NEMOCITY v0 β€” mock backend, gradio 6.16.0 (pre-SSR)
d72231c 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",
]