Optional Livebook helpers for inspecting and demonstrating Jidoka agents.
Kino is not a runtime dependency of Jidoka. These helpers compile and run
without Kino installed; rendering becomes a no-op outside Livebook. The
helpers are intentionally thin wrappers around Jidoka data contracts such as
Jidoka.inspect/1, Jidoka.preflight/3, Jidoka.Harness.Replay, and trace
timelines.
Summary
Functions
Renders a Mermaid diagram for an agent definition or inspection map.
Renders a Mermaid call graph from a Jidoka timeline.
Runs a notebook chat cell and renders a concise result summary.
Renders a runtime context map with public and internal keys separated.
Renders Jidoka.inspect/1 for an agent definition, plan, session, or result.
Formats common Jidoka turn/session results for notebook display.
Mirrors a Livebook provider secret into the normal provider environment.
Runs Jidoka.preflight/3 and renders prompt/timeline tables.
Configures optional notebook conveniences.
Configures a notebook and renders a compact setup status table.
Starts a process-hosted Jidoka agent unless an agent with id is already running.
Renders a small Markdown table in Livebook.
Renders a compact Jidoka event timeline from a result, snapshot, session, replay, or raw events.
Runs fun, renders a Jidoka timeline when the result contains one, and returns the original result.
Renders the raw compact timeline table.
Functions
Renders a Mermaid diagram for an agent definition or inspection map.
Renders a Mermaid call graph from a Jidoka timeline.
Runs a notebook chat cell and renders a concise result summary.
By default this does not require provider credentials; deterministic notebooks
can pass injected LLM functions. Pass require_provider?: true when the cell
should fail fast if provider credentials are missing.
Renders a runtime context map with public and internal keys separated.
Renders Jidoka.inspect/1 for an agent definition, plan, session, or result.
Formats common Jidoka turn/session results for notebook display.
Mirrors a Livebook provider secret into the normal provider environment.
@spec preflight(Jidoka.plan_input() | module(), Jidoka.request_input(), keyword()) :: {:ok, Jidoka.Inspection.Preflight.t()} | {:error, String.t()}
Runs Jidoka.preflight/3 and renders prompt/timeline tables.
@spec setup(keyword()) :: :ok
Configures optional notebook conveniences.
This is opt-in and intended for Livebook/examples. It can mirror Livebook
secrets such as LB_OPENAI_API_KEY into the provider environment expected by
ReqLLM.
Configures a notebook and renders a compact setup status table.
@spec start_or_reuse(String.t(), (-> DynamicSupervisor.on_start_child()), keyword()) :: DynamicSupervisor.on_start_child()
Starts a process-hosted Jidoka agent unless an agent with id is already running.
This keeps Livebook cells repeatable when a notebook is re-evaluated.
Renders a small Markdown table in Livebook.
Renders a compact Jidoka event timeline from a result, snapshot, session, replay, or raw events.
Runs fun, renders a Jidoka timeline when the result contains one, and returns the original result.
Renders the raw compact timeline table.