go-tiny-agents

command module
v0.0.0-...-0fb7404 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 11 Imported by: 0

README ΒΆ

Go Tiny Agents πŸ€–

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.

🌟 Features

  • 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

πŸš€ Getting Started

Prerequisites
Installation
  1. Clone the repository:

    git clone https://github.com/xprilion/go-tiny-agents.git
    cd go-tiny-agents
    
  2. Create a .env file:

    GOOGLE_GENAI_API_KEY=your_api_key_here
    
  3. Install dependencies:

    go mod download
    
  4. Run the application:

    go run .
    

πŸ“ Usage

API Endpoints
POST /message

Send a message to the agents.

Request Body:

{
  "message": "Hello, how are you?"
}

Response:

[
  {
    "name": "Michael Scott",
    "message": "Hello, how are you?"
  }
]

🀝 Contributing

You can contribute to this project by adding more personalities or improving the existing ones. PRs are welcome!

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.

πŸ‘₯ Authors

πŸ™ Acknowledgments

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL