ai-agents-from-scratchAgent45/100 via “function-calling-with-tool-schema-binding”
Demystify AI agents by building them yourself. Local LLMs, no black boxes, real understanding of function calling, memory, and ReAct patterns.
Unique: Implements function calling as a text-parsing pattern rather than relying on proprietary APIs, making it transparent and portable across any LLM. The repository includes explicit examples (simple-agent module) showing schema definition, prompt engineering for tool calls, and error handling — teaching the mechanics rather than hiding them in a framework.
vs others: More transparent and educational than OpenAI's function_calling API, and works with any local LLM; less reliable than native function calling because it depends on text parsing, but enables understanding of how function calling actually works.