← all repositories

mpaepper/llm_agents

A Python library demonstrating how to build LLM-controlled agents using a Thought-Action-Observation loop with tool execution capabilities.

1k stars Python AgentsLanguage Models
llm_agents
Velocity · 7d
+0.9
★ / day
Trend
steady
star history

The library implements a simple agent framework controlled by large language models. It uses a loop of Thought, Action, and Observation where the LLM decides which tools to use based on the task. Pre-built tools include Python code execution, Google search, and Hacker News search. The project serves as an educational implementation inspired by LangChain, aimed at understanding agent mechanics in minimal code.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.