awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
pguso avatar

pguso/ai-agents-from-scratch

0
View on GitHub↗
3,130 stars·465 forks·JavaScript·mit·26 views

Ai Agents From Scratch

This project is an LLM agent framework and orchestration engine designed for building autonomous agents that reason, utilize tools, and execute multi-step plans. It provides a system for implementing the ReAct pattern, which interleaves reasoning and action cycles to solve complex problems through iterative observation and self-correction.

The framework includes a tool integration layer that connects language models to external functions and APIs using structured schemas and embedding-based routing. It also features a memory management system to persist conversation history and user preferences, maintaining long-term context across sessions.

The orchestration capabilities cover multi-agent coordination, state-based conversation management, and the execution of dependency graphs for deterministic task completion. Additionally, the system supports prompt templating, provider-agnostic model abstractions, and execution auditing to track internal reasoning steps.

Features

  • Agentic Reasoning Loops - Implements a ReAct-based reasoning loop that interleaves internal thought, external action, and observation to solve complex problems.
  • Embedding-Based Tool Routing - Ships an embedding-based routing system to select the most relevant tools from a large catalog using cosine similarity.
  • AI Agent Development - Provides the tools and environment for building specialized autonomous agents by defining personas, rules, and tool sets.
  • Iterative Reasoning Workflows - Implements iterative reasoning workflows using the ReAct pattern to solve multi-step problems through self-correction.
  • LLM Tooling Integrations - Connects language models to external functions and APIs to perform real-world actions beyond text generation.
  • Autonomous Agent Frameworks - Ships a comprehensive framework for building autonomous agents that reason, use tools, and execute multi-step plans.
  • Conversation Memory Managers - Implements a memory management system to store and retrieve long-term context and user preferences across sessions.
  • Conversation State Management - Tracks interaction history and session state to maintain coherence across stateless language model calls.
  • LLM Orchestrators - Provides an orchestration engine that manages multi-agent workflows, state machines, and dependency graphs.
  • Memory Management Systems - Provides a persistence layer for maintaining historical context and user preferences across extended AI interaction sessions.
  • Model Provider Abstractions - Provides a common interface to normalize API interactions and decouple application logic from specific AI service providers.
  • AI Tool Schemas - Uses declarative function schemas to define the arguments and return types required for models to trigger external tools.
  • ReAct Pattern Implementations - Implements the ReAct pattern to interleave reasoning and action cycles for iterative problem solving and self-correction.
  • Execution Audits - Tracks and logs internal reasoning steps to create explainable and debuggable AI execution audits.
  • Multi-Agent Orchestration - Coordinates multiple specialized agents to work in parallel or sequence to decompose and solve complex tasks.
  • Prompt Templates - Provides systems for defining and managing reusable prompt structures to guide language model behavior.
  • Directed Acyclic Graph Engines - Implements logic execution by chaining modular reasoning nodes in a dependency-ordered directed acyclic graph.

Star history

Star history chart for pguso/ai-agents-from-scratchStar history chart for pguso/ai-agents-from-scratch

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Ai Agents From Scratch

Similar open-source projects, ranked by how many features they share with Ai Agents From Scratch.
  • i-am-bee/beeai-frameworki-am-bee avatar

    i-am-bee/beeai-framework

    3,304View on GitHub↗

    The BeeAI Framework is an LLM agent framework and multi-agent orchestration engine used to build autonomous agents that coordinate reasoning, tool execution, and complex workflows. It functions as a structured AI output controller and RAG integration library, providing a unified interface to manage multiple language model providers. The framework is distinguished by its implementation of the Model Context Protocol, allowing agents, tools, and models to be shared between different AI platforms and hosted as agentic tooling servers. It enables the design of collaborative agent teams through dec

    Pythonagentsaiai-agent
    View on GitHub↗3,304
  • lazyagi/lazyllmLazyAGI avatar

    LazyAGI/LazyLLM

    3,842View on GitHub↗

    LazyLLM is a multi-agent framework and orchestration engine designed for building complex AI applications. It provides a system for chaining large language models into sequential or parallel pipelines, utilizing a tool registry to convert standard functions into discoverable tools that models can invoke via reasoning. The project features an application deployment kit that enables hosting model workflows as web services with integrated chat interfaces and API gateways. It includes an infrastructure abstraction layer that allows users to switch between bare-metal servers, clusters, and public

    Pythonagentsai-agentdata
    View on GitHub↗3,842
  • alibaba/spring-ai-alibabaalibaba avatar

    alibaba/spring-ai-alibaba

    8,415View on GitHub↗

    This project is a Java-based framework integration that provides an AI agent runtime, a graph-based AI workflow engine, and an LLM orchestration framework for Spring applications. It enables the development of stateful autonomous agents and the implementation of retrieval-augmented generation systems using document processing and vector databases. The framework distinguishes itself through a graph-based workflow runtime for designing complex AI pipelines with conditional routing and persistent state. It supports multi-agent orchestration via service-discovery coordination and provides human-i

    Javaagenticartificial-intelligencecontext-engineering
    View on GitHub↗8,415
  • tmc/langchaingotmc avatar

    tmc/langchaingo

    9,416View on GitHub↗

    langchaingo is an LLM application framework for Go designed for building language model-powered applications and autonomous agents. It serves as an orchestration library and tool integration framework that allows developers to link prompt sequences and model calls into complex, multi-step workflows. The project provides a toolkit for implementing retrieval-augmented generation pipelines by processing unstructured documents and retrieving relevant context via vector search. It includes a dedicated integration layer for indexing high-dimensional embeddings and performing similarity searches acr

    Go
    View on GitHub↗9,416
See all 30 alternatives to Ai Agents From Scratch→

Frequently asked questions

What does pguso/ai-agents-from-scratch do?

This project is an LLM agent framework and orchestration engine designed for building autonomous agents that reason, utilize tools, and execute multi-step plans. It provides a system for implementing the ReAct pattern, which interleaves reasoning and action cycles to solve complex problems through iterative observation and self-correction.

What are the main features of pguso/ai-agents-from-scratch?

The main features of pguso/ai-agents-from-scratch are: Agentic Reasoning Loops, Embedding-Based Tool Routing, AI Agent Development, Iterative Reasoning Workflows, LLM Tooling Integrations, Autonomous Agent Frameworks, Conversation Memory Managers, Conversation State Management.

What are some open-source alternatives to pguso/ai-agents-from-scratch?

Open-source alternatives to pguso/ai-agents-from-scratch include: i-am-bee/beeai-framework — The BeeAI Framework is an LLM agent framework and multi-agent orchestration engine used to build autonomous agents… lazyagi/lazyllm — LazyLLM is a multi-agent framework and orchestration engine designed for building complex AI applications. It provides… alibaba/spring-ai-alibaba — This project is a Java-based framework integration that provides an AI agent runtime, a graph-based AI workflow… tmc/langchaingo — langchaingo is an LLM application framework for Go designed for building language model-powered applications and… microsoft/agent-framework — The agent-framework is an LLM agent orchestration framework and multi-agent workflow engine designed for building… langchain4j/langchain4j — LangChain4j is a framework and library for building applications powered by large language models on the JVM. It…