/spring-ai-collab

An agent framework using Spring AI

Primary LanguageJavaApache License 2.0Apache-2.0

Spring AI Collab

An agent framework using Spring AI.

Features

  • Support for multiple agents and tools via simple annotations.
  • Leverages Spring AI for abstractions.
  • Automatically selects agent and tools based on the given task.
  • Web chat interface to perform tasks and optionally assign an agent.
    • If no agent is specified, the underlying LLM is used to choose an agent based on the task.

Roadmap

Note: Some of the roadmap features depend on Chat message history which is not available in Spring AI yet.

  • Process multiple tasks at once.
  • Compose "teams" of agents that collaboratively work together to accomplish tasks.
  • Add JVM code creation and execution. (Java, Kotlin)

Requirements

This project uses OpenAI as the default LLM.

  • Set OPENAI_API_KEY environment variable.

Build and Test

To build and run tests:

./gradlew clean build

Inspired by