Packages

Lux is a powerful framework for building and orchestrating LLM-powered agent workflows. It provides a robust set of tools for creating, managing, and coordinating AI agents in complex business processes.

Current section

Files

Jump to
lux lib lux.ex
Raw

lib/lux.ex

defmodule Lux do
@moduledoc """
Documentation for `Lux`.
"""
@doc """
Hello world.
## Examples
iex> Lux.hello()
:world
"""
def hello do
:world
end
@doc """
Check if a module is a beam.
"""
def beam?(module) when is_atom(module) do
function_exported?(module, :__steps__, 0) and function_exported?(module, :run, 2)
end
def beam?(_), do: false
@doc """
Check if a module is a prism.
"""
def prism?(module) when is_atom(module) do
function_exported?(module, :handler, 2)
end
def prism?(_), do: false
end