proomt

Search

Search posts, papers, and topics

All posts

SitePoint6 min readtutorialintermediate

Pi 1.0 Coding Agent Setup: Install, Configure MCP, and Run Codemode

Summary

Pi 1.0 is an open-source terminal coding agent that uses LLMs to interact with your project files. This guide details its installation, configuration of Model Context Protocol (MCP) servers, and how its sandboxed JavaScript 'codemode' executes agent actions.

  • Install Pi 1.0 via npm or a shell script, requiring Node.js 22.19+.
  • Configure MCP servers for local stdio or remote HTTP access, supporting OAuth and environment variable secrets.
  • Codemode is a sandboxed QuickJS environment for LLMs to execute JavaScript scripts that call Pi's tools.
  • Control tool visibility to the model using `exposure` settings: `codemode`, `deferred`, `direct`, or `hidden`.

Engineers looking to integrate AI coding agents directly into their terminal workflow will find this guide useful for setting up and understanding Pi's core mechanisms.

6/10

Related reading

  1. New in Render: Do more with your coding agent

    Render added browser‑based MCP login and a suite of agent‑friendly actions (service creation, DB queries, log inspection, deploy triggers) plus CLI JSON/YAML output. Build times dropped 60% for Dockerfiles and 25% for Node.js, and new OIDC, SCIM, and logging integrations tighten security and observability.

    Renderrender.com2 minrelease
  2. Build, deploy, and operate with coding agents on Render

    Render adds OAuth‑based MCP access, expands its “skills” library to 20+ actions, and upgrades the CLI to manage full service lifecycles, enabling coding agents (Cursor, Claude, Codex, ChatGPT) to trigger deploys, adjust plans, and spin up disposable PR environments via structured JSON/YAML commands.

    Renderrender.com4 min
  3. MCP was always a bad idea?

    The author argues that Model Control Protocol (MCP) still has value even with powerful coding agents. MCP lets you control service access, manage authentication safely, provide a UI for connections, and keep audit logs.

    Simon Willisonsimonwillison.net1 minHN11
  4. CodeMidas: Scaling Agentic Coding RL Environments from Code Itself

    CodeMidas builds RL environments directly from open‑source code: agents explore a repo, infer a spec, generate tests from the original implementation, and filter tasks via execution checks. The pipeline yields 5,545 high‑quality coding tasks across 23 languages and 15 domains. Training the MiMo‑V2.5 agent with GRPO on this dataset improves benchmark scores by 8‑18% (e.g., DeepSWE +11.7%, ProgramB…

    Hugging Face Daily Papersarxiv.org1 minpaper