spring-ai-alibaba-admin/spring-ai-alibaba-admin-server-start/README.md
Spring AI Alibaba Repo: https://github.com/alibaba/spring-ai-alibaba
Spring AI Alibaba Website: https://java2ai.com
Spring AI Alibaba Website Repo: https://github.com/springaialibaba/spring-ai-alibaba-website
English | δΈζ
Spring AI Alibaba Admin Server is a backend service for AI Agent management platform built on Spring Boot 3.x, providing complete RESTful API support for Agent Studio. The service supports core functionalities including Prompt management, dataset management, evaluator configuration, experiment execution, result analysis, and observability.
git clone https://github.com/spring-ai-alibaba/spring-ai-alibaba-admin.git
cd admin
Modify the model configuration in spring-ai-alibaba-admin-server/model-config.yaml according to your model provider.
π‘ Get Your DashScope API Key: Visit Alibaba Cloud Bailian Console to get a free API key.
If you need to modify the Nacos address, please update the configuration in the spring-ai-alibaba-admin-server/src/main/resources/application.yml file
nacos:
server-addr: ${nacos-address}
Execute the startup script in the root directory. This script will help you start the database-related services
sh start.sh
Start the application in the spring-ai-alibaba-admin-server directory
mvn spring-boot:run
Open your browser and visit http://localhost:8080 to use the SAA Admin platform.
At this point, you can already manage, debug, evaluate, and observe prompts on the platform. If you expect your Spring AI Alibaba Agent application to integrate with Nacos for prompt loading and dynamic updates, and observe the online running status, you can refer to step 6 to configure your AI Agent application.
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/admin
username: admin
password: admin
spring:
elasticsearch:
uris: http://localhost:9200
nacos:
server-addr: 127.0.0.1:8848
management:
otlp:
tracing:
export:
enabled: true
endpoint: http://localhost:4318/v1/traces
This project is open source under the Apache License 2.0 license.
We welcome submitting Issues and Pull Requests to help improve the project.