Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Running ADK agents with MCP tools from a REST API

说明与用途

apowerb 通过 REST API 让团队管理数十个 ADK 代理,自动生成 ADK 模块并记录执行跟踪,包括 MCP 工具调用。

问题

Managing dozens of ADK agents that change weekly and tracking execution details is hard for teams.

结果

The agent successfully used the MCP tool to answer a GitHub repository question and listed available tools, demonstrating end‑to‑end REST API control.

工作流

  • Obtain an auth token via POST /api/auth/token
  • Create an agent record with MCP server details via POST /api/agents
  • Run the agent via POST /api/adk/run with a user message
  • Inspect ADK events and trace via /api/adk/sessions and /api/adk/trace

证据

Agents are stored as database records, created from a web UI or a REST API, and apowerb builds the ADK objects for you.

来源

The response is the list of ADK events for the turn. On the real run, the events contained a functionCall to the MCP tool ask_wiki_question, followed by the model's answer:

来源

ADK stays in charge of the agent loop. apowerb adds what a team needs around it: a web UI and REST API to create and edit agents without redeploying code; built‑in tools for RAG, Text‑to‑SQL, BI charts, Google Workspace and Microsoft 365; scheduled runs and runs triggered by email; per‑user token quotas and a per‑session audit trail; self‑hosting with Docker Compose or a Helm chart.

来源

  • 记录日期: 2026-10-14T10:41:12.349Z