gemini-1b-local-agent

agent
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License Ò€” License: MIT
  • Description Ò€” Repository has a description
  • Active repo Ò€” Last push 0 days ago
  • Low visibility Ò€” Only 6 GitHub stars
Code Basarisiz
  • 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 Gecti
  • Permissions Ò€” No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

πŸš€ 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.

README.md

1B Gemini Local Agent Banner

GitHub Stars Context Cost Model No API Keys Skills License

⭐ 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.
  • πŸ“š 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.bat or 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:

  1. Auto-detect Python and start gemini-web2api proxy on port 8081 in background.
  2. Auto-initialize permissions so tool calling and file operations are ready instantly.
  3. Extract and package conversation context (handoff.py).
  4. Boot up the Agent Backend on port 5000.
  5. Open the Gemini Agent UI at http://127.0.0.1:5000 directly 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.

Star History Chart


🀝 Contributing

Contributions, feature requests, and bug reports are welcome!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“œ License

MIT License. Free for open-source & personal development.

Yorumlar (0)

Sonuc bulunamadi