Claude Code Reimplementation

< Back to Projects

AI Agent Development Assistant

This project is an AI-powered development assistant designed to help users with Python development and file system operations within a secure, sandboxed environment. It's a reimplementation of Claude Code using Google Gemini.

GitHub Repository

View the source code: github.com/aidenament/Claude-Code-Reimplementation

Overview

The AI Agent leverages the Gemini AI model to understand user prompts and execute various coding and file management tasks. It's equipped with specific tool functions that allow it to interact with the file system, read/write files, and run Python scripts, all while maintaining strict security boundaries to prevent unauthorized access.

Key Features

Technical Architecture

Core Components

main.py: The main script that orchestrates the AI agent, handling conversation flow, AI model interaction, and dispatching tool calls

functions/: Contains the implementations of the tool functions available to the AI agent:

Example Application

The repository includes a calculator application as an example that the AI agent can interact with:

Usage Examples

Interactive Mode
python main.py
Command-Line Prompt
python main.py "list all python files"
Verbose Mode
python main.py --verbose

Security Considerations

The assistant implements several security measures:

Technologies Used