Documentation
¶
Overview ¶
@title AiAgentGo API @version 1.0 @description AiAgentGo 是一个基于 Go 语言构建的 AI Agent 框架,旨在提供高性能、可扩展的解决方案,帮助开发者快速构建智能代理应用。 @termsOfService http://swagger.io/terms/
@contact.name AiAgentGo Github @contact.url https://github.com/minebiome/ai-agent-go
@BasePath /api/v1
@securityDefinitions.apikey Bearer @in header @name Authorization @description 用户登录认证:输入 Bearer {token} 格式的 JWT 令牌
@securityDefinitions.apikey ApiKeyAuth @in header @name X-API-Key @description 租户身份认证:输入 sk- 开头的 API Key
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
Package docs Code generated by swaggo/swag.
|
Package docs Code generated by swaggo/swag. |
|
internal
|
|
|
agent
Package agent 定义 AI Agent 调用的统一抽象层。
|
Package agent 定义 AI Agent 调用的统一抽象层。 |
|
agent/providers
Package providers 提供 agent.Provider 的内置实现。
|
Package providers 提供 agent.Provider 的内置实现。 |
|
agent/repository
Package repository 提供 agent 域各持久化端口的基于数据库(GORM)的实现。
|
Package repository 提供 agent 域各持久化端口的基于数据库(GORM)的实现。 |
|
agent/skill
Package skill 实现 Agent Skills 开放标准(https://agentskills.io)。
|
Package skill 实现 Agent Skills 开放标准(https://agentskills.io)。 |
|
agent/tool
Package tool 定义 Agent 工具调用(function calling)的基础设施。
|
Package tool 定义 Agent 工具调用(function calling)的基础设施。 |
|
agent/tool/builtin
Package builtin 提供框架内置的工具(如 get_weather)。
|
Package builtin 提供框架内置的工具(如 get_weather)。 |
|
dag/dag_orchestrator_v2_
Package orchestratorv2 implements the dynamic (Nextflow-like) DAG scheduler used by gobrave analyses.
|
Package orchestratorv2 implements the dynamic (Nextflow-like) DAG scheduler used by gobrave analyses. |
|
dag/trace
Package trace provides the append-only, table-shaped run trace shared by the DAG schedulers.
|
Package trace provides the append-only, table-shaped run trace shared by the DAG schedulers. |
|
exportcodec
Package exportcodec 定义「导出文件格式版本」的策略(Codec)与注册表(Registry)。
|
Package exportcodec 定义「导出文件格式版本」的策略(Codec)与注册表(Registry)。 |
|
exportcodec/v1
Package v1 实现导出文件格式 v1(exportcodec.VersionV1)的 Codec 策略。
|
Package v1 实现导出文件格式 v1(exportcodec.VersionV1)的 Codec 策略。 |
|
htmlreport
Package htmlreport renders a project report into a standalone HTML document.
|
Package htmlreport renders a project report into a standalone HTML document. |
|
runtime
Package runtime 提供应用程序运行时的依赖注入容器 该包使用 uber 的 dig 库来管理依赖项注入
|
Package runtime 提供应用程序运行时的依赖注入容器 该包使用 uber 的 dig 库来管理依赖项注入 |
|
test
|
|
|
client
command
|
|
|
server
command
|
|
|
tmp_repro
command
|
|
|
tmp_repro/branch_check4
command
|
|
|
tmp_repro/branch_check5
command
|
|
|
tmp_repro/prune_check
command
|
|
|
tmp_repro/sync_branch_check
command
|
Click to show internal directories.
Click to hide internal directories.