whatisgithub

What is pie?

c4pt0r/pie — explained in plain English

Analysis updated 2026-05-18

60RustAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

A terminal-based AI coding assistant, rewritten in Rust, that reads files, makes edits, runs commands, and remembers your preferences across sessions.

Mindmap

mindmap
  root((pie))
    What it does
      Chat-driven coding
      Edits files
      Runs commands
      Remembers preferences
    Tech stack
      Rust
    Providers
      Anthropic
      OpenAI
      Groq
      Mistral
      Gemini
    Use cases
      Fix failing tests
      Summarize a repo
      Automate with triggers
    Audience
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Ask pie to summarize an unfamiliar repository in plain English.

USE CASE 2

Have pie fix failing tests or add a README example automatically.

USE CASE 3

Set up triggers that watch for file changes and run tasks in the background.

USE CASE 4

Resume a previous coding session with full conversation memory.

What is it built with?

Rust

How does it compare?

c4pt0r/piecorrode/refactoring-rustdoggy8088/leak-hunter
Stars606157
LanguageRustRustRust
Setup difficultyeasyeasyeasy
Complexity2/52/53/5
Audiencedeveloperdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires an API key from a supported provider, or a locally running compatible model server.

MIT license: free to use, modify, and distribute, including commercially, with attribution.

So what is it?

Pie is a terminal-based AI coding assistant that you run inside a software project. Once started, you type requests in plain English and the tool reads files, makes edits, runs shell commands, and keeps memory of your preferences across sessions. It is a rewrite of an earlier project called pi, rebuilt in the Rust programming language for performance and reliability. To use it, you point pie at your project folder, connect it to an AI provider by setting an API key, and then have a conversation with it. You can ask things like "summarize this repository", "fix the failing tests", or "add a README example and run the checks". The tool handles the file reading, editing, and command running on your behalf. When a session ends, pie saves the transcript so you can pick up where you left off with the resume option. Pie works with several popular AI services, including Anthropic, OpenAI, Groq, Mistral, Gemini, and OpenRouter. You can also point it at a locally running AI model if you set up a compatible local server. You switch between providers and models at any time from inside the session. One notable feature is triggers. You describe an automation in plain chat, such as "when this file appears, run the tests", and pie converts that into an ongoing rule that checks conditions in the background and fires when they match. This is useful for watching for build artifacts, file changes, or events from external tools. Triggers run in a separate background process so they do not interrupt your main conversation. All session history, memory notes, stored API keys, and configuration live in a folder called .pie in your home directory by default. The project is open source under the MIT license and is built and tested using standard Rust tooling.

Copy-paste prompts

Prompt 1
Help me install pie and connect it to my Anthropic API key.
Prompt 2
Ask pie to summarize this repository and fix any failing tests.
Prompt 3
Show me how to set up a pie trigger that runs tests when a build artifact appears.
Prompt 4
How do I resume my last pie session in this project?

Frequently asked questions

What is pie?

A terminal-based AI coding assistant, rewritten in Rust, that reads files, makes edits, runs commands, and remembers your preferences across sessions.

What language is pie written in?

Mainly Rust. The stack also includes Rust.

What license does pie use?

MIT license: free to use, modify, and distribute, including commercially, with attribution.

How hard is pie to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is pie for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.