Packages

Elixir-native LangChain, LangGraph, and DeepAgents for traceable LLM apps: OTP workflows, tools, memory, human-in-the-loop, streaming, custom clients/adapters, minimal deps, and WeaveScope tracing.

Current section

Files

Jump to
beam_weaver lib beam_weaver graph managed_value.ex
Raw

lib/beam_weaver/graph/managed_value.ex

defmodule BeamWeaver.Graph.ManagedValue do
@moduledoc """
Behaviour for runtime-projected graph state values.
Managed values are visible to nodes but are not channels: they are read-only,
not checkpointed, and not accepted as user writes.
"""
alias BeamWeaver.Graph.Runtime
@type t :: struct()
@callback get(t(), Runtime.t()) :: term()
end