Show HN: Linden – A simple alternative to complex AI agent frameworks

1 matstech 1 9/10/2025, 12:25:43 PM github.com ↗

Comments (1)

matstech · 11h ago
Hi, I'm the creator of Linden.

The idea for this library came while I was working on my graduate thesis. I found existing AI agent frameworks to be too complex and heavy for my needs. I wanted more control over the prompts and tool calls, and less boilerplate code just to get started.

So, I took a DIY approach and built Linden: a lightweight library that provides the essential tools to connect LLMs to your code, without forcing you into a rigid system.

A few key ideas behind it:

- Minimal Codebase: It has ~500 core lines of code. The goal is for you to be able to read and understand the entire library easily.

- No Vendor Lock-in: It supports OpenAI, Anthropic, Ollama, and Groq out of the box, making it easy to switch between providers.

- Full Control: The prompts are clean and work exactly as you'd expect. Tool invocation is predictable and reliable, with no hidden magic.

It's still early days and not production-ready, but I'd love to get your honest feedback and thoughts.

The repo is here: https://github.com/matstech/linden