ai

gvind 2024-12-09T06:00:45.258949Z

Any interesting teams/companies/open source projects conducting AI research or building AI related projects w/ Clojure? Having trouble hunting down active ones!

Rupert (Sevva/All Street) 2024-12-09T13:48:59.285239Z

AI is quite broad - is there a certain branch you are interested in? The company I work at (https://sevva.ai/) is building AI Agents with Clojure. A lot of AI training (/fine tuning) is often in python. However sometime it's just command line arguments + YAML config files + data JSON files - so there's no need to read/write/understand the python code. All the ETL for training can be done in any programming language. Inference, for generative AI (e.g. LLM, Image Generation, TTS, STT etc) is mostly works over standard HTTP REST services - so you can work with it from any languages (including Clojure). There are a couple of wrappers to communicate with OpenAI's APIs in Clojure - and these APIs have become a de facto standard in the industry so they work with lots of providers and even locally hosted AI. You can sign up for free account with OpenAI and usi the API for only a few $ with no recurring payments. I think a lot of companies will start integrating AI into their products over time (e.g. AI translation/summarisation/dication etc) - so I don't think companies using AI with Clojure will be much of an outlier soon.

🎯 3
john 2024-12-09T15:45:22.787299Z

Somebody was talking about making a clojure documentation MCP server

john 2024-12-09T15:45:38.022069Z

I feel like the repl is already the perfect MCP though

👍 1
🙌 1
Rupert (Sevva/All Street) 2024-12-09T17:05:43.218509Z

> I feel like the repl is already the perfect MCP though (edited) Yeah - I do wonder if AGI = LLM + Clojure REPL.

gvind 2024-12-09T17:35:19.183549Z

Thanks for the write up Rupert! Agreed that most companies are going to start integrating AI into their products. I just haven't found a good list of large companies, startups, or interesting open source AI projects using Clojure as their core language (outside of LLM integration) that are building on the cutting edge. Walmart labs / Grammarly are maybe the only ones I can think of?

Rupert (Sevva/All Street) 2024-12-09T23:05:10.924179Z

> just haven't found a good list of large companies, startups I wouldn't worry about trying to construct a list. A lot of companies use Clojure without advertising it (especially if they only hire a few developers each year or use recruiters/head hunters). Also many companies use a blend of languages with Clojure as just one of them. It's also a shifting list - tech leaders come and go in companies (taking Clojure with them) and Clojure falls in and out of favour with teams depending on the problems they are facing. There is no disadvantage to using building AI products or libraries with Clojure compared to any other programming languages. Not even Python has an advantage since most AI is now accessed over REST API. There certainly many amazing Open Source Clojure AI libraries that I won't even try and list them here. But note that they look more like libraries (e.g. LibPythonClj, llama.clj) rather bulky frameworks you would find in other programming languages. If you have a usecase around Clojure and AI - then I'm sure this Slack community can help provide assistance.

john 2024-12-10T00:03:50.992679Z

If anyone is looking for a cool ai project to port to clojure, aider.chat seems like a pretty worthy endeavor

john 2024-12-10T00:05:15.444439Z

It's basically a structured loop that knows how to edit files and make commits with git

john 2024-12-10T00:07:47.109979Z

Like aider but with access to a repl between file changes