Agentix — a LiveView-native library for building agentic systems in Elixir.
Agentix provides an agent runtime (one :gen_statem process per
conversation), an explicit tool/HITL model, a per-turn hook pipeline,
reducer-based compaction, and a headless LiveView rendering layer. It builds
on ReqLLM for provider abstraction and the
canonical typed model (Context, Message, ContentPart, Tool,
StreamChunk, Response, Usage).
Summary
Functions
Resolves a suspended tool call. Public and not socket-bound — a LiveView,
webhook, job, or timeout all call it the same way. scope defaults to the system
scope (the documented scope for timeout-driven resolutions).
Functions
@spec resolve(String.t(), String.t(), term(), Agentix.Scope.t()) :: :ok | {:error, term()}
Resolves a suspended tool call. Public and not socket-bound — a LiveView,
webhook, job, or timeout all call it the same way. scope defaults to the system
scope (the documented scope for timeout-driven resolutions).
Returns :ok if the id was pending, or {:error, :stale} if it is unknown or
already resolved.