computenest-agent-integrations
基于 Google ADK 的 Agent 能力集成库。
环境要求
- Python 3.12 或更高版本
安装
pip install computenest-agent-integrations
按需安装可选依赖:
# RAGFlow 知识库检索
pip install "computenest-agent-integrations[ragflow]"
# E2B 沙箱与代码解释器
pip install "computenest-agent-integrations[e2b]"
# AgentRun 沙箱
pip install "computenest-agent-integrations[agentrun]"
当前公共 API
以下组件由 computenest.integrations.adk 直接导出:
| 类别 | API | 说明 |
|---|---|---|
| Memory | BailianLongTermMemoryService |
百炼长期记忆的 ADK BaseMemoryService 实现 |
| Memory | Mem0SelfHostingMemoryService |
Self-host Mem0 REST 服务的 ADK BaseMemoryService 实现 |
| Knowledge Base | BailianKnowledgeBaseTool |
百炼知识库检索工具 |
| Knowledge Base | RagflowKnowledgeBaseTool |
RAGFlow Dataset 知识库检索工具 |
| Knowledge Base | KnowledgeProvider |
知识库 Provider 枚举 |
| MCP | McpTool |
将 MCP JSON 配置转换为 ADK McpToolset |
| Sandbox | E2bSandboxToolset |
E2B 文件系统与 Shell 工具集 |
| Sandbox | E2bCodeInterpreterToolset |
E2B Python/JavaScript 代码执行工具集 |
| Plugin | ImageUrlInlinePlugin |
将用户消息中的 HTTP(S) 图片转换为内联图片数据 |
from computenest.integrations.adk import (
BailianKnowledgeBaseTool,
BailianLongTermMemoryService,
E2bCodeInterpreterToolset,
E2bSandboxToolset,
ImageUrlInlinePlugin,
KnowledgeProvider,
McpTool,
Mem0SelfHostingMemoryService,
RagflowKnowledgeBaseTool,
)
各组件的初始化参数和行为以源码及测试用例为准。
相关链接
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file computenest_agent_integrations-0.1.8.tar.gz.
File metadata
- Download URL: computenest_agent_integrations-0.1.8.tar.gz
- Upload date:
- Size: 33.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6433fb3adbdca65aa33e0b16ef35f641aa8ca7c19545505e0e15624e44bc160
|
|
| MD5 |
d3a3113571971bb7ab0a68a4f3ea7c01
|
|
| BLAKE2b-256 |
6ba02964c20356066dc2d24fe303b60df4d77083eae6d9dbcae8d6756ddfdebf
|
File details
Details for the file computenest_agent_integrations-0.1.8-py3-none-any.whl.
File metadata
- Download URL: computenest_agent_integrations-0.1.8-py3-none-any.whl
- Upload date:
- Size: 43.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b94c8109f2579b67f078d66011dfdbcefcf0c8f3863054c539000d875e31ad3
|
|
| MD5 |
de68040f339e1f02cdd276f1a097d020
|
|
| BLAKE2b-256 |
28977337af461e96034cee91a3ce16e9ace24e7a3f5985992dc909c5ed0cc6f8
|