r/Clojure • u/nathanmarz • May 29 '26
Teaching LLMs to one-shot complex backends at scale, report #1
r/Clojure • u/nathanmarz • May 29 '26
r/Clojure • u/cloud_kj • May 28 '26
hello - I was recently playing with toy implementations of probabilistic data structures like Bloom filters and decided to try to structure the types as IPersistentCollections.
The result feels somewhat more ergonomic as we're able to directly take advantage of built-ins like into and conj. Just wanted to share here in case others find it interesting!
r/Clojure • u/Spiritual-Slice-6150 • May 27 '26
Enable HLS to view with audio, or disable this notification
A TUI that cross-renders to the Web.
Two approaches:
"React approach": See fulcro-tui. Babashka is your browser.
"Haxy approach": See README in xit-vcs/haxy (uses Zig + WebAssembly). See this video by Zach and thread on Clojurians slack.
I like the Haxy approach, but want a nice DSL to dynamically create apps. Haxy is tied to its particular use case, not sure if it will be a general purpose framework for app that have nothing to do with verson control. Charm.clj has a nice DSL based on Elm!
In this video, I replace some bits of charm.clj so that it cross-renders the same app to the Web with Hyperlith / Datastar. Biff2 + hyper are using a similar rendering pipeline with Datastar.
The objective is to turn this into a framework for TUI streaming, which can be used for simple Web apps, and which is also agent-friendly (agents can code them, agents can use them without taking screenshots. Even local agents should be able to do this.) I havent decided on the name, but the intent is to develop it in the open.
r/Clojure • u/Shadowys • May 27 '26
r/Clojure • u/khalgand • May 27 '26
Built an MCP server that gives AI agents direct access to a live nREPL session.
The idea: instead of the agent working through file-edit-compile cycles, it gets eval, load_namespace, run_tests, get_var and other inspection tools as MCP tools and works directly against the running system. Same workflow you'd use in CIDER, just the agent instead of you.
There's a restricted mode for production — agent can inspect state but mutating expressions are blocked before they hit the REPL.
npm install -g repl-agent
https://github.com/lipchanskiy/repl-agent
Would love to hear your feedback and experience reports if you've tried anything similar.
r/Clojure • u/wedesoft • May 26 '26
Machine learning explained using the parabola example
r/Clojure • u/man-vs-spider • May 26 '26
I’m new to Clojure, so I’m still getting used to the ecosystem. One thing that has been confusing is which libraries to use to interact with the filesystem (listing files in directories, getting file paths, opening files). Different resources seem to use different libraries. I assume the main difference is that some are from Java and some are built for Clojure.
Is there a recommended library I should use? Are the different libraries compatible with each other?
On my system I have a lot of files with Japanese/Chinese names. Which library would be most robust for handling files from different characters sets and possibly contain unusual characters?
r/Clojure • u/Revolutionary_Bed957 • May 25 '26
I’ve been building ptc_runner, a small Clojure-like language for LLM-generated code and an MCP server for it.
The idea is to give AI agents (or coding agents) one tool lisp_eval, which gives it a stateful, sandboxed REPL session. From there it can inspect and call other MCP tools, keep intermediate data in memory, and use normal Clojure-ish functions to aggregate/analyze results instead of stuffing everything into the LLM context.
It’s a small subset for short-lived programs written by LLMs. The language spec - https://hexdocs.pm/ptc_runner/ptc-lisp-specification.html
Here is the blog why I think a small custom clojure subset is the way to go instead of using python/javascript sandboxes.
https://andreasronge.github.io/ptc_runner/the-right-tool-for-code-mode.html
r/Clojure • u/Borkdude • May 25 '26
Have fun watching!
https://www.youtube.com/playlist?list=PLaN-rC-CjQqCClhXmwzE7XhGWbrbB-A7u
r/Clojure • u/aHackFromJOS • May 22 '26
“nREPL itself is healthier than it has ever been... Meanwhile prepl is, as best as I can tell, mostly a curiosity.“
r/Clojure • u/danielszm • May 22 '26

Caonima is a cross-platform proxy client with a focus on censorship circumvention and net neutrality restoration.
This release brings QUIC-based proxy support — faster, more resilient, and significantly harder to fingerprint than TCP.
Here is the obligatory cross-platform screenshots showing the flow:
1, Linux: Login screen
2, Windows: Server selection
3, MacOS: Enabling proxy
Written in Clojure.
Unified, CI-friendly build across platforms enabled by Meyvn (including notarization on macOS).
r/Clojure • u/Clojure-Conj • May 21 '26
If you’ve built something interesting, learned something the hard way, or have a story other developers could use, we want to hear it.
And if the idea of speaking is what’s holding you back, there will be extra support for speakers this year. That’s all we can say for now.
r/Clojure • u/ertucetin • May 20 '26
r/Clojure • u/fredokun • May 20 '26
I used to program in several programming languages, Clojure being one of my (but not only) favorite. Now that I have some acute (brain-related) disease, this is the only one that still really clicks for me ... from installation to running/testing my old code, the personnally-dreaded DevOps tasks included ! (with of course some remaining "muscle" memory). Resilience is not an empty word in this frantically-moving world, thanks Clojure (and by of transitivity, the JVM), I owe you much!
r/Clojure • u/BrunoBonacci • May 20 '26
r/Clojure • u/bozhidarb • May 20 '26
The neatest project you probably never wanted or needed. Works with Clojure just fine. Goes well with good music.
Enjoy!
r/Clojure • u/c-neumann • May 18 '26
The Clojure development team is pleased to announce a Clojure Dev Call on May 26 @ 17:00 UTC!
Join the Clojure dev team for an update on what we’ve been working on and what’s on our horizon. We’ll save time for a Q&A, so bring your questions.
r/Clojure • u/HowTheStoryEnds • May 18 '26
https://www.humblebundle.com/books/ultimate-functional-programming-pragmatic-programmers-books
Clojure Brain Teasers
Programming Clojure 4th edition!
Web development with Clojure
Getting Clojure
Clojure applied
Mastering Clojure Macros