基于注解驱动的跨架构 AI Agent 编排框架
AiSpect 的核心代码目前闭源,但我们对外提供预编译的 JAR 包和 Maven/Gradle 仓库地址。
请根据您的项目架构,下载对应的适配 JAR 包和依赖。
提供最底层的注解定义和核心 AI 通信拦截能力:
根据您的运行时环境下载对应的适配包:
aispect-engine-spring-1.0.0.jar —— 点击下载aispect-engine-quarkus-1.0.0.jar —— 点击下载aispect-engine-se-1.0.0.jar —— 点击下载您可以直接通过以下配置将 AiSpect 引入您的项目中。
pom.xml)如果您使用的是 Spring Boot,只需引入 Engine 和 Agents 包即可:
<dependencies>
<!-- AiSpect Spring Boot 引擎适配器 -->
<dependency>
<groupId>com.aispect</groupId>
<artifactId>aispect-engine-spring</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<!-- 官方智能体库 -->
<dependency>
<groupId>com.aispect</groupId>
<artifactId>aispect-agents</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
build.gradle)对应 Gradle 的依赖引入方式:
dependencies {
// AiSpect Spring Boot 引擎适配器
implementation 'com.aispect:aispect-engine-spring:1.0.0-SNAPSHOT'
// 官方智能体库
implementation 'com.aispect:aispect-agents:1.0.0-SNAPSHOT'
}
AiSpect 核心注解层保持绝对零外部依赖。但在运行期间,由引擎拉取的 aispect-core 内部封装了网络客户端工具(如 OkHttp 3.x 等)用于大模型通信。在使用 Spring Boot 时,aispect-engine-spring 会自动管理这些级联依赖版本,您无需手动干预。