A Go-based multi-agent system that simulates characters from "The Office" using Google's Gemini AI. Each agent has a unique personality and responds to messages based on their character traits.
- Multiple AI agents with distinct personalities
- Character-based response generation using Gemini 1.5
- Memory sharing between agents
- RESTful API interface
- Configurable personalities via JSON
- Go 1.23.4 or higher
- Gemini API key from https://aistudio.google.com
.env
file with GOOGLE_GENAI_API_KEY
-
Clone the repository:
git clone https://github.com/xprilion/go-tiny-agents.git cd go-tiny-agents
-
Create a
.env
file:GOOGLE_GENAI_API_KEY=your_api_key_here
-
Install dependencies:
go mod download
-
Run the application:
go run .
Send a message to the agents.
Request Body:
{
"message": "Hello, how are you?"
}
Response:
[
{
"name": "Michael Scott",
"message": "Hello, how are you?"
}
]
You can contribute to this project by adding more personalities or improving the existing ones. PRs are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.
- Firebase GenKit for the AI SDK
- The Office for the inspiration
- Go for the programming language
- Gemini for the AI model