JIXUDOCS

Core model

The small set of concepts that define Jixu.

Jixu uses one term for one responsibility. These boundaries are the foundation of every API and every durable transition.

ConceptResponsibility
HarnessOwns exactly one immutable Agent and binds Stores and Drivers to the Kernel. It is not durable authority.
AgentImmutable instructions, model identity, capabilities, Tools, Skills, and Context Policy.
ThreadOne durable, multi-turn history for that Agent.
EventAn immutable durable fact appended to a Thread.
StateThe deterministic projection of ordered Events.
ReducerPure domain logic that derives State and requests Effects.
EffectA durable request for external work.
DriverThe adapter that performs an Effect and returns an outcome.
ToolA capability that acts outside the Kernel.
SignalA transient observation for presentation; never authority.
CheckpointA disposable recovery cache; never authority.
ReplayRebuild State from Events without performing Effects.
ForkCreate a new child Thread from an explicit parent Event.

One Agent per Harness

An Agent is frozen before Thread creation. Its model capability profile and Context Policy become part of the durable compatibility boundary.

If an application needs a different Agent, it creates a different Harness. A Thread never changes Agent identity halfway through its history.

One authority per Thread

The Event log is the only canonical history. Provider state, UI state, traces, in-memory objects, Signals, and Checkpoints may help Jixu operate or explain itself, but none of them can decide the durable truth.

That rule prevents two components from independently deciding whether a request ran, whether a Tool completed, or whether a Thread is safe to continue.

State is a projection

State can be deleted and rebuilt from Events. It contains the current lifecycle, messages, active Plan, pending Effects, mode, metrics, and recovery boundary, but it is not edited directly.

const state = await thread.state();
const rebuilt = await thread.replay();

Both values must describe the same durable Thread. Replay reaches that result without live external work.