a2ui-project / a2ui-project/a2ui

Refactor Python agent SDK to separate core capabilities from ADK and A2A adapters

未关闭
#1,797 1 条评论 0 个 reaction 已指派 1 人 已被 @nan-yu 认领 在 GitHub 查看
component: agent_sdk P2 sprint ready
主要语言
TypeScript
星标
16.4k
派生
1.3k
平均合并
2 天 13 小时
30 天内合并 PR
134

描述

The current Python agent SDK package (\`a2ui-agent-sdk\`) bundles the core agent-side A2UI capabilities (prompt generation,
streaming parsing, and validation) together with Google ADK (Agent Development Kit) toolsets and A2A (Agent-to-Agent) transport
converters.

This coupling makes the agent SDK heavy and ties it directly to the Google ADK and A2A packages, preventing developers from using
A2UI with other agent frameworks (such as LangChain, LlamaIndex, or custom orchestration loops) without dragging in unnecessary
dependencies.

To improve modularity and future-proofing, we should refactor the codebase to separate the core agent capabilities from the
framework-specific adapters. Furthermore, these adapters should be split into completely separate Python packages so they can be
installed independently.

贡献指南

打开贡献指南

调研方向

Examine the current `a2ui-agent-sdk` package structure to identify core capabilities (prompt generation, streaming parsing, validation) versus ADK and A2A adapter code. The goal is to extract adapters into separate packages, likely starting with the main SDK module and dependency definitions. Look for entry points in setup.py or pyproject.toml and existing import statements. 'Done' means the core SDK can be installed without Google ADK or A2A dependencies, and adapters are in their own installable packages.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend-api-design, tooling
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。