Packages

An OTP-native coding agent SDK. Build, orchestrate, and observe AI coding agents with Elixir supervision trees, streaming events, and a JSON-RPC 2.0 interface.

Current section

Files

Jump to
opal config runtime.exs
Raw

config/runtime.exs

import Config
if data_dir = System.get_env("OPAL_DATA_DIR") do
config :opal, data_dir: data_dir
end
if shell = System.get_env("OPAL_SHELL") do
config :opal, shell: String.to_existing_atom(shell)
end
if copilot_domain = System.get_env("OPAL_COPILOT_DOMAIN") do
config :opal, copilot: [domain: copilot_domain]
end