gemini-1b-local-agent
Health Warn
- License Γ’β¬β License: MIT
- Description Γ’β¬β Repository has a description
- Active repo Γ’β¬β Last push 0 days ago
- Low visibility Γ’β¬β Only 6 GitHub stars
Code Fail
- network request Γ’β¬β Outbound network request in gemini-chatbox/ava_voice.js
- eval() Γ’β¬β Dynamic code execution via eval() in gemini-chatbox/core/agent_swarm.py
- exec() Γ’β¬β Shell command execution in gemini-chatbox/core/agent_swarm.py
- rm -rf Γ’β¬β Recursive force deletion command in gemini-chatbox/core/agent_swarm.py
- network request Γ’β¬β Outbound network request in gemini-chatbox/core/app_builder_engine.py
Permissions Pass
- Permissions Γ’β¬β No dangerous permissions requested
No AI report is available for this listing yet.
π Autonomous coding agent powered by Gemini 3.8 Pro with unlimited deep reasoning (no API keys required), 1B+ token context, 6 system tools & Apple HIG UI.
β If you find this project useful or interesting, please give it a Star on GitHub! It takes 1 second and helps keep development 100% free and open-source.
π 1B Gemini Local Agent
An autonomous, zero-cost AI coding agent powered by Google Gemini 2.0 Flash & Pro Exp with Deep Reasoning (1 Billion+ Token Context), equipped with 6 local system tools, 74 design & engineering skills, Apple HIG UI, live reasoning drawers, and 1-click desktop launching β completely unlimited without API keys.
π Why 1B Gemini Agent vs Other Assistants?
| Feature | π 1B Gemini Local Agent | Claude Code | Cursor | Cline |
|---|---|---|---|---|
| Model & Intelligence | Gemini 2.0 Flash / Pro Exp (Deep Reasoning) | Claude 3.7 Sonnet | Claude 3.5 / GPT-4o | Model dependent |
| Monthly Cost | $0 (100% Free) | $20 β $100+/mo | $20/mo | BYOK API costs |
| API Keys Needed | None (Unlimited Web Proxy) | Yes ($$$) | Yes ($$$) | Yes ($$$) |
| Context Window | 1 Billion+ Tokens | 200k Tokens | 128k β 200k Tokens | Model dependent |
| Local Tool Execution | Native OS / PowerShell | Bash / CLI | In-editor only | Extension sandbox |
| Design Framework | Apple HIG & Glassmorphism | CLI Terminal | VS Code Native | Webview |
| Agentic Loops | Up to 10 Autonomous Steps | Agent Loop | Composer | Agent loop |
| Built-in Skills | 74 Curated UI/UX & Tech Skills | None (Prompts only) | Rules files | Rules files |
| 1-Click Launch | Desktop Launcher (.bat) | Terminal command | App launch | VS Code install |
π Key Features
- π§ Gemini 2.0 Flash & Pro Exp with Unlimited Deep Reasoning: Full chain-of-thought thinking and reasoning capability with live thought-process drawers in the UI.
- π 100% Unlimited Without API Keys: Interfaces with Gemini Web via an OpenAI-compatible Web2API proxy. Zero billing, no credit exhaustion, no per-token charges.
- βΎοΈ 1 Billion+ Token Context Window (Zero Cost): Ingest entire codebases and massive document sets without hitting context barriers.
- β‘ 10-Step Autonomous Agentic Loop: Automatically chains up to 10 consecutive tool actions per turn (
Create fileβWrite codeβRun PowerShell commandβVerify output). - π» 6 Native Local System Tools:
run_command: Executes PowerShell terminal commands (install packages, build code, run scripts).write_file: Directly creates or overwrites local code files on your system.replace_file_content: Modifies existing code in-place without rewriting full files.grep_search: Searches codebases and workspace files for text queries/patterns.read_file: Reads workspace files.list_dir: Shallow directory inspection (1-level deep, noise-filtered).
- π¨ Apple HIG & Linear Glassmorphism UI:
- OLED dark mode (
#000000) with frosted glass panels (backdrop-filter: blur(25px)). - macOS window control buttons (π΄ π‘ π’) in sidebar and code header bars.
- Responsive mobile drawer navigation with tap backdrop overlay.
- 1-click Copy button on all code snippets.
- Built-in KaTeX math engine & text sanitizer for clean shortcut rendering.
- OLED dark mode (
- π 74 Included Design & Engineering Skills: Packed with design skills (
design-md-apple,design-md-stripe,design-md-linear.app,design-md-figma) and technical guides. - π Session Handoff Engine (
handoff.py): Seamlessly captures active conversation history from Antigravity/previous sessions so your agent never loses context. - π₯οΈ 1-Click Desktop Launcher: Launch proxy, handoff context, backend server, and open browser UI in one click via
Launch_Gemini_Agent.bator Desktop shortcut.
π οΈ Local Agent Tool Suite
| Tool | Purpose | Example Directive |
|---|---|---|
run_command |
Execute PowerShell commands | "Run python app.py" |
write_file |
Create or overwrite files | "Create test.py on Desktop" |
replace_file_content |
Edit code in-place | "Replace print statement in app.py" |
grep_search |
Search codebase for text | "Grep for 'call agent'" |
read_file |
Read file contents | "Read package.json" |
list_dir |
Inspect folder contents | "Check my Desktop folder" |
π Repository Structure
1B-gemini-Local-Agent/
βββ hero_banner.gif # Animated Hero Banner
βββ Launch_Gemini_Agent.bat # 1-Click Master Desktop Launcher
βββ skills/ # 74 Built-in Design & Engineering Skills
β βββ design-md-apple/ # Apple HIG Design System
β βββ design-md-stripe/ # Stripe SaaS Design System
β βββ design-md-linear.app/ # Linear App Design System
β βββ ... # 71 additional specialized skills
βββ gemini-chatbox/ # Agent Web Workspace & Backend
β βββ index.html # Apple HIG Glassmorphism Web UI
β βββ style.css # Apple OLED dark theme design system
β βββ app.js # SSE streaming, KaTeX & Thought Process UI
β βββ agent_backend.py # Python Flask server & 6-tool OpenAI loop
β βββ handoff.py # Context transcript extractor & handoff manager
β βββ master_launch.bat # Terminal launcher script
βββ gemini-web2api/ # Reverse-Engineered Gemini Web Proxy Server
β βββ gemini_web2api.py # Main OpenAI-compatible proxy server (Port 8081)
β βββ config.json # Proxy server configuration
β βββ start_server.bat # Standalone proxy launch script
βββ README.md # Project documentation
π Quick Start
1. First-Time Setup (Automated)
Run the first-time setup script to automatically install all dependencies and set up permissions:
SETUP.bat
(Or manually: pip install -r requirements.txt)
2. One-Click Launch (Recommended)
Simply double-click Launch_Gemini_Agent.bat (or your Desktop shortcut).
It will automatically:
- Auto-detect Python and start
gemini-web2apiproxy on port8081in background. - Auto-initialize permissions so tool calling and file operations are ready instantly.
- Extract and package conversation context (
handoff.py). - Boot up the Agent Backend on port
5000. - Open the Gemini Agent UI at
http://127.0.0.1:5000directly in your browser.
π οΈ Manual Start (Optional)
If you prefer to start components manually in separate terminals:
Terminal 1: Start Web2API Proxy
cd gemini-web2api
python gemini_web2api.py
Terminal 2: Run Agent Handoff & Backend
cd gemini-chatbox
python handoff.py
python agent_backend.py
Open gemini-chatbox/index.html in your browser.
π€ System Architecture
ββββββββββββββββββββββββββββ SSE Stream ββββββββββββββββββββββββββββ
β Gemini Web UI β ββββββββββββββββββββββββΊ β Agent Backend (Flask) β
β (index.html / app.js) β β (agent_backend.py:5000)β
ββββββββββββββββββββββββββββ ββββββββββββββ¬ββββββββββββββ
β
β 6 Native Tools
βΌ
ββββββββββββββββββββββββββββ
β Gemini Web2API Proxy β
β (gemini_web2api.py:8081)β
ββββββββββββββ¬ββββββββββββββ
β
β Reverse-Engineered Web RPC
βΌ
ββββββββββββββββββββββββββββ
β Google Gemini Web β
β (gemini.google.com) β
ββββββββββββββ¬ββββββββββββββ
β Star History
If you found this project helpful, please consider giving it a star! It lets other developers discover the repository and supports ongoing open-source updates.
π€ Contributing
Contributions, feature requests, and bug reports are welcome!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
π License
MIT License. Free for open-source & personal development.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found