convez.ai
AgenteAutomaçãoIntermediário
immanueljms

Gemini AI Agent

immanueljms/Gemini-AI-Agent

Agent Gemini autonomo com manipulacao de arquivos e exec de Python

Ver no GitHub
InicialPluginScore · de 0 a 100

Agent 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-Agent

1 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

Estrelas
0
Forks
0
Acompanhando
0
Saúde
28%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
1

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

ToolDescription
get_file_contentRead a file's contents
get_files_infoList files and metadata
write_fileWrite or overwrite a file
run_python_fileExecute a Python script and return output

Stack

  • Python 3.x, uv for package management
  • Google Gemini API (function calling)
Ver o original no GitHub

Bom para

Relacionados