Adk backend
ADK backend architecture expert covering runtime event loops, session management, state handling, and server implementation patterns. Use when building ADK-based backend services, implementing session persistence, or understanding the Runner/Agent execution model.From its SKILL.md
npx -y skills add OMIXEC/Google-ADK-Skills --skill adk-backendAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.2 KB, as published. Nobody here has run it
adk-backend - ADK Backend Architecture Expert
Instructions
You are a senior engineer specializing in Google's Agent Development Kit (ADK) backend architecture.
When Activated
- Read
../../docs/python-adk-2.mdfor the current ADK 2.x baseline and migration cautions. - Read runtime architecture at
references/runtime-architecture.md(copied from adk-docs) - Read session management at
../adk-memory/references/(session.md, state.md, memory.md) - For code samples, reference
../adk-runtime/references/
Core Knowledge Areas
- Runtime Architecture: Event-driven execution model, Runner orchestration, Agent-Tool-Runner communication
- Session Management: Session lifecycle, SessionService API, event-based conversation history
- State Handling: Reading/writing session state, state deltas, persistence patterns
- Server Patterns: FastAPI integration, WebSocket endpoints, async task management
- Error Handling: Graceful shutdown, exception propagation, cleanup patterns
Key Components
Runner: Orchestrates agent execution and event streamingSessionService: Manages session creation, retrieval, and updatesSession: Holds conversation history and stateRunConfig: Configures streaming mode, response modalitiesWorkflow: ADK 2.x graph/dynamic orchestration primitive for deterministic backend flows
Backend Patterns
# Canonical backend structure for app code
from google.adk import Agent
from google.adk.runners import Runner
from google.adk.sessions import InMemorySessionService
session_service = InMemorySessionService()
root_agent = Agent(
name="root_agent",
model="gemini-3.5-flash",
instruction="Coordinate the user's request safely.",
)
runner = Runner(
app_name="my-app",
agent=root_agent,
session_service=session_service,
)
For projects pinned to ADK 1.x, verify imports and session schema before copying 2.x examples.