A hands-on workshop project regarding agents and multi-agent systems: four Gemini agents turn a hackathon idea into a full blueprint. Research alone uses a tool. Product scopes the MVP, Engineering proposes an implementation, and Manager reconciles their work into the final plan. Slides are here.
Install Python 3.11+, create a Gemini API key in Google AI Studio, and install dependencies:
git clone https://github.com/thealepo/init-ai-preshell-2.git
cd init-ai-preshell-2
python -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
cp .env.example .envOn Windows PowerShell, activate with .venv\Scripts\Activate.ps1 and copy with
Copy-Item .env.example .env. On Debian/Ubuntu, install python3-venv if
environment creation reports missing ensurepip.
Put your key in .env; keep this file private and excluded from Git:
GEMINI_API_KEY=your_real_key_here
GEMINI_MODEL=gemini-3.5-flash-liteRun python main.py. Enter your idea and optional context, pressing Enter
twice after each answer.
There are many directions and features you can add onto this template to create a much more robust project. A few of the features you can add onto this are:
-
Implementing a
write_filetool, in which the Manager agent writes the hackathon blueprint into a.mdor.txtfile (among others), allowing you to save the blueprint permanently on your machine. -
Implementing an official Google Search tool. This may require a subscription due to Google's current pricing listing Search grounding as unavailable on the Gemini 3.x API free tier.
-
Switching from the Gemini API to another API, such as the OpenAI API or Anthropic's API.
-
You can also replace our tool resource search in
tools.pywith what we call a vector database, establishing a RAG pipeline. This is a very important skill to learn and build intuition for, so I recommend this article to get started, alongside this video.
API reference: Google's Interactions guide.