Skip to content

chasenut/soy-agent

Repository files navigation

soy-agent

About

Soy-agent is a code ai agent capable of exploring and modifing files in specified working directories.

Features

  • Listing files and directories along with their metadata inside desired directory,
  • Exploring contents of files,
  • Writting to specified files,
  • Calling pre-defined functions.

Technologies

always-has-been-meme

Usage

Requirements

  • Python 3.10+
  • uv

Prerequisite

You need to create .env file in the root directory containing your Google AI Studio API key. It should look something like this:

# .env
GEMINI_API_KEY="<your_api_key_here>"

Run

Create virtual environment venv:

uv venv
source .venv/bin/activate

Install dependencies from uv.lock:

uv sync

Run the project:

uv run main.py "Hello there"

Replace "Hello there" with your own prompt. You can add addidtional flag --verbose to see what's going on under the hood.

Info

Agent is limited to specified working directory (see ./config.py -> WORKING_DIR) for safety reasons. Default is set to ./calculator.


Made as a project in boot.dev course.

About

AI agent to exploit your files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages