Agent Runtime¶
智能体运行时¶
Supported in ADKPython v0.1.0TypeScript v0.2.0Go v0.1.0Java v0.1.0
ADK provides several ways to run and test your agents during development. Choose the method that best fits your development workflow.
ADK 在开发过程中提供了多种运行和测试智能体的方法。选择最适合您开发工作流的方法。
Ways to run agents¶
运行智能体的方法¶
-
Dev UI
Use
adk webto launch a browser-based interface for interacting with your agents. -
Command Line
Use
adk runto interact with your agents directly in the terminal. -
API Server
Use
adk api_serverto expose your agents through a RESTful API.
Technical reference¶
技术参考¶
For more in-depth information on runtime configuration and behavior, see these pages:
- Event Loop: Understand the core event loop that powers ADK, including the yield/pause/resume cycle.
- Resume Agents: Learn how to resume agent execution from a previous state.
- Runtime Config: Configure runtime behavior with RunConfig.