AIAgent is a Go-based project designed to dynamically configure AI agents with various tools and prompts. It follows Domain-Driven Design (DDD) principles to maintain a clean and modular architecture.
To install the latest version of AIAgent, run:
go install github.com/drujensen/aiagent@latest
To build the project, ensure you have Go installed and set up on your machine. Navigate to the project directory and run:
go build -o aiagent main.go
To run in console mode, execute:
aiagent --storage=[file|mongo]
To run the HTTP server, execute:
aiagent --storage=[file|mongo] serve
Access the server at http://localhost:8080
.
- Copy
.env-example
to.env
and set your environment variables. - Build and start the services using Docker Compose:
docker-compose up --build
This will start the HTTP server, Redis, and MongoDB services.
To test the application, you can use Go's built-in testing tools. Run the following command:
go test ./...
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Commit your changes with clear messages.
- Push your branch and create a pull request.
- Dru Jensen (drujensen@gmail.com)
We appreciate your interest in contributing to AIAgent! Feel free to reach out with any questions or suggestions.