faveos8758 / reflexion-agent-ts
PublicSelf-improving LLM agent in TypeScript using Reflexion (verbal RL): custom evaluators, reflexion memory, HTTP API, CLI. Built with Vercel AI SDK.
A TypeScript library for building self-improving AI agents that reflect on failures, retry tasks like code fixes or math problems, and remember lessons, usable via command line, web API, or code integration.
How It Works
You find this helpful AI tool that gets better by thinking about its mistakes and trying again.
Download the tool to your computer and prepare it with simple setup steps.
Link the tool to an AI service so it can generate smart answers and reflections.
Talk to it directly by typing tasks and watching live improvements.
Start a simple web service to send tasks and get results back.
Add it to your own project to make your apps smarter.
Describe a task like fixing a wrong calculation or correcting a simple error.
See the magic as it attempts, learns from slip-ups, remembers lessons, and nails the task.
Receive the perfect answer after a few smart tries, with history saved for even better future results.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.