Skip to main content
Use Google ADK when your agent runtime is Gemini-first and you want Twexapi to appear as a remote MCP toolset.

Prerequisites

  • Python 3.10+
  • A Twexapi API key
  • A Google AI API key

Install

Full example

Multi-agent setup

Give the data-collection sub-agent Twexapi tools. Keep writing and reporting agents separated so write approvals stay explicit.

Handoff checklist

  • Save tweet_id, author_username, text, and created_at.
  • Save has_more and next_cursor for follow-up calls.
  • Save the original prompt and the selected Twexapi path.

Dynamic headers

Use dynamic headers when your ADK app serves multiple Twexapi accounts.

Tool filtering

Expose only discovery tools to planning agents, then route execution through a narrower data-collection agent.

Environment variables

.env

Package versions