Posts

Es werden Posts vom August, 2026 angezeigt.

Pinned Post

Taken out again

Bild
  I took the framework out again The first post in this series started with two agents, a classic one and an AI one, "both implemented as Jido agents". Every cover since has carried a small purple label saying "Jido". The last post built a loop, a process per conversation, an approval before generated code runs for the first time. Now Jido is no longer in the mix.exs . Three merge requests, eleven packages fewer in the lockfile at the end, and the code in lib is fifty lines shorter than before, even though it now does things itself that the framework used to do. This is not a verdict on Jido. It is a report on what a framework does in a demo that is meant to show what an agent is, and why I did not want it in this demo anymore. What I actually used Before taking anything out, I counted. Jido brings a lot: plugins, sensors, scheduled jobs, pods, a memory of its own with threads, observability, compensation on failure, persistence to hibernate and thaw agents. ...

Who picks the tool

Bild
The previous post ended with an agent that writes a missing tool into a running node. Generate, sanitize, persist, compile, load, execute, about 25 milliseconds after the model answers. I was happy with that for roughly a week. Then I looked at the demo page again and counted the text fields. Tool name. What it should do. Parameters as JSON. I had filled in all three. The gap-finding was real. The deciding was mine. MetaPlannerAgent.run("Publish the article", [ %{tool: "classic_plan", params: %{goal: "Write draft, review, publish"}}, %{tool: "slugify_text", description: "Turns a title into a URL slug", params: %{text: "Hello World"}} ]) Everything interesting in that call sits in the second argument, and I typed it. The agent resolved slugify_text , noticed it wasn't in the catalog and had it written. It never asked whether the task needed a slug at all. So this post is about the agent in front of that, the on...

The tool that wasn't there, so the agent wrote it

Bild
Last time I had two agents doing the same job, one on fixed rules, one asking a language model. The AI agent was free to decide the order of its steps, but it could only pick from tools I had written beforehand. Everything it was able to do, I had guessed in advance. So what happens when it needs something that isn't in the catalog? Normally a polite refusal. I wanted to know what the other answer costs, the one where the agent writes the tool itself, in the running system, without a restart. I built it over a weekend. Getting code out of the model worked after two hours. The rest of the Sunday went into everything that comes after that. A catalog is a list, and lists end Tool calling works the same way everywhere. You give the model a list of functions with their parameters, it picks one, you run it, you hand the result back. That's fine, and it has a ceiling that's easy to overlook. The agent can only ever be as capable as my list. For a support bot with eleven known ...

Beliebte Posts aus diesem Blog

Splitting an ML model and a web app across two BEAM nodes — the technical blueprint

Jido in Practice: Agents in Elixir as Composable Actions

A Foundation Model in the BEAM: On-Chain Anomalies with Google TimesFM in Elixir