Packages
agentsea_core
0.1.0
AgentSea core: the agent GenServer, the agentic run loop, and the Provider/Tool/Memory behaviours.
Current section
Files
Jump to
Current section
Files
lib/agent_sea/core/application.ex
defmodule AgentSea.Core.Application do
@moduledoc false
use Application
@impl true
def start(_type, _args) do
children = [
# Supervises the short-lived Tasks that run an agent's tool calls, so a
# crashing tool is isolated from the agent process.
{Task.Supervisor, name: AgentSea.ToolTaskSup}
]
Supervisor.start_link(children, strategy: :one_for_one, name: AgentSea.Core.Supervisor)
end
end