An open API service indexing awesome lists of open source software.

https://github.com/javaaidev/simple-ai-agent

Simple AI Agent built with Spring AI and GraalVM
https://github.com/javaaidev/simple-ai-agent

graalvm graalvm-native-image openai spring spring-ai spring-boot

Last synced: 7 months ago
JSON representation

Simple AI Agent built with Spring AI and GraalVM

Awesome Lists containing this project

README

          

# Simple AI Agent

[![Maven build](https://github.com/JavaAIDev/simple-ai-agent/actions/workflows/maven.yml/badge.svg)](https://github.com/JavaAIDev/simple-ai-agent/actions/workflows/maven.yml)

A simple AI agent built using Spring AI.

Native executable of this agent is built using GraalVM.

To run this agent, you need to have a OpenAI API key. This API key is read from environment variable
`OPENAI_API_KEY`.

Build the native agent using the following command.

```shell
mvn -Pnative -DskipTests package
```