Piye

Resources

Developer guide.

How Piye works when you sit down to code: one project in Visual and Code, the editor, the agent, shipping, and handing work back and forth. Each chapter links to its full page in the docs.

PART 01

Start

01

Install Piye

One app, one download: Visual, Code and Piye Studio are all in it. On a Mac (Apple silicon or Intel) it's a .dmg, signed and notarized by Apple: open it and drag Piye to Applications. On Linux it's a .deb or an .rpm. Windows is coming along with Arcade.

# Debian, Ubuntu
sudo apt install ./piye_amd64.deb

# Fedora, RHEL
sudo dnf install ./piye.x86_64.rpm
  • The first launch asks: Build visually, or Write code. Both stay one click away
  • Settings, General, Start in decides where Piye opens every time
  • Node, language servers, debuggers and phone tools download when a project needs them, pinned and checked
Read the full page
02

Open the same project

A Piye project is a normal folder with Git, plus a .piye folder for Piye's notes. Visual and Code are two sides of the same project, switched with the buttons at the top of the window. A founder can build in Visual while you work in Code: their changes are real commits in the history, and yours show up in their preview. There is no export step and nothing to sync.

Read the full page
03

Open, clone or create

With no project open, Code shows its start screen: Open folder (Cmd+O), Clone from GitHub (one of your repositories, or any Git address), New project, and Piye Studio.

  • A folder from outside Piye asks Trust this folder? once. Until you trust it, Piye reads and edits it but runs none of its programs
  • File: Add Folder to Workspace puts, say, a web app and its API in one window
  • Each window holds its own project, and remembers its size and place
Read the full page
04

Set up the AI

Sign in to run Piye's full agent on credits, add your own API key, or run models on your own machine. You can mix them: signed in, credits come first, and your key covers the models your plan doesn't include.

Where it runsWho paysWhat the agent gets
Piye creditsYour planPiye's full agent: every tool
Your own API keyYour provider, directlyThe standard IDE tools: files, terminal, editor, chat
Ollama, on your computerNothingThe standard IDE tools
ollama pull llama3.2
# then Settings, AI, Local Ollama: Use local Ollama
  • Keys go in Settings, AI, Personal API keys, never in a chat
  • Anthropic, OpenAI, Google, xAI and Mistral, on every plan
  • Only API keys runs every Code request on your keys
  • Privacy Mode blocks Piye Cloud and your keys; Ollama keeps working
Read the full page
PART 02

Work in Code

05

Find your way around

The title bar across the top, the side panel on the left, the editor in the middle, the bottom panel (Problems, Output, Debug Console, Terminal, Ports), and the right panel for the agent and Operations.

Keys on a MacWhat it does
Cmd+PGo to any file
Cmd+Shift+PRun any command
Cmd+Shift+AShow or hide the agent
Cmd+LStart a new chat
Cmd+KEdit a selection by describing it
Ctrl+`Show or hide the terminal
Cmd+Shift+FFind in files
Ctrl+Shift+GSource control
Cmd+Shift+DRun and debug
Cmd+Shift+OOperations
Cmd+Shift+XThe Marketplace
Cmd+BShow or hide the side panel
  • On Windows and Linux, use Ctrl where a Mac uses Cmd
  • The side panel's name is a menu: Explorer, Apps, Deploy, Search, Source Control, Run and Debug, Testing, Extensions, Disk and OXP
  • The agent, Operations and the terminal can each move into a window of their own
Read the full page
06

The editor and languages

Monaco, the editing engine inside VS Code, with each language's standard language server. Piye downloads a language's tools the first time you open one of its files, pinned to known versions and checked before use.

  • 20+ languages, including TypeScript, Python, Go, Rust, C and C++, Java, Kotlin, C#, Swift, PHP and Dart
  • Format, sort imports and fix on save, with your project's own Prettier and ESLint
  • Gray Tab suggestions as you type, and Cmd+K to change a selection by describing it
  • Markdown preview, Jupyter notebooks, snippets and side-by-side merge conflicts
Read the full page
07

Run, debug and test

Debug (language) File runs the open file under the debugger. For arguments, an environment or attaching to a program, add a launch configuration. It lives in .piye/launch.json, so the team can share it.

LanguageDebuggerTests
JavaScript, TypeScriptJavaScript debuggerJest, Vitest
Pythondebugpypytest, unittest
GoDelvego test
Rustlldb-dapcargo test
Swiftlldb-dapswift test
C, C++lldb-dapmake test
Javajava-debugGradle or Maven
KotlinThe Kotlin server's debuggerGradle
C#netcoredbgdotnet test
DartDart's debuggerdart test
PHPNot yetPHPUnit
  • Run Build Task (Cmd+Shift+B) runs your build script, or a task in .vscode/tasks.json
  • The Testing view runs one test, a file or all of them, with the failure's output
Read the full page
08

The terminal

Your own shell, in the project's folder, with your usual tools. Piye style shows each command as a card with its output; Classic is a familiar terminal with split panes. Switch at the top right of the panel.

  • Next suggests commands from the project's own files: scripts, workspace packages, Docker, Makefiles, Python, Go and Rust setups, deploy files and Git state. No AI involved
  • Commands that deploy or reset go into the box for you to read first
  • A failed command goes to the agent, with its output, in one click
  • The Ports tab lists what your programs listen on
Read the full page
09

Git

Stage and commit, amend, sign off, switch and create branches, pull and push, with diffs side by side. Cmd+Enter commits; with nothing staged, Piye commits every change.

  • Pull by merge or by rebase (Settings, Version Control)
  • Changed lines and who changed them, right in the editor
  • The agent always asks before it pushes
Read the full page
PART 03

The agent

10

Four modes

The mode menu is under the chat box, beside the model. A new chat starts in Build. For truly big work, the agent offers a choice first: Plan it first, or Go straight to it.

ModeWhat it doesGood for
BuildDoes the work: edits, commands and checks"Add rate limiting to the login route"
AskLooks wherever the answer is, and changes nothing"How does auth work here?"
ArchitectWrites a plan you agree before anything changesA feature with moving parts
DebugReproduces the bug, finds the cause, fixes it, shows it goneA failing test or a stack trace
  • Type while it works: it reads your correction at its next step
  • Queue the next task, or Stop at any time. What's done stays, with its Undo
  • Type @ to reference files, or attach folders, screenshots and Git changes
Read the full page
11

Review, Auto and undo

Review, the default, waits for your Accept on every file and command. Auto applies edits as they land, and deleted files go to Piye's trash. In both, every change keeps an Undo, and a reply's Undo puts back every file it changed.

  • Always waits: Git push, deploys and publishing
  • Always waits: rm, sudo, and anything that can delete database data
  • Always waits: .env and other secret files
  • Always waits: commands that change a folder outside the project, or run outside the sandbox
Read the full page
12

Rules, memory and skills

The agent reads the project's rules at the start of every chat, keeps notes between chats, and uses skills for the jobs you repeat. A project set up for Cursor, Claude Code or Copilot works as it is.

.piye/rules.md                # your instructions for the agent
.piye/rules/working-rules.md  # rules it saved when you asked
.piye/skills/<name>/SKILL.md  # a skill: its name, when to use it, the steps
.piye/memory/notes.md         # its notes, never committed

Also read: AGENTS.md  CLAUDE.md  GEMINI.md  .cursorrules  .windsurfrules
           .github/copilot-instructions.md  .cursor/rules/  .claude/rules/
Read the full page
13

Connect your tools

MCP servers give the agent tools: read GitHub issues, query a database, look at a Figma frame. Connect them from the Marketplace (Cmd+Shift+X) in a click. Piye writes the configuration, and keeps keys in your computer's secure storage.

  • Your own servers: Settings, Integrations, Add a server, or edit mcp.json
  • A project can list its own in .piye/mcp.json; they stay off until you trust the folder
  • First use in a chat asks: Allow once, Allow for this chat, or Don't
Read the full page
14

Many projects at once

Piye Studio runs the agent across all your projects. Pick a project, its branch and where it runs (This Mac, or a repository from GitHub), describe the task, and follow several chats at once. Review changes shows Last Agent Turn, Uncommitted, Staged and Unstaged, then commit.

  • Ready-made starts: Explain this project, Fix what's broken, Review my changes, Plan a feature
  • And: Map the architecture, Triage failing checks, Cover the changes with tests
  • One agent per project at a time; a message to a busy one waits
Read the full page
15

Bring your own agents

Claude Code and Codex run in Piye's chat with your own sign-in, billed by their makers, with Piye's standard IDE tools. Bring your chats imports conversations from Claude Code, Cursor and Codex, so Piye's agent can carry on where they stopped.

Read the full page
PART 04

Ship

16

Run it for real

The Apps view recognises the apps in the project and runs them. Phone apps preview in a device frame or on a real simulator; websites open in Piye's Simple Browser, or in your own browser from Ports.

  • Expo, React Native, Capacitor, Swift, Kotlin, Electron and Tauri
  • iPhone and iPad simulators need only Xcode, on a Mac; Piye sets up Android itself
  • Your own phones: Expo Go from a QR code, Android over Wi-Fi, iPhone over a cable once, then Wi-Fi
  • When a process fails, send its error and output to the agent
Read the full page
17

Ship from Deploy

Choose a host, sign in once, and deploy: Piye runs the host's own tool for you. Environment variables show by name with their sync state, never their values, and keys stay in your computer's secure storage.

GroupHosts
Quick deployVercel, Cloudflare Pages, Railway, Hostinger
EU sovereignHetzner with Coolify, OVHcloud, Scaleway
Self-hostedCoolify, on your own server
Global cloudAWS Amplify, Google Cloud Run
  • Docker: generate a Dockerfile, manage images and containers, push to a registry
  • Phone apps ship from Apps, Stores: EAS builds, TestFlight and Google Play's internal track
  • The agent never deploys without asking
Read the full page
18

Watch Operations

Operations reads the hosts, CI on GitHub and app store listings you're signed in to, and shows alerts by level: critical, warnings and info. It checks every five minutes and only reports what the services report. If one didn't answer, it says it couldn't fully check.

  • Cmd+Shift+O, beside the agent or in its own window
  • Ask the agent why production is failing: it starts from the real alerts
  • Connect cloud adds uptime, response time, certificates and security headers, with email alerts
Read the full page
PART 05

Trust and teamwork

19

Security

The agent works on your real computer, so Piye sets firm rules. Untrusted folders run nothing until you trust them. Commands run in a sandbox that writes only inside the project. A web address that carries data asks before it's opened.

ComputerCommand sandbox
MacAlways available
LinuxWhen bubblewrap is installed and allowed
WindowsNot yet
  • Keys live in the Keychain or the system keyring, never in the project
  • .env files are read as names only, and key-shaped values are masked
  • Tools Piye downloads are pinned to known versions and checked before use
Read the full page
20

Privacy

Your projects, chats, Piye's notes and your keys stay on your computer. When the AI works, the request goes to the model: through Piye Cloud, or straight to the maker on your key. The app sends no usage tracking, and we don't use your projects to train public models.

SettingWhat it does
Privacy ModeBlocks Piye Cloud and your own keys. Local models keep working
Disable AITurns off every AI feature
Keep my chats for30 days, 90 days (the default), 1 year or forever
Code IndexingWhether a map of the project's folders goes with each message
Read the full page
21

The .piye folder

Piye keeps its notes about a project in .piye, at the top of the folder, so Visual, Code and Studio read the same facts. Your code never depends on it: delete it and the project still builds and runs.

PathWhat it holdsCommit it
rules.md, rules/Instructions for the agentYes
skills/The project's skillsYes
settings.json, keybindings.jsonThe project's settings and shortcutsYes
launch.jsonRun and debug configurationsYes
project.json, blueprint.jsonThe project's choices and its BlueprintYes
memory/Chats and the agent's notesNever: Piye keeps it out of Git
Read the full page
22

Handoff

Send the project to a developer by email. Piye writes HANDOFF.md from the project's facts, pushes a snapshot to a private repository on your own GitHub, and leaves out .env files, keys, certificates and your chats. The invite link works for 3 days.

  • They get a branch made for them, piye/<their name>, opening in Code with HANDOFF.md first
  • They can use their own editor (VS Code, Cursor, Zed) once you approve
  • They press Send your work; you choose Get their work and review it in Source Control
  • Remove someone and their access to the repository ends straight away
Read the full page