Gemini AI Agent
immanueljms/Gemini-AI-Agent
Agent Gemini autonomo com manipulacao de arquivos e exec de Python
Ver no GitHubAgent autônomo baseado em Python que usa a API Google Gemini com capacidade de chamada de funções para ler, escrever e executar arquivos em ambiente sandbox. Oferece um loop de função-chamada modular com ferramentas de sistema de arquivos e execução de scripts Python.
Instalação
npx convez-ai immanueljms/Gemini-AI-Agent1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Automação de tarefas de processamento de arquivos
- Geração e execução de scripts Python via IA
- Desenvolvimento iterativo com reasoning do Gemini
Veredito

Agent bem estruturado que replica a capacidade do Code Interpreter do Claude, mas com Gemini. Útil para quem precisa de automação com IA de forma self-hosted, porém requer familiaridade com Python e gerenciamento de APIs.
README
A tradução para o português deste README ainda está na fila.
Gemini AI Agent
A Python-based AI agent powered by Google Gemini with tool-calling capabilities — built to autonomously read, write, and execute files in a sandboxed environment.
Features
- Function-calling loop via Gemini API
- File system tools: read file content, list file info, write files, run Python scripts
- Modular function registry (add tools easily in
/functions) - Configurable prompts and model settings
Project Structure
calculator/ # Sample task for the agent | functions/ # Tool definitions callable by the agent | main.py # Agent loop entry point | call_function.py # Dispatches Gemini tool calls to Python functions | config.py # API keys, model config | prompts.py # System prompt definitions | test_*.py # Integration tests for each tool |
Setup
uv sync
Set your Gemini API key in config.py or as an environment variable.
Usage
python main.py
The agent will accept a task, reason over it, and call tools iteratively until done.
Tools Available
| Tool | Description |
|---|---|
get_file_content | Read a file's contents |
get_files_info | List files and metadata |
write_file | Write or overwrite a file |
run_python_file | Execute a Python script and return output |
Stack
- Python 3.x,
uvfor package management - Google Gemini API (function calling)