Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@timmyjl12/pi-agy-bridge

Latest version: v0.4.7

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: timmyjl12
14 Versions
3.2K Downloads

Scan summary

@timmyjl12/pi-agy-bridge was last scanned on 29 Nov 2026 at version 0.4.7. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 14 versions; the latest 5 were published within 5 days (25–29 Nov 2026).
  • Findings: No rules fired in version 0.4.7.
  • Downloads: 3,196 downloads.

Versions

14 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.7 LATEST 29 Nov 2026 No rules fired
0.4.3 26 Nov 2026 No rules fired
0.4.2 26 Nov 2026 No rules fired
0.4.1 26 Nov 2026 Not shown
0.3.3 25 Nov 2026 Not shown

No rules fired in 0.4.7

Findings

Findings for v0.4.7. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.4.7; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

pi-agy-bridge

Use Google Antigravity models (Gemini, Claude, GPT-OSS) in pi through the official agy acp server.

It follows the design of pi-claude-code: pi keeps the conversation, the approvals and the tool execution; agy is only the model. Every pi request becomes one ACP prompt turn. When the model wants a pi tool it writes a small tool-call block, pi runs the tool, and the next request carries the result. Nothing is parked between requests, so a slow tool (a long pytest run, a user dialog) can take as long as it needs and there is no turn time limit.

Status: 0.4.7. Fixes a race in 0.4.6's conversation lock: when several pi processes took over a lock left by a crashed process at the same moment, two could win (about 1 round in 15 under stress), and both could then resume the same agy conversation. A stale lock is now replaced only by the holder of an exclusive takeover guard (1,200 stress rounds, exactly one owner every time). Verified live on agy 1.5.19: session/new with disableBuiltInTools, quota notices classified as quota errors, and five racing restarts of an extra account with no EBUSY. 0.4.6: Tested on agy 1.5.19 (ACP contract identical to 1.5.18); google-antigravity 0.1.24 is still the latest SDK. Fewer wasted model calls and safer session reuse, from a trace and agy-store audit of real use: about 29% of agy generations followed a native agy tool call the model made despite the carrier agent having no tools (read, grep, manage_task), which agy answered with "unknown tool" and a re-plan. Now a native call named like one of pi's tools becomes that pi tool call at once, and every session asks agy to drop its built-in tools (disableBuiltInTools). Extra accounts no longer fail with could not prepare the account log (EBUSY) (each agy start gets its own log file). A pooled agy conversation is locked to its pi process, so a second pi process replays instead of resuming the same conversation; a pi-context history rewrite also drops the on-disk resume record. Old agy conversations of this package (not referenced by a resume record) are pruned after PI_AGY_KEEP_DAYS (7); agy itself keeps them forever since 1.5.15. Also fixed: a prompt could still be sent after an abort, a transient sign-in timeout hid an API-key account for five minutes, a billed answer starting with ⚠ was reported as an error, usage of earlier replay parts was lost when a later part failed, and the CACHE-MISS check after a recovery prompt. 0.4.4: More agy prompt-cache hits: each account now keeps up to 8 reusable sessions (PI_AGY_MAX_SESSIONS, was 2). An audit of 8 days of real use showed subagent fan-out on one account evicting pooled sessions, so their next turn replayed history uncached (44% misses at 6+ concurrent sessions). With PI_AGY_TRACE=1, a continued session whose prompt the backend served mostly uncached is tagged CACHE-MISS, separating backend cache misses from bridge replays. 0.4.3: Large conversation replay no longer inflates Pi's context estimate and triggers unnecessary compaction. Billing still includes every reported replay turn. 0.4.2: agy 1.5.18 retries a failing backend (503 "high demand", 429) silently for minutes; the bridge now reads agy's failed-attempt steps from its conversation store and stops a turn with no output after PI_AGY_BACKEND_RETRIES (3) attempts, reporting agy backend unavailable: … or agy quota exceeded: … so fallback chains move on in seconds instead of after the 120 s silence guard. The account menu has Use agy login (remove API key) (also /agy-bridge use-agy-login <id>) to go back from an API key to the account's own agy login folder. 0.4.1: Version bump for the npm release of 0.4.0 (no code change). 0.4.0: Continued conversations reattach to agy's own stored conversation (ACP session/resume) instead of re-sending history; a read-only check of agy's conversation store falls back to replay when another client or branch continued it. Any account can optionally sign in with a Gemini API key set in /agy-bridge menu (agy's gemini-api-key method); without one, every account keeps using the real agy CLI with its own Google login. agy's transient "⚠ API error (attempt N)" retry lines no longer leak into answers mid-stream, models carry reference prices from pi's catalog, and a new end-to-end test drives the real pi CLI against a scripted agy. agy 1.5.18 is tested (compat probe identical to 1.5.17); google-antigravity 0.1.24 is still the latest SDK. 0.3.3: Leading quota warnings now trigger fallback even after billable thinking, concurrent pi processes use isolated per-account ACP logs, internal replay ACKs can no longer abort the real request as tool calls, and reasoning-only or whitespace-only answers get one bounded same-session recovery retry without losing buffered text or truncated tool calls. 0.3.2: Large conversation replay is now sequential and bounded, model-window overflow triggers pi compaction before any model call, and switching providers recomputes context from the full pi transcript. agy 1.5.17 and google-antigravity SDK 0.1.24 are tested. 0.3.1: active agy turns no longer hit pi's idle request timeout merely because their total duration exceeds it: every ACP update refreshes that deadline, while the independent silence guard still cancels inactive turns. 0.3.0: agy 1.5.16 and the google-antigravity SDK 0.1.24 are now tested; agy 1.5.17 is also recorded and tested with an identical ACP contract. agy 1.5.16 retired gemini-pro-orchestrator-g1-pro; its orchestrators are now gemini-pro-orchestrator (Carbon), gemini-pro-orchestrator-argon and gemini-pro-orchestrator-neon, and Gemini 4 Carbon (low, medium, high) is new. The SDK change (a removed InputConfig.use_interactions_api field) does not touch the bridge, which uses the SDK only as a drift canary. Stalls and timeouts are now easier to diagnose: an extra account keeps its previous agy log as acp.prev.log, and with PI_AGY_TRACE=1 a stalled or timed-out turn records what agy last sent and when. agy 1.5.16 also forwards subagent and workflow questions to the editor; the bridge's carrier agent has no agy tools, subagents or skills, so agy never asks them here. 0.2.1: Extra-account sign-in works on agy 1.5.14: agy now prints a link and waits for the authorization code, so the bridge opens the link and asks for the code in a dialog. 0.2.0: Multiple Antigravity accounts: each extra account runs as its own provider agy-<alias or id> with its own login, managed from /agy-bridge menu or the /agy-bridge account commands; verified live on agy 1.5.14 with two Google accounts answering side by side. agy 1.5.14 is now tested: it refuses pi's appended system prompt silently (no notice for ~2 min), which auto now detects with a 30 s refusal probe and answers inline (see Multiple Antigravity accounts). 0.1.5: the default bridge home now honors Pi's configured agent directory (PI_CODING_AGENT_DIR). Every Pi session shutdown now recycles the outgoing runtime instead of permanently latching it shut, so a late pi-advisor retry can start a fresh ACP process; explicit terminal disposal remains terminal. The compatibility probe passed on agy 1.5.8, 1.5.9 and 1.5.12; the drift from 1.5.9 to 1.5.12 is additive only (the gemini-4-neon family, gemini-pro-orchestrator-neon, and xhigh as a thought_level). The google-antigravity SDK was then current at 0.1.23. On 2026-11-14 (agy 1.5.9) the Antigravity backend began refusing pi's default system prompt sent through the append hook with RESOURCE_EXHAUSTED; live gemini-4-hydrogen turns and pi-subagents runs succeed through the auto inline fallback (see PI_AGY_SYSTEM_PROMPT). Earlier live bridge checks passed on agy 1.5.8. Live turns succeeded on gemini-3.8-flash, gemini-4-hydrogen (including xhigh), and gemini-pro-orchestrator-g1-pro. A real pi surface check with the configured extensions also passed. Claude, GPT-OSS and the gemini-4-neon family have not been exercised in a live model turn.

Requirements

  • pi 1.5 or newer, Node 22.19 or newer
  • the Antigravity CLI agy 1.5.1 or newer, installed and logged in (run agy once and sign in)

Install

pi install npm:@timmyjl12/pi-agy-bridge

or try it for one run: pi -e npm:@timmyjl12/pi-agy-bridge. To develop on it, install a local checkout instead (pi install /path/to/pi-agy-bridge); keep only one of the two, or the provider registers twice.

Loading the extension starts nothing: no process, no network. The first request starts one shared agy acp process.

Use

Models appear as agy/<id> in /model:

Model Thinking levels
agy/gemini-4-argon, agy/gemini-4-carbon, agy/gemini-3.8-flash, agy/claude-opus-5-5, agy/claude-sonnet-5-5 low, medium, high
agy/gemini-4-hydrogen low, medium, high, xhigh (reported by agy 1.5.8)
agy/gemini-4-neon low, medium, high, xhigh (reported by agy 1.5.12)
agy/gemini-pro-orchestrator (Carbon), agy/gemini-pro-orchestrator-argon, agy/gemini-pro-orchestrator-neon no selectable reasoning level (agy 1.5.16; earlier releases called the Argon orchestrator gemini-pro-orchestrator-g1-pro)
agy/gpt-oss-120b-medium fixed (medium)

The list is what your agy reports, so new models appear without an update. pi's "off" thinking level is not offered because agy cannot switch thinking off.

Command What it does
/agy-bridge or /agy-bridge menu full-screen accounts & settings menu (same keys as pi-advisor: ↑↓ move, ←→ pane, Tab section, / search, Enter select, Esc back/close)
/agy-bridge status one line per account: sign-in state, agy version, process, pooled sessions
/agy-bridge doctor [id] handshake, compatibility with this package, features, models, process, hooks (no model call, no quota)
/agy-bridge reset [id\|all] stop agy process(es) and forget pooled sessions
/agy-bridge accounts list accounts, providers and recorded Google accounts
/agy-bridge add <id> [alias] add an Antigravity account (then sign in)
/agy-bridge login <id> sign an extra account in, or switch it to another Google account
/agy-bridge alias <id> [alias] rename the provider to agy-<alias> (empty clears)
/agy-bridge email <id> [email] pin or clear the expected Google account by hand
/agy-bridge enable\|disable <id> show or hide an account's models (its login is kept)
/agy-bridge remove <id> forget an account; asks before deleting its saved login
/agy-bridge check [id] / models [id] start an account once and list its models (no prompt, no quota)

Every menu entry has a command and vice versa. Arguments complete with Tab.

Multiple Antigravity accounts

agy keeps one login per OS user (on Windows the Credential Manager entry gemini:antigravity). An extra account gets its own folder, <PI_AGY_HOME>/accounts/<id>/, and its own agy acp process, started so that agy keeps that account's login in a file inside the folder instead of the shared keyring. pi lists it as a separate provider, agy-<alias or id>, with the models that account's plan offers:

/agy-bridge add acct2          # or: /agy-bridge menu → Add account
# your browser opens: sign in with the second Google account, then paste the
# authorization code (or the full URL of the page you land on) into pi's prompt
/agy-bridge accounts
agy                default    agy's own login     enabled
agy-acct2          acct2      timm…2385@gmail.com enabled

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @timmyjl12/pi-agy-bridge

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229