mirror of
https://github.com/google/adk-docs.git
synced 2026-09-14 16:16:59 +08:00
dc3e3020e7
* adding Runtime kotlin snippets * Adding kotlin snippets into files to test * Linting fixes via ktlint * Simplify imports * Add license headers * Add code snippet for resume config * Remove unused import * Add placeholder var definition --------- Co-authored-by: Kristopher Overholt <koverholt@google.com>
63 lines
1.9 KiB
Markdown
63 lines
1.9 KiB
Markdown
# Agent Runtime
|
|
|
|
<div class="language-support-tag">
|
|
<span class="lst-supported">Supported in ADK</span><span class="lst-python">Python v0.1.0</span><span class="lst-typescript">TypeScript v0.2.0</span><span class="lst-go">Go v0.1.0</span><span class="lst-java">Java v0.1.0</span><span class="lst-kotlin">Kotlin v0.1.0</span>
|
|
</div>
|
|
|
|
ADK provides several ways to run and test your agents during development. Choose
|
|
the method that best fits your development workflow.
|
|
|
|
## Ways to run agents
|
|
|
|
<div class="grid cards" markdown>
|
|
|
|
- :material-web:{ .lg .middle } **Dev UI**
|
|
|
|
---
|
|
|
|
Use `adk web` to launch a browser-based interface for interacting with your
|
|
agents.
|
|
|
|
[:octicons-arrow-right-24: Use the Web Interface](web-interface/index.md)
|
|
|
|
- :material-console:{ .lg .middle } **Command Line**
|
|
|
|
---
|
|
|
|
Use `adk run` to interact with your agents directly in the terminal.
|
|
|
|
[:octicons-arrow-right-24: Use the Command Line](command-line.md)
|
|
|
|
- :material-api:{ .lg .middle } **API Server**
|
|
|
|
---
|
|
|
|
Use `adk api_server` to expose your agents through a RESTful API.
|
|
|
|
[:octicons-arrow-right-24: Use the API Server](api-server.md)
|
|
|
|
- :material-access-point:{ .lg .middle } **Ambient Agents**
|
|
|
|
---
|
|
|
|
Build autonomous agents that process events, monitor systems, and respond
|
|
asynchronously without human intervention.
|
|
|
|
[:octicons-arrow-right-24: Use Ambient Agents](ambient-agents.md)
|
|
|
|
</div>
|
|
|
|
## Technical reference
|
|
|
|
For more in-depth information on runtime configuration and behavior, see these
|
|
pages:
|
|
|
|
- **[Event Loop](event-loop.md)**: Understand the core event loop that powers
|
|
ADK, including the yield/pause/resume cycle.
|
|
- **[Resume Agents](resume.md)**: Learn how to resume agent execution from a
|
|
previous state.
|
|
- **[Cancel Agent Runs](cancel.md)**: Gracefully cancel running
|
|
agent invocations using AbortSignal (TypeScript).
|
|
- **[Runtime Config](runconfig.md)**: Configure runtime behavior with
|
|
RunConfig.
|