All 43 Dependencies
Every package Prime Agent depends on, ranked by repo health score.
Prime Agent is an open-source coding and research agent for general-purpose and long-running work, built by Prime Intellect. Instead of exposing a fixed set of built-in tools, it gives the model one persistent Python REPL: file operations, shell commands, tool use, and subagent orchestration all happen as code the model writes and runs itself, with variables and state surviving across turns and context compaction.
The project is organized around two core ideas. The Recursive Language Model (RLM) treats context as variables and subagent calls as ordinary function calls inside that REPL, so a parent model can spawn focused child agents with `rlm.spawn(...)` and keep its own context lean. The Continual Harness stores supplemental prompts, memories, skill descriptions, and reusable subagent specs as durable state that the agent can refine through small, evidence-backed updates via `/refine` — without ever rewriting its immutable base system prompt, and with recorded snapshots for rollback.
Beyond the core loop, Prime Agent is built for sessions that outlive a single terminal window: a daemon-backed architecture keeps agents, Python kernel state, schedules, and subagents running when the terminal disconnects, and running agents can message each other directly to coordinate work. Persistent goals, heartbeats, cron-style schedules, and a bounded autonomous mode let it keep making progress on long research or coding tasks across many turns.
The codebase is a TypeScript/Node monorepo (with a Python-facing execution surface) split into an `agent` runtime, an `ai` provider layer, a `coding-agent` CLI/daemon, and a `tui` terminal interface, backed by an extensive documentation set covering architecture, RPC/JSON automation modes, and the RLM programming model itself.