Skip to content

feat: explore Google ADK as an alternative agent framework #33

Closed as not planned

Description

@pavelanni

Summary

Explore whether Google's Agent Development Kit (ADK) could be used as an alternative or complementary agent framework alongside DocsClaw's current custom agentic loop.

Motivation

Google ADK provides a structured framework for building agents with built-in support for tool use, multi-agent orchestration, and session management. Evaluating it could reveal:

  • Features we're currently building from scratch that ADK provides out of the box
  • Interoperability opportunities (e.g. ADK agents consuming skills from skillimage)
  • Whether ADK's agent model aligns with A2A protocol compatibility

Areas to investigate

  • Architecture fit: Can ADK agents be driven by ConfigMap-based personality the way DocsClaw works today?
  • Skill compatibility: Can SKILL.md files and OCI-distributed skills be loaded into ADK agents?
  • A2A support: Does ADK support or plan to support the A2A protocol?
  • Tool model: How does ADK's tool abstraction compare to DocsClaw's tools.Tool interface?
  • LLM provider flexibility: Does ADK lock you into Gemini or support other providers (Anthropic, OpenAI)?
  • Deployment model: Can ADK agents run as lightweight containers on OpenShift with the same resource profile as DocsClaw (~9Mi)?
  • Go vs Python: ADK is Python-based — what are the implications for our Go-based runtime?

Expected outcome

A brief evaluation document in docs/dev/ comparing ADK against DocsClaw's current approach, with a recommendation on whether to adopt, integrate, or skip.

Activity

  1. pavelanni commented on Apr 24, 2026

    @pavelanni
    CollaboratorAuthor

    Analysis: ADK adoption vs. staying self-built

    After evaluating Google ADK against DocsClaw's architecture and goals, the recommendation is not to pursue an ADK rewrite or hybrid wrapper. Here's why.

    Resource efficiency is the core differentiator

    DocsClaw's value proposition is running hundreds of agents on OpenShift with minimal resource overhead (~9Mi per agent vs ~500Mi for Python-based frameworks). A full ADK rewrite — even using the Go SDK — would pull in gRPC, protobuf, and Google Cloud dependencies that significantly increase binary size and memory footprint. A hybrid wrapper adds two abstraction layers doing the same thing, increasing complexity and memory for demo optics.

    What DocsClaw already has

    ADK concept DocsClaw equivalent Gap?
    Skills / SkillToolset SKILL.md + OCI image distribution No — more mature
    Tool invocation tools.Tool interface + registry No
    Multi-agent orchestration A2A delegation via bridge Minor — can improve routing
    Tracing / observability log/slog structured logging Yes
    Evaluation framework None Yes
    Server-side session management None (client-side only) Yes

    What's worth adopting — as independent features, not ADK dependencies

    Three gaps emerged that ADK handles well. We should address them independently:

    1. OpenTelemetry tracing (feat: add OpenTelemetry tracing for agent execution #34) — universal observability that works with any backend, not just ADK's trace viewer
    2. Evaluation harness (feat: add evaluation harness for agent behavior testing #35) — repeatable test scenarios for agent behavior validation
    3. Multi-agent orchestration demo (feat: multi-agent orchestration demo with A2A interop #36) — prove A2A interop with ADK agents using a concrete example

    The stronger demo message

    "Our agents run at 9Mi each. Deploy 50 of them in the same cluster footprint as one of yours. And they all talk to each other via A2A — including your ADK agents."

    This positions DocsClaw as complementary to existing ADK investments rather than a replacement, while highlighting the density advantage that matters to infrastructure teams.

    Decision

    Closing this as won't implement (ADK rewrite). The individual feature gaps are tracked in dedicated issues linked above.

  2. pavelanni commented on Apr 24, 2026

    @pavelanni
    CollaboratorAuthor

    Closing as not planned — see analysis above. Individual feature gaps tracked in #34, #35, #36.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions