Skip to main content

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

  1. A Lightweight Agent Router to help your LLM choose appropriate tools from the index and registry
  2. 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

Metadata

Release files for onekey-agent-router 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for onekey-agent-router 0.0.1
File Size Uploaded
onekey_agent_router-0.0.1.tar.gz 17.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for onekey-agent-router 0.0.1
File Interpreter ABI Platform
onekey_agent_router-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 28.8 kB

Release files / onekey_agent_router-0.0.1.tar.gz

Download URL onekey_agent_router-0.0.1.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4e217b365aba43b922319567376af6b3afd6207ea3bd88279afc2e4bd3dba903
BLAKE2b-256 checksum
How to use checksums
bbd346758dabe6b50e61930deb197a46a954ba723ad88b6bbe5a4583d4dac21d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.0

Release files / onekey_agent_router-0.0.1-py3-none-any.whl

Download URL onekey_agent_router-0.0.1-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8168b0d433d6e230d73bf272e631e749661dda2931195af99ab20c2a10543bdb
BLAKE2b-256 checksum
How to use checksums
98c3e8200ea8a5588069c459885ab7ceb3272ab74c0e34187339a208061b46f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page