Agent Router Python SDK
AI Agent choose the most appropriate tools
PyPI|Document|MCP Marketplace|AI Agent Search|MCP Router Ranking List
pip install onekey_agent_router
Usage
import onekey_agent_router as router
query = "Help me find last month stock price of Tesla and output to excel"
### RAG of available registered agents
agents = router.router_agent(query)
results = []
for agent in agents:
tool_input = agent.function_call(query)
results = agents.tool_call(tool_input)
Features
- A Lightweight Agent Router to help your LLM choose appropriate tools from the index and registry
- Search API of AI AGENT Tools: Users can search MCP Servers Meta Info and tools fit for mcp.json by query, such as "map", "payment", "browser use"
Related
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
onekey_agent_router-0.0.1.tar.gz
(17.7 kB
view details)
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 onekey_agent_router-0.0.1.tar.gz.
File metadata
- Download URL: onekey_agent_router-0.0.1.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e217b365aba43b922319567376af6b3afd6207ea3bd88279afc2e4bd3dba903
|
|
| MD5 |
27ae618e74dc30414455ddfbfe7b3635
|
|
| BLAKE2b-256 |
bbd346758dabe6b50e61930deb197a46a954ba723ad88b6bbe5a4583d4dac21d
|
File details
Details for the file onekey_agent_router-0.0.1-py3-none-any.whl.
File metadata
- Download URL: onekey_agent_router-0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8168b0d433d6e230d73bf272e631e749661dda2931195af99ab20c2a10543bdb
|
|
| MD5 |
9fd92cde2afdcb94235e64ea6a85b714
|
|
| BLAKE2b-256 |
98c3e8200ea8a5588069c459885ab7ceb3272ab74c0e34187339a208061b46f3
|