Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 888 Bytes

File metadata and controls

45 lines (27 loc) · 888 Bytes

AI Filesystem agent

An AI filesystem agent that can choose to use tools on your filesystem.

demo

+ Shows a tool use

Watch the youtube video here: https://youtube.com/shorts/bZ4IpZhdZrM

Logfire demo

logfire

Features

  • Create files and write to them
  • Delete files
  • Rename files
  • Calculate an expression
  • Logging to pydantic logfire
  • Works with Local Ollama models (that support tool call)

Setup

pip install -r requirements.txt

Make sure you set the GEMINI_API_KEY environment variable in a .env file.

If you want to use logfire, make sure to do setup according to this link

How to use

python filesystem_agent.py

then use the REPL and talk to the model

Credits

By Gholamreza Dar 2025