A starter project for building AI agents with the Aigentic framework in Kotlin.
Aigentic Initializr provides a template for quickly getting started with the Aigentic framework, which allows you to build AI-powered agents in Kotlin. This project includes examples of how to create agents that can answer questions and interact with external APIs.
- Simple setup for Aigentic framework
- Examples of different agent configurations
- Integration with multiple AI providers (OpenAI, Gemini, Ollama, VertexAI)
- Tools for HTTP requests and OpenAPI integration
- JDK 21 or higher
- Kotlin 2.1.21 or higher
- API keys for the AI providers you want to use (OpenAI, Gemini, etc.) or use your local Ollama instance.
git clone https://github.com/your-username/aigentic-initializr.git
cd aigentic-initializr
Replace the placeholder API keys in the example files with your actual API keys:
openAIModel {
apiKey("YOUR_API_KEY") // Replace with your actual API key
modelIdentifier(OpenAIModelIdentifier.GPT4O)
}
This will generate the @AigenticParameter
annotated classes.
./gradlew build