🚀 Ultra-Minimal LLM Framework

Nen Framework

The world's most minimal LLM framework. Just 50 lines of core code with cross-language bindings. Zero bloat, maximum performance, Zig under the hood.

🎯 What is Nen?v0.1.0

Nen is an ultra-minimal LLM framework that strips away all the complexity. Built in Zig for maximum performance, exposed through simple C bindings for cross-language compatibility.

Core Philosophy:

  • • Just 50 lines of core code
  • • Zero bloat, maximum performance
  • • Language-agnostic API
  • • Zig under the hood for speed
⚡ Performance

Comparison:

LangChain:405,000+ lines
Nen:50 lines

Features:

  • • Static memory allocation
  • • Inline function optimization
  • • Zero dynamic allocations
  • • Predictable performance
🏗️ Architecture

Core (Zig)

50 lines of ultra-optimized Zig code handling the core LLM operations.

C Bindings

Simple C API exported for cross-language compatibility.

Language Drivers

Python, JavaScript, Rust, and Go bindings for easy integration.