gitwtfhub

wtf is pie?

c4pt0r/pie — explained in plain English

Analysis updated 2026-05-18

60RustAudience · developerComplexity · 2/5LicenseSetup · easy

TL;DR

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

Why would anyone build with this?

REASON 1

Ask pie to summarize an unfamiliar repository in plain English.

REASON 2

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

REASON 3

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

REASON 4

Resume a previous coding session with full conversation memory.

What's in the stack?

Rust

How it stacks up

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 spin it up?

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.

Wtf does this do

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.

Yoink these 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

wtf 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.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.