free-pi

A free AI coding agent in your terminal.

The best harness, now with batteries included.

Based on the Pi agent harness by Mario Zechner.

Invite a friend: you both get +5,000 credits a day for 30 days. Get your link with /invite in the CLI. Check your referral status.

The CLI is open source (MIT) — read the code on GitHub.

Comparing tools?vs Freebuffvs OpenCodevs Claude Codevs Gemini CLIvs Aidervs OpenAI Codex CLIvs GitHub Copilot CLIvs Cursor CLI

Who it's for

Built for developers who refuse to keep paying more for coding tools. If you're a student, indie developer, or building where standard tool pricing is prohibitive—this is for you.

The Permanent underclass has been cancelled.

NEW · DESKTOP

FreePi for Mac.

The same free agent as a Mac app. Sign in once, pick a folder, start building.

Apple silicon · macOS 13+

FreePi Bots

Meet the crew.

Friendly agents in the cloud that get stuff done for you. Free!

Try FreePi Bots →

CLI

The power of Pi, free in your terminal.

Run it, sign in with GitHub, code for free.

The deal

Transparent access.

Model trainingWe may train on session data to create a better experience and more powerful, lower-cost models.

Early experimentThis is an early experiment. Expect it to evolve.

Model Market: Available models

Models come and go as prices and providers change. This list is live from the free-pi service.

Defense models

For authorized security work. Sign in to use them.

18 models · switch anytime with /model

Compare models

Opt-in · in /model

Authorized use only

Cyber Defense

Your security work should not stall because a model refused lawful work on your own systems.

Defense is an opt-in section of the /model picker for signed-in GitHub users. It lists models for security work: finding and fixing vulnerabilities, hardening, and auditing code and systems you own or are authorized to test. Defense models are abliterated: open-weight models with their refusal behavior removed, so they help with lawful security work that general models decline.

FREEPI DEFENSE: free abliterated DeepSeek plus a security audit skill. A line of Spartan warriors holds shields marked with the pi symbol. npx free-pi-cli@latest, www.freepi.ai.

Defense models

  • Abliterated Large Flash~20x usage
  • Abliterated Large V2~60x usage
  • DeepSeek V4.1 Flash Abliterated~20x usage
  • Gemma 4 Uncensored~20x usage
  • GLM 4.7 Flash Heretic~20x usage
  • Qwen 3.6 Plus Uncensored~37x usage
  • Uncensored 1.2~20x usage

Bundled with free-pi

  • Bundled security-audit skillfree-pi ships the audit method and reference checklists from Cloudflare's open-source security-audit skill (MIT). free-pi runs it in a single agent, without sub-agents or an OS sandbox, so the agent follows the method itself and you validate each finding yourself.
  • Reverse engineering with /reverse-engineer-anythingAnalyze software you own or may lawfully test, such as native binaries, JS and Electron apps, APKs, .NET assemblies and websites.

For systems you own, employer systems you have permission to test, and in-scope bug bounty targets. Do not use it against anyone else's systems.

Free image generation

Ask for a mockup, icon or illustration and free-pi draws it. No image plan needed.

  • Mockups and icons for your app: UI screens, landing heroes, logos, illustrations.
  • Saved into your project: every image lands in your images/ folder.
  • Shows in your terminal: inline in iTerm2, Kitty, Ghostty, WezTerm and Warp. Other terminals get the file path.

Try it

npx free-pi-cli@latest

then ask: make an app icon for my todo app

No API key, no card. Each image counts toward your free daily allowance.

Why free-pi

  • Free, with no card.Tasteful terminal ads pay for inference, so you do not enter payment details.
  • A real coding agent.Built on the Pi agent harness and running in your terminal.
  • Your choice of models.Switch models anytime with /model.
  • Free image generation.Ask for a mockup, icon or illustration and it lands in your project.
  • Built for security work.Opt-in Defense models, the bundled security-audit skill and /reverse-engineer-anything, for systems you own or are authorized to test.
  • Open source CLI.Read the code on GitHub.