[{"data":1,"prerenderedAt":233},["ShallowReactive",2],{"navigation_docs":3,"-harnesses-prime-agent":108,"-harnesses-prime-agent-surround":230},[4,48],{"title":5,"path":6,"stem":7,"children":8,"icon":47},"Guide","\u002Fguide","1.guide\u002F01.index",[9,11,15,19,23,27,31,35,39,43],{"title":10,"path":6,"stem":7},"Getting Started",{"title":12,"path":13,"stem":14},"Registry and paths","\u002Fguide\u002Fregistry","1.guide\u002F02.registry",{"title":16,"path":17,"stem":18},"Running another harness","\u002Fguide\u002Finvoke","1.guide\u002F03.invoke",{"title":20,"path":21,"stem":22},"MCP servers","\u002Fguide\u002Fmcp-servers","1.guide\u002F04.mcp-servers",{"title":24,"path":25,"stem":26},"Instructions files","\u002Fguide\u002Fagents-sync","1.guide\u002F05.agents-sync",{"title":28,"path":29,"stem":30},"CLI","\u002Fguide\u002Fcli","1.guide\u002F06.cli",{"title":32,"path":33,"stem":34},"Agents","\u002Fguide\u002Fagents","1.guide\u002F07.agents",{"title":36,"path":37,"stem":38},"Sessions","\u002Fguide\u002Fsessions","1.guide\u002F08.sessions",{"title":40,"path":41,"stem":42},"Custom harnesses","\u002Fguide\u002Fcustom","1.guide\u002F09.custom",{"title":44,"path":45,"stem":46},"Explorer","\u002Fguide\u002Fexplorer","1.guide\u002F10.explorer","i-solar-book-2-linear",{"title":49,"path":50,"stem":51,"children":52,"icon":107},"Harnesses","\u002Fharnesses","2.harnesses\u002F00.index",[53,55,59,63,67,71,75,79,83,87,91,95,99,103],{"title":54,"path":50,"stem":51},"Overview",{"title":56,"path":57,"stem":58},"Claude Code","\u002Fharnesses\u002Fclaude","2.harnesses\u002F01.claude",{"title":60,"path":61,"stem":62},"Codex CLI","\u002Fharnesses\u002Fcodex","2.harnesses\u002F02.codex",{"title":64,"path":65,"stem":66},"Gemini CLI","\u002Fharnesses\u002Fgemini","2.harnesses\u002F03.gemini",{"title":68,"path":69,"stem":70},"Antigravity CLI","\u002Fharnesses\u002Fantigravity","2.harnesses\u002F04.antigravity",{"title":72,"path":73,"stem":74},"Grok CLI","\u002Fharnesses\u002Fgrok","2.harnesses\u002F05.grok",{"title":76,"path":77,"stem":78},"OpenCode","\u002Fharnesses\u002Fopencode","2.harnesses\u002F06.opencode",{"title":80,"path":81,"stem":82},"Pi","\u002Fharnesses\u002Fpi","2.harnesses\u002F07.pi",{"title":84,"path":85,"stem":86},"OMP","\u002Fharnesses\u002Fomp","2.harnesses\u002F08.omp",{"title":88,"path":89,"stem":90},"Cursor","\u002Fharnesses\u002Fcursor","2.harnesses\u002F09.cursor",{"title":92,"path":93,"stem":94},"GitHub Copilot","\u002Fharnesses\u002Fgithub-copilot","2.harnesses\u002F10.github-copilot",{"title":96,"path":97,"stem":98},"Mastra Code","\u002Fharnesses\u002Fmastracode","2.harnesses\u002F11.mastracode",{"title":100,"path":101,"stem":102},"Freebuff","\u002Fharnesses\u002Ffreebuff","2.harnesses\u002F12.freebuff",{"title":104,"path":105,"stem":106},"Prime Agent","\u002Fharnesses\u002Fprime-agent","2.harnesses\u002F13.prime-agent","i-solar-library-linear",{"id":109,"title":104,"body":110,"description":223,"extension":224,"links":225,"meta":226,"navigation":227,"path":105,"seo":228,"stem":106,"__hash__":229},"docs\u002F2.harnesses\u002F13.prime-agent.md",{"type":111,"value":112,"toc":219},"minimark",[113,117,150,173,216],[114,115],"harness-facts",{"id":116},"prime-agent",[118,119,120,121,125,126,129,130,133,134,137,138,141,142,145,146,149],"p",{},"Prime Agent is Pi underneath, with ",[122,123,124],"code",{},"~\u002F.prime\u002Fagent\u002F"," in place of ",[122,127,128],{},"~\u002F.pi\u002Fagent\u002F"," and, less obviously, ",[122,131,132],{},".prime\u002Fagent\u002F"," as the project directory rather than ",[122,135,136],{},".prime\u002F",". ",[122,139,140],{},"PRIME_AGENT_CODING_AGENT_DIR"," moves the whole thing. Sessions are one flat directory of ",[122,143,144],{},"\u003Cuuidv7>.jsonl"," files whose header carries the working directory, and each root session gets a ",[122,147,148],{},"session-artifacts\u002F\u003Cid>\u002F"," next to it with the pickled Python kernel state, scheduled jobs, harness state and the transcripts of every subagent it spawned.",[118,151,152,153,156,157,160,161,164,165,168,169,172],{},"The model gets exactly one built-in tool, ",[122,154,155],{},"ipython",". Files, shell, MCP servers and subagents are all code it runs in that REPL, which is why there is no read-only recipe here: an allowlist with a single Python tool restricts nothing, and the kernel is a process boundary, not a sandbox. ",[122,158,159],{},"--no-tools"," does take everything away, so the advisor mode is real. ",[122,162,163],{},"--mode json"," works on both. Models come from ",[122,166,167],{},"prime-agent model list",", the same table Pi prints, and ",[122,170,171],{},"--list-models"," now only tells you it was removed.",[118,174,175,176,179,180,183,184,187,188,191,192,195,196,199,200,203,204,207,208,211,212,215],{},"Skills load from ",[122,177,178],{},".prime\u002Fagent\u002Fskills\u002F"," and from ",[122,181,182],{},".agents\u002Fskills\u002F"," in the cwd and its ancestors up to the repository root, plus the user twins of both. MCP servers sit under ",[122,185,186],{},"mcpServers"," in the user ",[122,189,190],{},"settings.json"," in the standard shape, except that stdio ",[122,193,194],{},"env"," values have to be ",[122,197,198],{},"{\"env\": \"NAME\"}"," references, which is why the registry gives it its own ",[122,201,202],{},"prime"," dialect: a master value of ",[122,205,206],{},"${NAME}"," is written as that reference and read back the same way, and a literal is refused up front rather than left as a server that fails on its first connection. Detection is by ",[122,209,210],{},"PRIME_AGENT_KERNEL_OWNER_PID",", which reaches the shells the REPL spawns but not stdio MCP servers, those get a trimmed environment. The harness is registered ahead of Pi on purpose, because the fork still exports ",[122,213,214],{},"PI_CODING_AGENT"," and would otherwise be reported as Pi.",[217,218],"harness-sheet",{"id":116},{"title":220,"searchDepth":221,"depth":221,"links":222},"",2,[],"Prime Intellect's Pi fork. One Python REPL as the only tool, flat JSONL sessions with artifacts beside them, model listing, advisor and agent modes but nothing read-only.","md",null,{},true,{"title":104,"description":223},"ilEUx4Q4RYxt1MoTs7G_xaqIOXo-1SMc9AEa_5ijj54",[231,225],{"title":100,"path":101,"stem":102,"description":232,"children":-1},"Codebuff based. Knowledge files instead of rules, chats under ~\u002F.config\u002Fmanicode on every platform, skills at .agents\u002Fskills, no headless mode.",1789561407080]