Skip to main content

Hermes Tweet for Twitter Search & X Actions

OpenSSF Best Practices CI PyPI

Add Twitter API search, monitoring, and approved X actions to Hermes Agent.

Explore 102 OpenAPI-generated endpoints, including 33 prepaid reads and 7 direct MPP routes. Reads and actions use separate tools. Actions stay disabled by default. The plugin bundles a Hermes Skill and 2 slash commands.

When to use Hermes Tweet

Use this plugin for X/Twitter search, reads, or monitoring in Hermes. Choose an SDK for application code.

Install

Install and enable the plugin:

hermes plugins install Xquik-dev/hermes-tweet --enable

Hermes scans plugins during install and update. Review any warning before continuing. A dangerous verdict blocks installation or disables an update.

Or install the PyPI package into Hermes:

uv pip install --python ~/.hermes/hermes-agent/venv/bin/python hermes-tweet
hermes plugins enable hermes-tweet

Install a local checkout:

hermes plugins install file:///absolute/path/to/hermes-tweet --force --enable

Configure

Create an API key in Xquik. Then set:

export XQUIK_API_KEY="xq_..."

Optional settings:

export XQUIK_BASE_URL="https://xquik.com"
export HERMES_TWEET_ENABLE_ACTIONS="false"

Restart Hermes after changing environment variables.

Tools

Tool Purpose
tweet_explore Search the bundled catalog. Makes no API call.
tweet_read Call catalog-listed read endpoints.
tweet_action Call private or mutating endpoints. Disabled by default.

Use tweet_explore first. Then pass a listed /api/v1/... path to the matching tool.

Copied Xquik URLs work when their paths match the catalog.

Common Twitter API tasks

Start with tweet_explore. Invoke only the path returned by the catalog.

Task Catalog query Tool
Search X posts search tweets by query tweet_read
Read profile timelines list recent tweets posted by a user tweet_read
Export followers run extraction tweet_action
Export following accounts run extraction tweet_action
Monitor an account create monitor tweet_action
Post or reply create tweet tweet_action

Set include_actions for extraction, monitoring, and writing searches. tweet_action always follows the approval rules below.

Safety

  • Tools never accept credentials as arguments.
  • The plugin injects XQUIK_API_KEY at request time.
  • Admin, billing, credit, support, guest-wallet, and API-key routes stay hidden.
  • Account re-authentication routes stay hidden.
  • Binary downloads stay outside the agent catalog. Use REST for those files.
  • Private reads and mutations use tweet_action.
  • tweet_action requires HERMES_TWEET_ENABLE_ACTIONS=true.

Without an API key, Hermes exposes only tweet_explore.

Slash commands

Command Purpose
/xstatus Show Xquik account and usage status.
/xtrends Show current X trends.

Development

Regenerate the catalog from the canonical OpenAPI schema:

python scripts/build_catalog.py ../xquik/openapi.yaml

Run all checks:

uv run --python 3.12 --group dev ruff format --check .
uv run --python 3.12 --group dev ruff check .
uv run --python 3.12 --group dev basedpyright
uv run --python 3.12 --group dev pytest --cov=hermes_tweet --cov=tests --cov-report=term-missing --cov-fail-under=100
uv run --python 3.12 --group dev bandit -c pyproject.toml -r hermes_tweet scripts fuzz
uv run --python 3.12 --group dev pip-audit
uv run --python 3.12 --group dev bash scripts/check_reproducible.sh
uv run --python 3.12 --group dev python -m build
uv run --python 3.12 --group dev twine check dist/*

Links

License

MIT

Xquik is an independent third-party service. Not affiliated with X Corp. "Twitter" and "X" are trademarks of X Corp.

Release files for hermes-tweet 0.1.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hermes-tweet 0.1.13
File Size Uploaded
hermes_tweet-0.1.13.tar.gz 131.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hermes-tweet 0.1.13
File Interpreter ABI Platform
hermes_tweet-0.1.13-py3-none-any.whl Python 3 none any Details

Total release size: 161.5 kB

Release files / hermes_tweet-0.1.13.tar.gz

Download URL hermes_tweet-0.1.13.tar.gz
Size 131.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4763eeebe0c5c0b756ff2169d495438344b47f1d72130d38f4d2e7e3a5e8f691
BLAKE2b-256 checksum
How to use checksums
ed8c7b93240d51c1febf8ddaafcd4af581eb3f80c1660f17b133f1f6535e4b31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / hermes_tweet-0.1.13-py3-none-any.whl

Download URL hermes_tweet-0.1.13-py3-none-any.whl
Size 30.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ea5ebabfc4ae39c87fc0abc9d1e93821df5e942ac5ea25cb00fcf27da18ad7b
BLAKE2b-256 checksum
How to use checksums
64856ac62a080cb076c8d45024c3af3ccdd4b0892453855a3536165fab2fb02a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.13 This release

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page