27 repos
Tutorials on implementing self-correcting and learning agentic systems.
Distinguishing note: Focuses on the self-improvement aspect of agents, distinct from general agent orchestration.
Explore 27 awesome GitHub repositories matching artificial intelligence & ml · Self-Improving Agent Tutorials. Refine with filters or upvote what's useful.
This project is a structured educational resource and technical guide for designing and implementing autonomous systems using large language models. It provides a comprehensive curriculum and code samples focused on agentic design patterns, autonomous development, and the creation of systems capable of planning and executing multi-step tasks. The resource details the implementation of agentic retrieval-augmented generation, where models autonomously plan and refine data searches. It covers a wide array of orchestrators and design patterns, including metacognitive reflection for self-correctin
Ships patterns for agents to observe conversations and extract insights that dynamically update a knowledge base for future prompts.
This repository is an open-source textbook on designing and building LLM-based AI agents, paired with a codebase of companion experiments. It treats an agent as a language model fed structured context and extended with tools, connected by an iterative loop, and walks through that idea across ten progressive chapters. The chapters cover context engineering (including cache-friendly context layout), memory and knowledge retrieval, tool design, coding agents that write code to create new capabilities, multimodal and voice interaction, evaluation, model post-training, continual improvement from r
Teaches how agent run trajectories become learning signals and long-running loops that keep an agent improving over time.
Flowise is a low-code platform designed for building and deploying complex language model workflows through a visual, node-based interface. It functions as an orchestrator for autonomous multi-agent systems, allowing users to construct conversational pipelines by connecting language models, memory stores, and external tools on a drag-and-drop canvas. The platform distinguishes itself through its support for sophisticated agentic patterns, including supervisor-worker delegation and iterative reasoning strategies. Users can design directed acyclic graphs to manage conditional branching, state p
Shows how to build self-correcting RAG applications that improve response quality through agentic feedback loops.
Reverse-skill is a skill router pack that directs AI coding assistants to the right reverse engineering, authorized penetration testing, and security research skills. A central routing core inspects each incoming request and dispatches it to the matching specialist skill folder, such as mobile, firmware, malware, or API security analysis, rather than loading every capability at once. The same routing contract is loaded into different AI coding clients, including Claude Code, Cursor, Cline, and Kiro, through each client's own project-instruction mechanism. Client-specific setup stays optional
Grows an experience base from past investigations that later tasks use to improve routing and technique selection.
MemGPT is a memory management framework and external memory layer for large language models. It functions as a platform for building stateful AI agents that maintain a persistent identity and continuous context across multiple sessions. The system enables agents to bypass fixed context window limitations by using a virtual context windowing approach. This allows models to manage their own memory through internal commands to search, update, and delete stored information within a hierarchical structure of short-term working context and long-term archival storage. The framework provides a local
Allows agents to update their own internal instructions based on past experiences and feedback.
This project functions as an orchestration framework for AI-driven software development, providing a structured environment to manage, iterate, and execute complex prompt chains. It serves as a centralized workspace that integrates AI models with local terminal tools and configuration settings to standardize the entire development lifecycle from initial requirements to final implementation. The platform distinguishes itself through its focus on recursive prompt evolution and multilingual support. It employs iterative loops to refine AI instructions, ensuring higher precision in generated outp
Applies specialized instructions to iteratively improve AI logic and generated development skills.
This project is a comprehensive framework for building and managing autonomous agent systems. It provides a unified architecture for orchestrating multi-agent societies, where specialized agents collaborate through roleplay to decompose and solve complex tasks. The system integrates language models with external environments, enabling agents to perform real-world actions through a standardized tool-calling abstraction layer. The framework distinguishes itself through its focus on iterative reasoning and data reliability. It employs automated feedback loops to refine agent outputs and self-eva
Implements iterative feedback loops to self-evaluate and refine reasoning traces for high-quality task execution.
This project is an automation framework that connects large language models to web browsers via the Chrome DevTools Protocol for autonomous task execution. It functions as a bridge between intelligent agents and browser engines, allowing for the direct control of browser sessions and profiles. The framework features a self-healing agent capable of generating and executing custom scripts during runtime to resolve failures and optimize browser tasks. It supports stealthy deployment through the use of integrated proxies and captcha solvers to bypass bot detection and security mitigations. The s
Enables a self-healing agent to write and execute new code to resolve failures and improve future task success.
Hermes-webui is a self-hosted AI orchestrator and web interface for managing autonomous agents. It serves as a multi-provider gateway that connects cloud and local large language models, providing a central hub to execute scheduled background jobs, run shell commands, and manage agent memory on private hardware. The system distinguishes itself through a persistent memory manager that utilizes knowledge graphs and markdown files for long-term context across sessions. It features a model context protocol host for extending agent capabilities with standardized tools and supports the orchestratio
Implements the autonomous generation and sharing of new helper functions to resolve missing agent capabilities.
AutoResearchClaw is an agentic system designed to automate the scientific research process. It functions as an autonomous research agent and workflow automator that manages the entire lifecycle of a project, from initial hypothesis generation and literature review to experimental execution and the production of LaTeX-formatted academic papers. The system distinguishes itself through a multi-agent research pipeline that utilizes structured debates for hypothesis refinement and peer review. It employs a branch-and-merge architecture to explore parallel research directions and integrates human-i
Captures lessons from execution failures to autonomously update a persistent knowledge base of reusable skills.
GenericAgent is an LLM agent framework and autonomous system controller designed to manage local systems, web browsers, and hardware interfaces through action and observation loops. It functions as a tool orchestrator that routes model calls to local executors, enabling the automation of complex tasks on a host machine. The project is distinguished by its self-evolving AI agent capabilities, which convert successful execution paths into reusable procedural scripts and skill trees to reduce future reasoning overhead. It employs a context optimization engine that utilizes layered memory hierarc
Records errors and user preferences in a log that guides future behavior via system prompts.
This project is an AI software engineering tool and framework for building autonomous coding agents. It provides a system for automating program synthesis and bug fixing by integrating large language models with codebase analysis and iterative refinement loops. The framework features an agentic development server that exposes task execution interfaces to remote agents through a structured protocol. This allows for the remote execution of development tasks and the embedding of autonomous program synthesis capabilities into external software projects. The toolset covers AI-driven project scaff
Refines generated code through a cycle of human prompt updates and error message injection.
AgentPilot is a self-improvement framework and decision layer for coding agents. It plugs into the agents you already use, which keep executing tasks, while a small strategy model chooses what they try next across algorithm development, deep research, and computer use. It runs repeated trials, learns from each result, and spends a fixed improvement budget on the most promising directions. Strategy selection is guided by a bandit-style upper-confidence-bound rule that picks which version to improve and which direction to pursue, balancing proven results against uncertain options and counting o
Lets coding agents improve themselves through repeated trials, learning from each result and spending a fixed improvement budget on the most promising ideas.
Reef is a platform that lets AI agents keep improving from real usage. It serves live agent traffic through OpenAI- and Anthropic-style endpoints, records each interaction, and turns the resulting user feedback into better versions of the agent. Those versions are tested, versioned, and shipped again and again, without manual retraining cycles. Reef can improve an agent in two ways. It can evolve the agent's harness, meaning its prompts, rules, and skills, stored as a plain text-file tree. Candidate edits are tested on real tasks and the best-scoring ones are published as snapshots that clien
Lets agents keep improving from real usage by turning user feedback into tested, versioned agent updates that ship repeatedly without manual retraining.
This project is a framework for the iterative optimization and validation of LLM agent skills. It functions as an agent capability orchestrator and prompt optimizer, utilizing an evaluation framework to measure performance through weighted rubrics and automated rewriting. The system distinguishes itself through a closed-loop optimization cycle that employs independent reviewer agents to prevent anchoring effects and a ratchet-based version control mechanism that automatically reverts changes if they fail to improve baseline scores. It also features exploratory structural rewriting to overcome
Automates the optimization of AI instructions through iterative cycles of evaluation and targeted refinement.
This project is an autonomous research framework and agentic software development toolkit designed to automate complex engineering tasks through goal-directed iteration. It provides a code refactor engine and an extension for the Claude Code interface to implement iterative loops that modify, verify, and refine code and documentation. The system distinguishes itself through the use of adversarial personas and multi-agent workflows. It employs adversarial simulation and interrogation to refine requirements, resolve architectural ambiguities via blind judge panels, and conduct red-team security
Executes a modify-verify-repeat loop to autonomously improve code performance and quality based on specific goals.
vibe-vibe is an LLM agent engineering framework and toolchain optimizer designed for orchestrating multi-agent systems. It serves as a comprehensive guide and methodology for transforming conceptual ideas into deployed applications through agentic software engineering. The project focuses on the orchestration of specialized AI agent roles with defined collaboration boundaries and iterative feedback loops. It provides frameworks for toolchain optimization, including the selection and evaluation of protocols that extend model capabilities and the design of standardized tool interfaces. The sys
Designs feedback loops and evaluation mechanisms that allow coding agents to iteratively refine their own performance.
Translation Agent is a Python-based system that uses a large language model to translate text through a multi-step agentic workflow. Rather than producing a single output, it generates an initial translation, then prompts the same LLM to critique its own work and produce improvement suggestions, and finally refines the translation based on that self-critique. This reflection-driven iterative refinement loop is the core mechanism for improving translation quality without requiring human feedback or additional training data. The system distinguishes itself through two key capabilities. First, i
Uses the LLM to critique its own translation output and generate improvement suggestions before finalizing.
Oh My Hermes (Hermes Orchestrator) is a workflow layer that sits on top of the Hermes agent runtime. It routes requests to staged skills, external coding executors, and verification gates, through chat or a terminal interface. Completion is evidence-gated: every status carries a stage and confidence, and work is marked verified only after tests, reviews, or CI checks have actually passed. It is also distributed as a catalog of installable workflow skills and plugin hooks, for Hermes and other coding-agent hosts. Its main focus is multi-agent coding delegation. Scoped tasks are handed to codin
Prompts the agent at turn intervals, before compaction, and at session end to distill lasting facts from conversations into memory.
TestSprite CLI is a command-line tool for creating, running, and managing automated tests for web frontends and backend APIs. Tests are described in plain language, and the platform runs them in real cloud browsers and against real APIs rather than mocks. It can be used from a terminal or in CI pipelines, and it is built so that AI coding agents can check their own work: an agent creates or runs tests against a live app, reads structured failures, fixes the code, and reruns. Several capabilities set it apart. Failures are packaged into one self-consistent bundle containing the failing step, s
Lets AI coding agents create tests, run them, read structured failure diagnostics, fix code, and rerun until behavior passes.