Docs
Using free-pi.
free-pi is a free, ad-supported distribution of the pi coding agent. Run the CLI, sign in with GitHub, and code in your terminal. Ads keep it free.
In your terminal
Every page is also available as Markdown.
All documentation pages
- Getting startedInstall and run the free-pi CLI, sign in with GitHub, and start your first coding session in the terminal.
- Using the agentfree-pi runs the pi coding agent. Describe what you want built, fixed, or explained, and the agent works in your current directory.
- Commands and flagsThe command-line flags, subcommands, environment variables, and slash commands you use with free-pi-cli.
- Models and limitsWhich models free-pi offers, how the free daily allowance works, and what to do when you reach it.
- Invite friendsInvite a friend to free-pi and you both get 5,000 extra credits a day for 30 days. This page explains how to get your invite link and what has to happen for the bonus to start.
- Ads and privacyHow ads work in free-pi, and what is collected from your sessions.
- Updating and troubleshootingHow free-pi-cli stays up to date, and fixes for the problems people hit most often.
- Moving from Claude Code to free-piHow to switch from Claude Code to free-pi: install it, sign in, and bring over your instructions, skills, MCP servers and custom commands.
- FreePi in DeepSeek HarnessUse FreePi's free models inside the DeepSeek Harness app with the official plugin. It is in beta.