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.
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.
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
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 runs
Who pays
What the agent gets
Piye credits
Your plan
Piye's full agent: every tool
Your own API key
Your provider, directly
The standard IDE tools: files, terminal, editor, chat
Ollama, on your computer
Nothing
The 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
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 Mac
What it does
Cmd+P
Go to any file
Cmd+Shift+P
Run any command
Cmd+Shift+A
Show or hide the agent
Cmd+L
Start a new chat
Cmd+K
Edit a selection by describing it
Ctrl+`
Show or hide the terminal
Cmd+Shift+F
Find in files
Ctrl+Shift+G
Source control
Cmd+Shift+D
Run and debug
Cmd+Shift+O
Operations
Cmd+Shift+X
The Marketplace
Cmd+B
Show 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
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
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.
Language
Debugger
Tests
JavaScript, TypeScript
JavaScript debugger
Jest, Vitest
Python
debugpy
pytest, unittest
Go
Delve
go test
Rust
lldb-dap
cargo test
Swift
lldb-dap
swift test
C, C++
lldb-dap
make test
Java
java-debug
Gradle or Maven
Kotlin
The Kotlin server's debugger
Gradle
C#
netcoredbg
dotnet test
Dart
Dart's debugger
dart test
PHP
Not yet
PHPUnit
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
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
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 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.
Mode
What it does
Good for
Build
Does the work: edits, commands and checks
"Add rate limiting to the login route"
Ask
Looks wherever the answer is, and changes nothing
"How does auth work here?"
Architect
Writes a plan you agree before anything changes
A feature with moving parts
Debug
Reproduces the bug, finds the cause, fixes it, shows it gone
A 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
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
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/
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
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
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.
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
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.
Group
Hosts
Quick deploy
Vercel, Cloudflare Pages, Railway, Hostinger
EU sovereign
Hetzner with Coolify, OVHcloud, Scaleway
Self-hosted
Coolify, on your own server
Global cloud
AWS 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
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
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.
Computer
Command sandbox
Mac
Always available
Linux
When bubblewrap is installed and allowed
Windows
Not 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
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.
Setting
What it does
Privacy Mode
Blocks Piye Cloud and your own keys. Local models keep working
Disable AI
Turns off every AI feature
Keep my chats for
30 days, 90 days (the default), 1 year or forever
Code Indexing
Whether a map of the project's folders goes with each message
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.
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