mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-09 11:51:15 +02:00
Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Bilal Bakr <62337003+Bil0000@users.noreply.github.com> Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com> Co-authored-by: Vitalii Yehorov <vitalyiegorov@gmail.com> Co-authored-by: Jake Leventhal <jakeleventhal@me.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Alex Southwell <saphid@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Nicholas Wasmiller <derped@mineperial.com> Co-authored-by: PB <poilmb@gmail.com> Co-authored-by: Exotic <118054752+extoci@users.noreply.github.com> Co-authored-by: Yash Singh <saiansh2525@gmail.com> Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Theo Browne <me@t3.gg> Co-authored-by: Gabriel De Andrade <30420087+gabrielelpidio@users.noreply.github.com> Co-authored-by: Dara Adedeji <76637177+SunkenInTime@users.noreply.github.com> Co-authored-by: scratchyone <scratchywon@gmail.com> Co-authored-by: Dominic Roy <dominic@sdko.org> Co-authored-by: chukfinley <chuk@chuk.dev> Co-authored-by: Primož Ajdišek <bigpod@bigpod.si> Co-authored-by: benthecarman <benthecarman@live.com> Co-authored-by: NaveDanan <nave0712@gmail.com> Co-authored-by: aaditagrawal <103925638+aaditagrawal@users.noreply.github.com> Co-authored-by: Aditya Garud <153842990+yashranaway@users.noreply.github.com> Co-authored-by: Nick Anisimov <n.anisimov.23@gmail.com> Co-authored-by: MacKinley Smith <smithmackinley@gmail.com> Co-authored-by: Yordis Prieto <yordis.prieto@gmail.com> Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> Co-authored-by: AKolenda <akole779@mtroyal.ca> Co-authored-by: Guillermo Casanova <75276669+Gigioxx@users.noreply.github.com> Co-authored-by: Otavio Salvador <otavio@ossystems.com.br> Co-authored-by: Shirish Pothi <183252392+shirishpothi@users.noreply.github.com> Co-authored-by: Ishaan Kothari <ishaanko.mail@gmail.com> Co-authored-by: Bob Fowler <bob@rjf.ca> Co-authored-by: Anton Bezdenezhnykh <gamer392@yandex.ru> Co-authored-by: ValeraZSD <48602572+ValeraZSD@users.noreply.github.com> Co-authored-by: Ephraim <ephraim39hr14m@gmail.com> Co-authored-by: Ryan Ilano <ryanilano@users.noreply.github.com> Co-authored-by: Alex <me@pixp.cc> Co-authored-by: maco <gosarmarcel7@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Tristan Knight <admin@snappeh.com> Co-authored-by: PR Batch Tester <agent@local.test> Co-authored-by: oliver <97427849+flamboh@users.noreply.github.com> Co-authored-by: kamkm <99585688+Kamkmgamer@users.noreply.github.com> Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
67 lines
3.8 KiB
Markdown
67 lines
3.8 KiB
Markdown
# Pi
|
|
|
|
T3 Code can use your existing Pi coding agent installation while keeping Pi's models, auth,
|
|
extensions, skills, context files, and native session history.
|
|
|
|
## Set Up Pi
|
|
|
|
1. Install Pi on the machine running the T3 Code server. Pi 1.0 is recommended; 0.80.5 is the
|
|
oldest version T3 Code supports.
|
|
2. Run Pi once in a terminal and finish the provider login or API-key setup you normally use.
|
|
3. Open T3 Code Settings, enable Pi, and refresh the provider.
|
|
|
|
If `pi` is not on the server's `PATH`, set Pi's binary path to the executable. Provider environment
|
|
variables and launch arguments are also available for installations that need a custom agent
|
|
directory, endpoint, or model configuration. `--provider` must be paired with `--model`. T3 Code
|
|
rejects launch arguments that change Pi's execution mode or select a session because T3 owns those
|
|
parts of the process lifecycle.
|
|
|
|
## What Carries Over
|
|
|
|
T3 Code discovers the models reported by Pi and exposes their supported thinking levels. The
|
|
thinking picker marks Pi's current configured level as the default without overriding it. Threads
|
|
use Pi's native session files for resume, rollback, and forks within the same Pi instance. Forks
|
|
preserve the native conversation through the selected turn in the destination workspace.
|
|
Switching providers uses portable conversation context. Extension
|
|
dialogs appear in the T3 Code composer, and the composer context meter follows Pi's own usage
|
|
reporting while a response streams and after it settles.
|
|
|
|
Pi skills appear in the composer's `$` menu. This includes user skills and project skills that Pi
|
|
loads for the current workspace; selecting one uses Pi's native skill expansion.
|
|
|
|
Pi loads its normal user and project extensions. Blocking `select`, `confirm`, `input`, and `editor`
|
|
dialogs work in T3 Code. Notifications appear in the work log. Pi terminal decoration such as
|
|
titles, status lines, and widgets does not have a T3 Code equivalent.
|
|
|
|
## Permission Modes
|
|
|
|
T3 Code applies the composer permission mode through Pi's blocking tool hook:
|
|
|
|
- **Supervised** asks before commands, file changes, and extension tools. Read-only tools continue.
|
|
- **Auto-accept edits** allows Pi's edit and write tools, but asks before commands and extension
|
|
tools.
|
|
- **Full access** allows tools without T3 Code approval prompts.
|
|
|
|
The **Auto** option is not shown for Pi because Pi does not expose an AI approval reviewer.
|
|
Threads that already stored Auto before Pi support was added behave and display as Supervised.
|
|
|
|
Changing the mode restarts the Pi provider session and resumes the same native conversation. The
|
|
policy covers Pi tool calls; it is not an operating-system sandbox, and code that a trusted Pi
|
|
extension runs outside a tool call remains governed by Pi's own extension trust model.
|
|
|
|
T3 Code's `delegate_task` tool creates durable child threads in the shared subagent UI. If the user
|
|
installs Pi's example `subagent` extension, T3 Code also shows its task progress and results in that
|
|
UI. Pi runs those children without a session, so they cannot be opened or resumed as T3 Code
|
|
threads.
|
|
|
|
## Troubleshooting
|
|
|
|
- If Pi is unavailable, confirm that the configured binary runs on the server machine, then refresh
|
|
the provider in Settings.
|
|
- If no models appear, open Pi directly and confirm its authentication and model configuration.
|
|
- If discovery cannot complete, T3 Code keeps Pi available with the `Pi default` model. Start a
|
|
thread to let the interactive Pi session handle any startup prompt.
|
|
- If a project extension is missing, approve the project in Pi, then start a fresh provider session.
|
|
- If a project skill is missing from the `$` menu, approve the project in Pi and refresh the provider.
|
|
- The context meter appears once Pi reports usage for the thread. Some model providers only
|
|
report usage when a response completes, so the meter can wait for the first reply.
|