Skip to main content
The llama-index-tools-xpoz Python package provides five Xpoz tool specs (32 tools) for LlamaIndex agents: search and analyze Twitter/X, Instagram, Reddit, and TikTok data with no social media API keys required.

Setup

1

Get your access key

Sign up at xpoz.ai and copy your access key from the Get Token page.
2

Install the package

You also need LlamaIndex and an LLM provider, for example:
3

Set your access key

4

Use with a LlamaIndex agent

Using Individual Tools

Call spec methods directly without an agent:
Pass api_key explicitly instead of using the environment variable: XpozTwitterToolSpec(api_key="your-access-key").
When a task needs the most recent posts, tell the agent to omit date filters. Tools accept optional date-range parameters, and models sometimes fill them speculatively, which skews results older.

Tool Specs

Give an agent only the specs it needs; a smaller tool list helps the model choose correctly.

What You Can Do

  • Build research agents that ground answers in live posts across four platforms
  • Look up user profiles, followers, and engagement metrics mid-task
  • Track keywords and users for continuous monitoring (XpozTrackingToolSpec)
  • Combine with your indexes: retrieve internal docs and live social data in one agent

Next Steps

MCP Tools

Browse all 48 tools across 4 platforms

PyPI Package

View the package on PyPI