<!-- Generated by scripts/sync-agent-content.mjs. Edit the shared public sources, then regenerate. -->
# Evolve Project

An agent that writes and loads tools during a task.

- Dates: 2025
- Status: Agent experiment
- Areas: Software engineering; AI / ML
- Stack: Python · Gemini · Ollama
- Topics: Python; AI Agents; Gemini; Ollama; Developer Tools
- Public case study: https://mgiorgetti.com/project_details/project-evolveproject.html

## Problem

A tool-using agent may encounter a task that needs a function unavailable at the start of its execution.

## Contribution

Solo Python agent experiment in dynamic tool creation and reloading, with an original Gemini execution loop and an experimental Ollama backend.

## Technical approach and public case study

An agent that writes new Python tools and loads them while a task is still running.

- Solo project

- Python · Gemini · Ollama

- Task & context

- Model Choose a tool

- Execute Return its output

New functions become available without restarting the process.

### Execution loop

**Conversation**

The model receives context, chooses a function, and uses its output in the next turn.

**Discovery**

The registry imports functions from tools/, starting with shell execution and a log reader.

**Backends**

The original loop uses Gemini. An experimental Ollama backend builds local-model tool schemas from Python docstrings.

## Results and limitations

The experiment makes newly written functions available without restarting the process. Its initial tool set includes shell execution and a log reader; the public page does not establish sandboxing, safety of generated tools or a general task-completion benchmark.

## Public supporting links

- [Portfolio case study](https://mgiorgetti.com/project_details/project-evolveproject.html)
- [View source](https://github.com/Inventure71/EvolveProject)
- [Matteo Giorgetti profile](https://mgiorgetti.com/profile.md)
