@reflex-ai/core
v0.1.0
Published
Reflex core: a local, ultra-fast System-1 decision runtime for AI agents.
Downloads
28
Maintainers
Readme
@reflex-ai/core
The Reflex runtime: a local, ultra-fast System-1 decision layer for AI agents. Zero runtime dependencies.
import { action, createReflex } from "@reflex-ai/core";
const reflex = createReflex({ workload: "my-agent", mode: "shadow" });
const d = await reflex.decide({ point: "next_action", state, actions, taskId });
if (d.type === "auto") run(d.action, d.params);
else reflex.observeChoice(d.id, await askFrontier(d.hints));
reflex.taskOutcome({ taskId, success });See the repository README and PRD.
