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
Current section
Files
lib/beam_weaver/tools/shell/executor.ex
defmodule BeamWeaver.Tools.Shell.Executor do
@moduledoc """
Behaviour for shell execution backends.
"""
alias BeamWeaver.Core.Error
alias BeamWeaver.ShellPolicy
@callback run(String.t(), ShellPolicy.t(), keyword()) ::
{:ok, map()} | {:error, Error.t()}
end