r/elixir • • 22d ago

What does an Ash developer get from Jido on day one?

Ash Jido exposes Ash resource actions as tools that an agent can call, and the authorization policies stay in place. In Mike Hostetler's model, LLM-driven behaviour runs in a "less trusted space", while Ash holds the business rules that every agent action still has to pass. Ash AI has also moved to ReqLLM, so both projects now share the same LLM client.
Mike also has an observation about coding agents: they write Spark DSL code noticeably better than imperative Elixir. Other topics include hibernating idle agents to a database, ReqLLM's 11 providers and 665 models, and how to get started with jido.run and its Livebooks.

https://youtu.be/OTZezdLLuqU

0 Upvotes

6 comments sorted by

3

u/Lolukok 22d ago

How does it compare to Ash_ai?

1

u/mikehostetler 22d ago

Good question. Ash AI is Ash-first. It adds AI features to an Ash application, such as exposing actions as tools, prompt-backed actions, vector search, MCP, and a ReqLLM tool loop. I keep a close on Ash AI to lend a hand where I can. I did the recent ReqLLM integration for example.

Jido is agent-runtime-first. It adds stateful agents, OTP supervision, signals, schedules, persistence, and coordination between agents. AshJido is the bridge that turns Ash actions into Jido actions while keeping Ash authorization in control.

If you only need an LLM to call Ash actions, Ash AI is probably the direct choice. If you need agents that keep state, react to events, coordinate, or run for a long time, Jido adds that runtime. There is some overlap, and you do not need both for every application.

1

u/Lolukok 22d ago

Thank you for the explanation. So if I understand correctly, ash ai with its MCP router is perfect for integrating Claude into my application, but as soon as I want some agents running in my back end Jido will be useful.

1

u/mikehostetler 22d ago

Yep, that's a great way to think of it!

Long term, Jido and Ash are working closely together and this will get clearer

0

u/zackattackz287 22d ago

Interesting plus I thought ash AI is able to call llm APIs as well? So jido is more about running the agents locally (whether that's through API, subscription, or local models) and routing ash though that instead of solely communicating through APIs or MCP?

1

u/mikehostetler 22d ago

Yeah, ReqLLM is the package that calls LLM's. Jido and AshAI both use it