WardrikCore

Copy Markdown

Agents, governed.

A durable agent runtime for Elixir. Agents pick up after a crash, wait for a person when they should, and run every call through your code.

Install

def deps do
  [
    {:wardrik_core, "~> 0.1.0-rc.3"}
  ]
end

Start an agent

children = [
  {WardrikCore.Backends.MemoryStore, name: :agents},
  {WardrikCore, backend: {WardrikCore.Backends.MemoryStore, name: :agents}}
]

Supervisor.start_link(children, strategy: :rest_for_one)

{:ok, agent} = WardrikCore.start_agent(agent_id: "triage", model: "anthropic:claude-haiku-4-5")
:ok = WardrikCore.ask(agent, "What's on fire?")

MemoryStore loses agents when the node stops. To keep them, see Where agents are kept.

Guides

Policy, MCP servers, secret storage, OAuth, event logs and HTTP live in other wardrik_* packages.

License

Apache-2.0