{"data":{"slug":"prime-agent","name":"Prime Agent","tagline":"Persistent REPL agent with recursive LMs","category":"agents","categoryName":"AI Agents","url":"https://github.com/PrimeIntellect-ai/prime-agent","github":"https://github.com/PrimeIntellect-ai/prime-agent","pricing":"open-source","hook":"Prime Agent keeps an agent in a persistent REPL and uses RLM plus continual harness loops to make self-refinement part of the work session.","whatsGood":"MIT. The installer gets you started, and BYO model keys keep provider choice in your hands. Its RLM and Continual Harness framing is for agents that can inspect, revise, and continue rather than treating every prompt as a disposable one-shot completion. The persistent REPL is the practical distinction: state and tools stay available across the loop.","theCatch":"Vs Pi, OpenCode, and OpenHands: this is the PrimeIntellect product, not the Pi coding agent, a general terminal wrapper, or a full autonomous developer platform. Prime Agent is not a security sandbox — its Python execution runs with the permissions you give it. Isolate it yourself before handing it credentials, production access, or untrusted tasks.","verdict":"MIT persistent REPL agent for RLM and continual self-refine loops. Interesting for research and harness work; never mistake the runtime for a sandbox.","addedAt":"2026-09-22","featured":false,"domain":"AI Agents","subSpecialty":"Coding Agents","subcategory":"Coding Agents","tags":["self-host","permissive","license-unclear","active","young-repo","fast-stars"],"capabilities":["repl","coding","self-refine"],"surfaces":["Self-host"],"ecosystem":["Python","Multi-platform"],"licenseModel":"OSS/MIT","githubStars":22143,"starsPerWeek":942,"access":"free","archived":false,"repo":{"createdAt":"2026-05-08","pushedAt":"2026-10-18","license":"NOASSERTION","archived":false,"checkedAt":"2026-10-19"}},"related":[{"slug":"claude-code","name":"Claude Code","tagline":"Terminal-first coding agent with deep repository context"},{"slug":"cursor","name":"Cursor","tagline":"The AI-first code editor that understands your codebase"},{"slug":"devin","name":"Devin","tagline":"Autonomous AI engineer for defined engineering tasks"},{"slug":"stagehand","name":"Stagehand","tagline":"AI-native browser automation that mixes code and natural language"},{"slug":"browser-use","name":"Browser Use","tagline":"Open-source framework for LLM-driven browser agents"}],"links":{"self":"/api/gems/prime-agent","html":"/gems/prime-agent","markdown":"/gems/prime-agent.md","category":"/api/gems?category=agents","categoryPage":"/stacks/agents"}}