Show HN: Fragaria – From 'R's in Strawberry to Complex Problem-Solving AI

github.com

3 points by ticktockten 2 days ago

I'm excited to share Fragaria, an open-source project that brings advanced AI reasoning capabilities to developers and researchers. Named after the botanical genus of strawberries (a nod to the classic "How many 'r's in strawberry?" problem), Fragaria is designed to tackle both simple queries and complex logical puzzles with increasing efficiency over time. Here are some features!

* Multi-Provider Support: Seamlessly switch between OpenAI, Groq, and Together.ai as LLM providers. * Chain of Thought (CoT) Reasoning: Break down complex problems into step-by-step solutions. * Reinforcement Learning: Continuously improve problem-solving strategies through a novel approach combining CoT and RL. * Adaptive Learning: Utilize a SQLite-based scoring system to remember and refine successful strategies. * Easy Integration: RESTful API with OpenAI-compatible endpoints for drop-in replacement in existing projects.

What makes Fragaria unique:

* More than just another LLM wrapper. Fragaria implements a sophisticated reasoning process that grows more efficient with each solved problem. * The combination of CoT and RL allows Fragaria to develop novel problem-solving approaches that weren't explicitly programmed. * It's designed for researchers to easily experiment with different CoT strategies and RL algorithms. The project includes a sleek Svelte-based demo interface for easy visualization of the reasoning process.

I built Fragaria to explore the intersection of language models, reasoning, and reinforcement learning.