Skip to content

Update samples/python/agents dependencies to include HTTP frameworks #190

@darkhaniop

Description

@darkhaniop

Description

In future versions of a2a-sdk, HTTP server packages may become optional, which should help avoid dependency conflicts in downstream projects (and potentially lighten up dependency trees in some of the projects). See a2aproject/a2a-python/pull/217 for details.

To ensure example agents in samples/python/agents/* continue to work with the newer versions of the SDK once it gets updated and polished on PyPI, it would be useful to update agent dependencies to include starlette and sse-starlette.

Proposed solution

Check and update relevant pyproject.toml files in samples/python/agents/ to include the necessary HTTP server packages.

Progress

The list of project definitions to be updated:

  • samples/python/pyproject.toml (directly lists starlette and sse-starlette)
  • samples/python/agents/a2a-mcp-without-framework/pyproject.toml (already includes via the mcp package)
  • samples/python/agents/a2a_mcp/pyproject.toml (already includes via the mcp package)
  • samples/python/agents/a2a_telemetry/pyproject.toml (already includes via the mcp package)
  • samples/python/agents/adk_expense_reimbursement/pyproject.toml (belongs to the parent workspace)
  • samples/python/agents/adk_facts/requirements.txt (already includes via google-adk --> mcp)
  • samples/python/agents/ag2/pyproject.toml (belongs to the parent workspace)
  • samples/python/agents/airbnb_planner_multiagent/pyproject.toml (belongs to the parent workspace)
  • samples/python/agents/analytics/pyproject.toml
  • samples/python/agents/autogen/requirements.txt (already includes fastapi)
  • samples/python/agents/azureaifoundry_sdk/azurefoundryagent/pyproject.toml
  • samples/python/agents/azureaifoundry_sdk/currencyagentdemo/currencyagent/pyproject.toml (already includes via the mcp package)
  • samples/python/agents/azureaifoundry_sdk/multi_agent/host_agent/pyproject.toml (already includes via the mcp package)
  • samples/python/agents/azureaifoundry_sdk/multi_agent/remote_agents/playwright_agent/pyproject.toml (already includes via the mcp package)
  • samples/python/agents/azureaifoundry_sdk/multi_agent/remote_agents/tool_agent/pyproject.toml (already includes via the mcp package)
  • samples/python/agents/birthday_planner_adk/birthday_planner/pyproject.toml (already includes via google-adk --> mcp)
  • samples/python/agents/birthday_planner_adk/calendar_agent/pyproject.toml (already includes via google-adk --> mcp)
  • samples/python/agents/crewai/pyproject.toml (belongs to the parent workspace)
  • samples/python/agents/dice_agent_grpc/pyproject.toml (belongs to the parent workspace)
  • samples/python/agents/github-agent/pyproject.toml (belongs to the parent workspace)
  • samples/python/agents/headless_agent_auth/pyproject.toml (already includes fastapi)
  • samples/python/agents/helloworld/pyproject.toml
  • samples/python/agents/langgraph/pyproject.toml
  • samples/python/agents/llama_index_file_chat/pyproject.toml (belongs to the parent workspace)
  • samples/python/agents/marvin/pyproject.toml (belongs to the parent workspace)
  • samples/python/agents/mindsdb/pyproject.toml (belongs to the parent workspace)
  • samples/python/agents/semantickernel/pyproject.toml (belongs to the parent workspace)
  • samples/python/agents/travel_planner_agent/pyproject.toml (belongs to the parent workspace)
  • samples/python/agents/veo_video_gen/pyproject.toml (belongs to the parent workspace)
  • samples/python/hosts/multiagent/pyproject.toml (belongs to the parent workspace, also includes google-adk)

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