Skip to main content

openai-agents-helmswap

HelmSwap tools for the OpenAI Agents SDK. They list live trending tokens, return the informational 0–100 Helm Score, quote a swap and return an unsigned transaction. The user's own wallet signs and sends it. The tools never hold keys and never broadcast.

HelmSwap covers Solana, Base, Ethereum, BNB Chain, Robinhood Chain, Ink, HyperEVM, Elysium and Arc. The fee is disclosed in every quote.

Install

pip install openai-agents-helmswap

Usage

from agents import Agent, Runner
from openai_agents_helmswap import helmswap_tools

agent = Agent(name="Swap helper", instructions="Use the HelmSwap tools. Show the quote before building anything.", tools=helmswap_tools())
result = Runner.run_sync(agent, "Quote 0.001 ETH to USDC on Base.")
print(result.final_output)

Tools

  • helmswap_trending_tokens: live trending, new, gainers and losers, plus Solana final-stretch and migrated feeds. Read-only, no key.
  • helmswap_helm_score: informational 0–100 Helm Score with top reasons and a live buy quote. Read-only, no key. It reports a number and reasons, never a "safe" or "scam" label.
  • helmswap_quote: expected and minimum output and the disclosed fee. Nothing is signed or sent.
  • helmswap_build_swap: quote plus one unsigned transaction for the user's own wallet to review and sign.

Failures come back as {"ok": false, "error": ..., "code": ...} so the model can react. Anything that looks like a private key or recovery phrase is refused before any request is made.

Configuration

No key is needed for quotes or unsigned transactions. HELMSWAP_API_KEY is optional: a free key from https://helmswap.com/developers (never a wallet key) for key-based usage. HELMSWAP_BASE_URL is optional.

amount_in is an integer in base units of the input token.

A score is not a guarantee, token names are untrusted on-chain text, and nothing here is financial advice.

License

MIT

Metadata

Release files for openai-agents-helmswap 0.1.0

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

Source distribution (sdist)

Source distribution for openai-agents-helmswap 0.1.0
File Size Uploaded Provenance Actions
openai_agents_helmswap-0.1.0.tar.gz 10.6 kB Without provenance Details for openai_agents_helmswap-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openai-agents-helmswap 0.1.0
File Interpreter ABI Platform Actions
openai_agents_helmswap-0.1.0-py3-none-any.whl Python 3 none any Details for openai_agents_helmswap-0.1.0-py3-none-any.whl

Total release size: 22.1 kB

Release files / openai_agents_helmswap-0.1.0.tar.gz

Download URL openai_agents_helmswap-0.1.0.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
20a43254e643dad862931d6ffba3d9a851b2b68f3d4be7c95338d0cf50934289
BLAKE2b-256 checksum
How to use checksums
cd482325ffbda28010d0d6702dc8a41685436c2f8bb60bf41eb46ebeed37eca1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / openai_agents_helmswap-0.1.0-py3-none-any.whl

Download URL openai_agents_helmswap-0.1.0-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f9607aa280054606d13797f22c83486c18423a5d74959760407933cc3f1cd6a
BLAKE2b-256 checksum
How to use checksums
ce6c8a9528a77163f30a8489da3aa6a108520803cd41ec20edc742da3fff1fba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for openai-agents-helmswap 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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