repowisegoogle/adk-python

google / adk-python

pythonmainf4fd7d5418.6K linessynced on Aug 11, 2026

Code health

6.7out of 10Fair

Hotspots average 4.8, the place fixes pay off most.

Explore this codebase

Do next · 3

46 things worth doing in the week to Aug 11, the last indexed commit, 43 of them now.

Worth planning

  • Flatten the nesting in _run_node_async

    src/google/adk/runners.py:574

    _run_node_async nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 8 commits; its file is imported by 99 files, changed 14 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 29, 125 lines, nests 5 deep
    severity
    high
    worth a check
  • Start breaking up to_agent_engine (CCN 60, 332 lines): first lift lines 1208-1282

    src/google/adk/cli/cli_deploy.py:1208

    to_agent_engine nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 3 commits; its file is imported by 6 files, changed 8 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 60, 332 lines, nests 5 deep
    severity
    high
    worth a check
  • Start breaking up receive (CCN 57, 303 lines): first lift lines 402-500

    src/google/adk/models/gemini_llm_connection.py:402

    receive nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 5 commits; its file is imported by 3 files, changed 6 times in 90 days.

    gain
    up to +0.7 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 57, 303 lines, nests 5 deep
    severity
    high
    worth a check

Improve what Repowise can see

  • Add a test coverage report

    Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.

    line coverage
    Unknown, no report

Everything we found

5 areas