Skip to content

HmonWutt/ai_agent

Repository files navigation

AI Agent

A toy CLI agent powered by the Gemini API. Inspired by Claude Code — it can list files, read content, run Python scripts, and write files, all through natural language prompts.

Status

CI

Features

  • List files and directories
  • Read file contents
  • Execute Python files with optional arguments
  • Write or overwrite files

Setup

uv sync
export GEMINI_API_KEY=your_key_here
uv run python main.py "your prompt here"

Tests

uv run python -m unittest discover -s calculator -p "tests.py" -v

About

A toy-version of claude code using Gemini API. CLI tool that completes coding tasks.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages