Strands Agents prerequisites
- Python 3.10 or later
- An Xquik API key beginning with
xq_ - Xquik credits, because Xquik has no free plan
- A model provider that Strands supports
- A connected X account for private reads or writes
Install Strands Agents and MCP support
Connect Strands Agents to Xquik
MCPClient opens the remote connection. Pass your key in the Authorization
header. The read timeout gives long execute calls time to finish.
with block. The block closes the connection
when it ends.
Xquik MCP tools in Strands Agents
Both
search and execute run on Xquik’s servers. The agent should call
search first, then execute.
Searches and extractions charge only for delivered, unique, filter-matching
results. An active monitor costs 30 credits an hour while it runs.
Keep X actions behind review
execute can run every operation your key allows. That includes posts, DMs and
metered bulk jobs. To limit an agent to discovery, leave execute out of its
tool list.