RepositoryRust
PrimeIntellect-ai

PrimeIntellect-ai/prime-agent

A self-improving RLM agent for coding workflows and long-running autonomous tasks.

23.0ksao
2.5kfork
7issue
46lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

10
TINIX TRENDING

#10 Repository Của Tuần

3
TINIX TRENDING

#3 Repository Của Tuần

2
TINIX TRENDING

#2 Repository Của Tuần

🚀 Self-Improving RLM Agent for Coding Workflows

Prime Agent treats context as variables and subagents as function calls inside a persistent REPL, enabling long-running autonomous coding tasks.

Prime Agent is an open-source coding and research agent designed for general and long-running work. It is built around two core abstractions: the Recursive Language Model (RLM), which treats context as variables and tools as recursive subagents inside a persistent REPL, and the Continual Harness, which stores supplemental prompts, memories, and reusable subagent specs as durable state that can be refined through evidence-backed updates.

✨ Highlights

  • Recursive Language Model (RLM): treats context as variables and tools like recursive subagents as function calls inside a persistent REPL.
  • Continual Harness: stores supplemental prompts, memories, skill descriptions, and reusable subagent specifications as durable state that can be refined through small, evidence-backed updates.
  • Programmatic workflow: persistent IPython is the built-in model tool; file operations, shell commands, tool use, subagents, and context management happen through code.
  • Built-in subagents: rlm(...) spawns real child agents for parallel or background work and returns their results programmatically.
  • Self-improving harness: /refine reviews the current trajectory and can apply small, evidence-backed updates to supplemental harness state without rewriting the immutable base system prompt.
  • Executable skills: skills are importable Python packages, and the built-in skill creator can turn recurring workflows into project or personal skills.
  • Background sessions: daemon-backed agents keep running when the terminal disconnects and can be reattached later.
  • Agent-to-agent communication: running agents can exchange messages and orchestrate one another without routing everything through the user.
  • Long task continuity: automatic compaction, persistent goals, heartbeats, schedules, autonomous mode, and retained subagents preserve progress across turns and terminal sessions.

💡 Why it matters

Prime Agent combines a persistent Python control environment with durable harness state, so useful working context and reusable operating patterns can outlive a single chat window. This makes it particularly well-suited for long-running tasks, especially evaluations in research, where maintaining context and progress across sessions is critical.

Unlike traditional agents that reset context with each interaction, Prime Agent's continual harness allows for incremental improvements and knowledge retention. The ability to spawn real child agents programmatically and communicate directly between agents enables more sophisticated and parallelized workflows, making it a powerful tool for complex coding and research tasks.


#RLM #AI #CodingAgent #OpenSource #TiniX