Hermes Tweet is the native Hermes Agent plugin for using Xquik as a structured X automation toolset. It packages the Xquik endpoint catalog, read tools, optional action tools, slash commands, and a bundled Hermes skill into a Python plugin. Use Hermes Tweet when a Hermes Agent workflow needs X search, account reads, tweet posting, replies, likes, retweets, follows, DMs, monitors, webhooks, giveaway draws, extraction jobs, media operations, or trend reads.Documentation Index
Fetch the complete documentation index at: https://docs.xquik.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Python
3.11or newer - Hermes Agent with plugin support
- Xquik API key
hermes_agent.plugins group and require plugins to be enabled before they load.
Install
Use Hermes’ plugin installer for the public GitHub repo:XQUIK_API_KEY during an interactive install and stores it
in ~/.hermes/.env. Non-interactive installs skip the prompt. Set the key in
the process environment or ~/.hermes/.env before calling tweet_read.
Install the published PyPI package directly into the Hermes Python environment
when you manage package installation yourself:
pip, this path is also valid:
0.1.6. The plugin name is hermes-tweet, and the Python entry point is hermes-tweet = hermes_tweet.
Configure
Set your Xquik API key before starting Hermes:~/.hermes/.env:
HERMES_TWEET_ENABLE_ACTIONS=false for unattended sessions. Enable actions only for workflows with an explicit approval step:
~/.hermes/.env, run /reload in
an interactive CLI session, or restart gateway and cron sessions before calling
tweet_read.
Tools
tweet_explore
Search the bundled Xquik endpoint catalog without making an API call. Use it before every live endpoint call.
tweet_read
Call catalog-listed read-only endpoints after
XQUIK_API_KEY is configured.tweet_action
Call write-like or private endpoints only when
HERMES_TWEET_ENABLE_ACTIONS=true.tweet_explore so the agent can discover the right method, path, parameters, and response shape before it calls an endpoint.
Workflow Handoffs
Usetweet_explore first, then choose tweet_read for public reads or
tweet_action for approved jobs that create or change state.
Tweet Search Read
Use
tweet_read with GET /api/v1/x/tweets/search, a concrete q, and a
bounded limit to return tweet IDs, text, authors, timestamps, and metrics.Follower Export Action
Use
tweet_action to estimate and create follower_explorer, then use
tweet_read to poll the job and export CSV, JSON, or XLSX results.Media Tweet or DM Action
Use public media URLs in
media for tweet or reply actions. Store
tweetId when confirmed; if the response includes writeActionId, poll
GET /api/v1/x/write-actions/{id} with tweet_read before retrying. For
DM attachments, upload media first, pass one returned mediaId in
media_ids, then store messageId.Runtime Diagnostics
For scriptable checks, usehermes tools list. Bare hermes tools opens the interactive tool UI and requires a TTY. The list command reports plugin toolsets, so confirm hermes-tweet appears before testing calls.
tweet_explorecan inspect catalog endpoints without an API key.- Without
XQUIK_API_KEY, a non-mutating Hermes probe exposestweet_exploreonly. - After
XQUIK_API_KEYis configured and the CLI is reloaded, or the gateway or cron process is restarted,tweet_readcan read/api/v1/account. tweet_actionstays hidden or disabled unlessHERMES_TWEET_ENABLE_ACTIONS=true./xstatusand/xtrendsappear in the Hermes plugin command registry.
/xstatus as an interactive slash command. Verify slash commands in an active CLI or gateway session, and use hermes -z for tool-call probes.
Non-interactive installs cannot prompt for credentials; set XQUIK_API_KEY in the process environment or ~/.hermes/.env.
Slash Commands
/xstatus
Show Xquik account, subscription, and usage status in an active Hermes CLI or gateway session.
/xtrends
Show current X trends from the plugin command registry.
Safety Model
Hermes Tweet reads auth from environment variables and injects it at request time. The model does not receive the API key as a tool argument. The plugin blocks dashboard-only admin, billing, credit top-up, support-ticket, API-key, and account re-authentication endpoints from the catalog. Private reads and write-like endpoints go throughtweet_action, which stays hidden unless HERMES_TWEET_ENABLE_ACTIONS=true.
For unattended jobs, keep action tools disabled and use only tweet_explore plus tweet_read.
API Coverage
Hermes Tweet includes 101 agent-callable Xquik endpoints generated from the OpenAPI contract, plus 31 MPP-tagged read endpoints in the bundled catalog.Public Reads
Tweet search, tweet lookup, user lookup, timelines, articles, and trends.
Private Reads
Account status, connected accounts, usage, and events.
Monitoring
Account monitors, keyword monitors, events, and webhooks.
Workflows
Extractions, giveaway draws, exports, compose, drafts, and styles.
Actions
Tweet, reply, like, retweet, follow, DM, profile, media, and communities.
Local Development
For local plugin development, regenerate the bundled catalog from the Xquik OpenAPI contract:hermes-tweet repository after the Xquik OpenAPI file changes.
Verify
After installing, enabling, and settingXQUIK_API_KEY, run:
tweet_action.
Troubleshooting
Tools Missing
Run
hermes plugins enable hermes-tweet, then confirm hermes-tweet appears in hermes tools list.Auth Fails
Confirm
XQUIK_API_KEY is exported in the same environment that starts Hermes, or stored in ~/.hermes/.env.Env Reload
Run
/reload in the interactive CLI, or restart gateway and cron sessions.Action Tool Hidden
Set
HERMES_TWEET_ENABLE_ACTIONS=true only for approved action workflows.Endpoint Missing
Regenerate the catalog from the current Xquik OpenAPI file in local development.
Risky Writes
Keep
HERMES_TWEET_ENABLE_ACTIONS=false and use read tools only.