● PRODUCTION // v1.3.0

𝕏 ASSISTANT

Editorial Copilot & Post Creator β€” Cloud & Nano AI

Context-aware reply drafting and viral post creation directly inside 𝕏 (Twitter) with zero API paywalls. Powered by official Google Gemini Cloud REST API (gemini-3.1-flash-lite, <220ms), on-device Gemini Nano, on-screen Floating HUD, and mandatory human review before publishing.

Cloud API (gemini-3.1-flash-lite) Gemini Nano (On-Device) Quad-Engine Cascade On-Screen Floating HUD 7 Post Archetypes Zero API Cost ($0/mo) MIT Open Source

Amplifying Human Voice, Not Replacing It

Most social AI tools attempt to automate speech: churning out robotic, sycophantic replies that pollute public discourse. 𝕏 Assistant is strictly an editorial copilot.

STEP 01 // CONTEXT Tweet Ingestion

Reads author, text, thread context, and intent directly from 𝕏 DOM without leaving the feed.

STEP 02 // SELECTION Tone Calibration

User selects desired stance: Insightful, Supportive, Witty, Counter-point, or Question.

STEP 03 // INFERENCE AI Drafting

Gemini Cloud REST API (<220ms) or local Gemini Nano synthesizes reply with intelligent cascade fallback.

STEP 04 // MANDATORY Human Review Gate

User reviews, edits, refines, and approves the text. The assistant never posts on your behalf.

STEP 05 // COMPOSER Inserted to 𝕏

Approved text drops into the native 𝕏 composer. The user retains sole publication authority.

01 // CAUSALITY

Sub-Second Interaction

By utilizing on-device Gemini Nano when available, drafting latency drops below 250 milliseconds. The interaction feels like an extension of thought rather than a round-trip network query.

02 // SOVEREIGNTY

Zero $100/mo API Paywall

Operates entirely via client-side DOM injection and your existing authenticated sessions. No Twitter/X Enterprise API subscriptions, no monthly tokens, and no commercial credit cards.

03 // VERIFIABILITY

MIT Open-Source Code

Every single line of extension code is publicly auditable on GitHub. You can inspect the source code, verify that zero telemetry scripts exist, or build the extension from source.

Experience the Copilot Causality Flow

Simulate how 𝕏 Assistant analyzes context, drafts tone-calibrated responses across four modular AI engines, and presents them for human approval.

✦ Interactive Editorial Simulation: Uses predetermined editorial drafts to demonstrate copilot causality. Zero external AI API keys or network requests are executed from this showcase.
𝕏 Assistant v1.3.0 Simulator // Feed Copilot
Active Engine: Cloud REST API (gemini-3.1-flash-lite)
S
swyx (Latent Space) @swyx Β· 2h
The shift to local on-device SLMs is accelerating faster than anticipated. Sub-second latency and zero API cost changes the economics of ambient software.
πŸ’¬ 48 πŸ” 124 ❀️ 892 πŸ“Š 42.1K
Select Execution Engine 4 Modes
Select Reply Persona πŸ’‘ Thoughtful Insight
Draft Review (Editable) Human Review Gate
0 / 280 chars
Native 𝕏 Composer Target IN-FEED INJECTION
Click "Insert into 𝕏 Composer" above to simulate native insertion...

Four Architectural Pathways & Intelligent Cascade Fallback

𝕏 Assistant implements four distinct AI execution pathways with an automated cascade failover system. From cloud-speed REST inference to local silicon and browser automation, every environment is supported with zero middleman servers.

INTELLIGENT CASCADE PIPELINE Automatic failover sequence ensures 99.9% reply reliability
PRIMARY // SPEED Cloud REST API <220ms β€’ Zero Tabs
SILICON // OFFLINE Gemini Nano <250ms β€’ Local GPU
HEADLESS // COOKIE Headless Direct ~650ms β€’ Zero Tabs
FAILOVER // DOM Web Tab Automation ~1.4s β€’ Auto-Close
● RECOMMENDED <220MS

01 / Cloud REST API

True asynchronous REST API integration calling Google's official generativelanguage.googleapis.com endpoint directly.

  • Zero tab overhead: Pure background HTTP fetch without opening any browser tabs.
  • Lightning latency: Under 220ms response time powered by gemini-3.1-flash-lite.
  • BYOK security: Uses free Google AI Studio key stored strictly in chrome.storage.local.
  • Multi-model choice: Select between Flash Lite, 2.5, 2.0, or 1.5 Pro on the fly.
● LOCAL NPU/GPU <250MS

02 / Gemini Nano

Runs directly on the user's physical device via Chrome's experimental window.ai (Prompt API).

  • Zero external network calls: Inference executed entirely on local silicon.
  • Sub-second response: 150ms–250ms average generation time.
  • Offline capability: Operates without an active internet connection.
  • Hardware dependency: Requires Chrome 128+ with Prompt API enabled.
● SESSION AUTH ~650MS

03 / Headless Direct

Communicates directly with Google Gemini using the user's active browser Google session cookies.

  • No third-party proxy: Encrypted client-to-Google session handshake.
  • Zero API subscription: Bypasses Twitter's $100/mo API paywall completely.
  • Zero tab overhead: Operates silently in background worker without tabs.
  • Frontier reasoning: Direct Gemini 1.5 / 2.0 server-side intelligence.
● DOM AUTOMATION ~1400MS

04 / Web Tab Automation

Scripted browser automation interacting with the web interface at gemini.google.com.

  • Universal fallback: Ensures generation for any user without API key or Nano hardware.
  • Zero setup required: Operates with existing web login session.
  • Temporary tab lifecycle: Opens a background tab, extracts response, and auto-closes.
  • Browser dependency: Requires active login on gemini.google.com.

Engine Comparison Matrix

Attribute Cloud REST API (Primary) Gemini Nano (On-Device) Headless Direct Web Tab Automation
Execution Location Google Cloud REST API Local Device Silicon (GPU / NPU) Google Cloud Infrastructure Google Web Interface
Network Transmission REST to generativelanguage.googleapis.com 0 Requests (100% Offline) Direct session endpoints Browser Tab to gemini.google.com
Average Latency <220ms (Fastest Cloud) <250ms (Instantaneous) ~650ms – 850ms ~1,200ms – 1,800ms
Browser Tab Overhead 0 Tabs (Direct async fetch) 0 Tabs (Local window.ai) 0 Tabs (Service worker) 1 Auto-Closing Tab
Authentication / Keys Free Google AI Studio API Key None (Chrome 128+ window.ai) Google Browser Session Cookie gemini.google.com Web Login
API Subscription Cost $0 / mo (Free Tier) $0 / mo $0 / mo $0 / mo
Third-Party Intermediaries None (Direct client-to-Google) None (Strict client sandbox) None (Direct client-to-Google) None (Direct client-to-Google)

On-Screen Floating HUD & Viral Creator Studio

v1.3.0 brings a persistent, non-intrusive HUD directly onto the 𝕏 feed alongside an AI Post Creator powered by 7 battle-tested viral archetypes.

● IN-DOM DOCKING

The Draggable Timeline HUD

Never leave the timeline to tweak generation parameters. The Floating HUD lives as a lightweight, glassmorphic dock directly in the 𝕏 DOM. Drag it anywhere, collapse it to a discrete pill, or switch tones on the fly.

  • Live Engine Telemetry: Monitor active engine, token latency, and failover status in real-time.
  • 1-Click Tone Switcher: Instantly toggle between Quick, Thoughtful, Witty, or Custom personas.
  • Custom Prompt Editor: Adjust temperature, post-processing filters, or persona instructions directly inside the timeline.
  • Minimal Footprint: Zero layout shift on x.com, auto-collapsing when scrolling deep feeds.
hud_dock.in-dom // x.com
𝕏 Assistant On-Screen Floating HUD interface running on timeline
CREATOR STUDIO ENGINE

7 Calibrated Viral Post Archetypes

Generate original long-form posts, threads, and high-signal insights engineered for high engagement and zero corporate fluff.

01 // Actionable Thread Starter

Hooks attention with an immediate high-value framework, bullet points, and step-by-step technical breakdown.

02 // Contrarian Take

Challenges popular timeline dogmas with nuanced, defensible counter-arguments and firsthand builder lessons.

03 // Story & Lesson

Transforms raw production failures, pivots, and architectural milestones into relatable narrative storytelling.

04 // Tool Stack

Curates high-utility developer tools, libraries, and workflow enhancements structured for bookmarking and saving.

05 // High-Engagement Question

Sparks deep community discussion with provocative, open-ended technical dilemmas that invite builder replies.

06 // Data Breakdown

Distills complex industry benchmarks, telemetry, and metrics into digestible takeaways with clear executive summaries.

07 // Motivational Framework

Inspires builders, founders, and engineers to push beyond creative limitsβ€”grounded in real craft, discipline, and execution without superficial platitudes.

Six Context-Aware Reply Personas

Trained prompt engineering avoids generic AI clichΓ©s ("Great thread!", "Delve into"). Each persona is calibrated for authentic human discourse.

⚑
Quick & Natural

Concise, conversational, and direct. Ideal for fast mobile acknowledgments, casual camaraderie, and friendly feed interactions without flowery prose.

πŸ’‘
Thoughtful Insight

Adds intellectual value, cites systemic second-order effects, and synthesizes technical nuances. Perfect for establishing credible expertise on tech timelines.

πŸ‘
Agree & Supportive

Validates the author's premise while reinforcing it with a complementary example or shared builder experience. Constructive and encouraging.

πŸ˜‚
Witty & Humorous

Dry, tech-insider satire and clever wordplay. Lightens intense timeline debates without descending into cheap sarcasm or insults.

πŸ”₯
Counter-Point

Respectful, rigorous intellectual pushback. Identifies edge cases, alternative architectures, or unexamined assumptions to foster genuine debate.

❓
Ask a Question

Poses a penetrating open-ended inquiry derived directly from the post's core claim. Designed to invite author replies and thread amplification.

Intelligent Output Guardrails (v1.3.0)

All generated replies pass through client-side regex cleansing filters that automatically strip model thinking scratchpads (<thought> blocks), conversational preambles ("Here is a reply:"), and extraneous asterisks. Replies are 100% natural, polished, and ready for immediate human review.

Transparent, Private, Verifiable

We believe browser extensions require the highest degree of security disclosure. 𝕏 Assistant operates with complete cryptographic integrity.

01 // ZERO SERVERS

No Middleman Server

GMD operates no central API relay for 𝕏 Assistant. Requests go either straight to your local device NPU (Gemini Nano) or directly to Google. Your tweets are never routed through our hardware.

02 // ZERO HARVESTING

No Credential Storing

The extension never asks for, captures, or persists passwords, tokens, or financial credentials. Authentication relies entirely on your browser's existing secure cookie jar.

03 // MIT LICENSE

100% Open Source

Published on GitHub under the permissive MIT license. Anyone can audit the content scripts, verify permissions in manifest.json, or contribute improvements.

Technical Specifications

Target Platform 𝕏 (formerly Twitter) web interface (x.com / twitter.com)
Browser Compatibility Google Chrome 128+ (for on-device Nano), Brave, Arc, Edge
Architecture Manifest V3 (Content Script DOM Injector + Service Worker)
AI Inference Models Google Gemini Cloud REST API (gemini-3.1-flash-lite) / Gemini Nano (Local) / Headless Direct / Web Tab Automation
Source Repository https://github.com/gomedz/twitter-auto-reply
Software License MIT Open Source License
Product Maturity Production Release v1.3.0 (Verified & Published)