webofbits
I’ve released the first beta of Draught, a coding-agent CLI and runtime built with Elixir.
Draught can run agentic coding tasks using Ollama or an OpenAI-compatible provider. It supports interactive sessions and headless commands, with the initial focus on making local models practical for day-to-day development.
The current beta includes:
- Interactive and headless task execution
- Ollama model discovery and selection
- OpenAI-compatible provider support
- Persistent sessions with resume, rename, archive, and restore
- Built-in file, search, and command tools
- Per-operation approval prompts
- Structured operation previews and file diffs
- Workspace confinement
- Optional web search and page fetching, disabled by default
- AGENTS.md project instructions
- Streaming terminal output and JSONL output
- Native macOS and Linux binaries for ARM64 and x86-64 using Burrito
The runtime uses OTP supervision to separate session state from provider requests and tool execution. Model calls and tools run through bounded tasks with explicit timeout and cancellation behavior, so a failed operation does not need to terminate the complete session.
Documentation and installation instructions are included in the repository. The beta binaries are available from the v0.1.0-beta.1 release.
Trending in Announcing
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hi, I would like to tell about my initiative to further maintain and develop Waffle project which is the fork of Arc library.
The progre...
New
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hi everyone :waving_hand:
I’ve been working on PhiaUI, an open-source UI component library for Phoenix LiveView, and I wanted to share i...
New
Aloha gang,
There’s a new class of AI model out from TypeSafe. Jev is their flagship model. You can learn about it here:
...
New
Other Trending Topics
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly)
AI dream has many faces, but general...
New
If you haven’t tried Hologram yet, what’s stopped you?
Here’s why I’m asking. Building a framework turns out to be two jobs, the framewo...
New
With advancements in AI gathering pace and set to increasingly accelerate, perhaps it’s worth having an annual thread on the topic - feel...
New
Popcorn, the library that runs Elixir code in the browser, is now stable :popcorn:
This is possible because it now builds on a very stab...
New
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
I’ve been tinkering with Lynx (by José) via hold_ledger. I used AI to write the code, a separate specification, the tests, and the Lean p...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #code-sync
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #elixirconf-us
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #security
- #elixirconf-eu
- #processes
- #api
- #forms
- #hex












Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
webofbits
Added a simple reusable SKILL system: draught/docs/skills.md at main · ccarvalho-eng/draught · GitHub
shahryarjb
I’ve been going through some of your content and source code, and I have a basic question.
For example, the source code and the harness you’ve provided are intended to run AI models on a server, right? If so, why not use OpenCode’s own harness directly on the server?
I’m trying to understand whether building these environments again with Elixir has a specific reason beyond learning and experimentation.
Also, I always find myself trying to compare these things with Jido in my head, but I can’t quite figure out how they map to each other.
Sorry if this is a basic question, and thanks!
mudasobwa
There is a relatively long Motivation chapter directly in README.
I can only speak for myself, as a builder of another harness, I find harnesses provided by model providers to be a second-class citizens. Building a harness that would decrease token usage and drastically increase the quality of the outcome does contradict goals of the model providers.
E. g. my harness uses AST for RAG, 100+ MCP tools and whatnot to minimize the necessity of back-and-forth frictions calling the remote. This one aims to do the same, AFAICT.
shahryarjb
Thank you, have you created automated loop with your harness? as i remember you are working with DeepSeek? something i want to see your experience
mudasobwa
I am not interested in automated loops in the first place. I am positive that without human in the loop an LLM tech cannot produce anything reliable.
I am not “working with DeepSeek” either, I work with a harness, I don’t really give a shot what model is behind (while it’s not OpenAI/Anthropic/Google.) The worse the model, the better harness is.
webofbits
I meant this to run models offline/local so I can share my obsidian notes, and other personal stuff.
I tried OpenCode. Don’t love their UI, looks like a desktop app inside your terminal. I wanted something simpler and more terminal-like.
Probably the reason that survives is to design this following OTP principles since people can use OpenCode, QwenCode, etc
Also, people have their own Neovim configs/setup (why not my own custom AI harness?)… it’s a bit more complex to build a harness but you can always fork my repo and build your own custom version.
About Jido: there’s substantial overlap. Jido would provide established abstractions for supervised agents, pure transitions, effects, events, persistence, plugins, and orchestration. Draught has built narrower equivalents specifically for a coding harness.
This project can certainly be just an experiment, for now, depending on engagement and my spare time and energy to keep evolving it.
Jido already has a harness CLI GitHub - agentjido/jido_code: Terminal-native AI coding assistant built on the Jido agent framework · GitHub , if you’re interested.
No worries. Thanks for checking it out!
webofbits
I think, loops are dangerous
Even with Opus/Fable/Astra etc it doesn’t do what we ask but I am planning something simple enough like cron jobs for recurring no-brainer tasks.
webofbits
Also, privacy matters now more than ever. “I have nothing to hide” is not a good reason to surrender all your data to private companies. You are doing nothing wrong only for as long as those in power agree on what “wrong” means.
There have been legitimate cases where people were arrested for credible threats they made to AI systems, and rightly so. Even users outside the US have been reported to local authorities after the FBI was alerted. But the deeper concern remains: what happens if the rules change and something considered acceptable today becomes grounds for punishment tomorrow?
Sounds like a conspiracy theory but it’s sadly true
webofbits
Forgot to also mention GitHub - agentjido/jido_harness: Normalized Elixir protocol for CLI AI coding agents · GitHub
webofbits
Added “some” builtin skills draught/priv/builtin_skills/catalog at main · ccarvalho-eng/draught · GitHub so this is not so agnostic anymore. Probably an opinionated Elixir harness now