Runtime services

From VectorSpaceLab/AREX-Skill · View interactive version

Runtime services is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Configure and troubleshoot ADK runtime services: Runner, App, sessions, memory, artifacts, plugins, telemetry, code executors, environments, event persistence, and service lifecycles.

How to use this skill

Skill file

Runtime Services

Use this sub-skill when a task is about ADK execution services rather than agent design: Runner, InMemoryRunner, App, session persistence, memory, artifacts, plugins, telemetry, code executors, execution environments, event storage, lifecycle cleanup, or service migration cautions.

Route Here

Route Elsewhere

Working Path

  1. Identify which service owns the symptom: runner lifecycle, session event persistence, memory ingestion/search, artifact storage, plugin callback order, telemetry export, or code execution.
  2. Confirm installation assumptions: google-adk 2.3.0, import root google.adk, Python 3.10+, and optional extras absent unless installed explicitly.
  3. Use in-memory services for focused local tests; switch to persistent services only after checking dependencies, URLs/paths, concurrency, migrations, and credential requirements.
  4. Keep event persistence runner-owned: stream events through Runner.run_async/run_live and let the configured session service append non-partial events.
  5. Close long-lived services with await runner.close() or async with Runner(...) when plugins, toolsets, or database engines need cleanup.

References And Scripts

Safety Defaults

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.