Skip to main content

dominusnode-haystack

DominusNode tools for Haystack: 19 tools for the DominusNode agent relay network. Agents fetch the web through exit nodes contributed by other agents, pay per GB from a prepaid wallet at the live price from network_pricing, and can earn credits by contributing their own IP with the node agent (node_setup_guide).

Version 2 is built on the official Python SDK dominusnode (v2). All HTTP, SSRF and DNS-rebinding checks, proxy tunnelling and credential scrubbing come from the SDK.

Install

pip install dominusnode-haystack
# from source, with the local SDK
pip install -e ../../sdks/python -e ".[dev]"

Defaults: API https://api.dominusnode.com, relay gateway proxy.dominusnode.com. Override with DOMINUSNODE_BASE_URL / DOMINUSNODE_PROXY_HOST. Proxy traffic uses TLS to the gateway (HTTPS proxy, port 8443). For a self-hosted coordinator set DOMINUSNODE_PROXY_URL=https://<proxy-host>:8443; DOMINUSNODE_PROXY_INSECURE=1 selects plaintext 8080 for local development only (production gateways refuse it).

Set your key in the environment (it is never a tool argument and never appears in tool output):

export DOMINUSNODE_API_KEY=dn_live_...
# optional: DOMINUSNODE_BASE_URL, DOMINUSNODE_PROXY_HOST

Usage

from haystack.components.agents import Agent
from haystack.components.generators.chat import OpenAIChatGenerator
from dominusnode_haystack import DominusNodeToolkit

toolkit = DominusNodeToolkit()          # API key from DOMINUSNODE_API_KEY
agent = Agent(chat_generator=OpenAIChatGenerator(), tools=toolkit.get_toolset())

Tools are exposed as dominusnode_<tool> Haystack Tool objects.

The 19 tools

# Tool SDK call What it does
1 fetch proxy.fetch GET/HEAD a URL through the relay (country, ip_class, session_id, allow_http)
2 proxy_url proxy.build_url Proxy URL/username for any client; key shown only as <DOMINUSNODE_API_KEY>
3 network_policy network.policy Allowed ports/methods, blocked targets and countries
4 network_pricing network.pricing Live per-GB prices by IP class and node earning shares
5 network_stats network.stats Online nodes by class and country
6 balance wallet.get_balance Prepaid wallet balance
7 transactions wallet.get_transactions Prepaid wallet transactions
8 topup_crypto wallet.top_up_crypto Crypto top-up invoice ($10-$1,000)
9 check_payment wallet.get_crypto_status Crypto invoice status
10 usage usage.get Traffic usage summary and records
11 active_sessions sessions.get_active Active relay sessions
12 report_session sessions.report Report a bad exit session
13 node_list nodes.list Your contributed nodes
14 node_tier nodes.tier Node operator tier and progress
15 node_setup_guide (static) How to earn by running the node agent
16 credits_balance credits.balance Earned credits (µUSD)
17 credits_convert none (signed flow) Points to the MCP server or SDK (needs a wallet signature)
18 payouts_list payouts.list Payouts of earned credits
19 x402_info x402.get_info x402 micropayment info

Security

  • fetch is GET/HEAD only, ports 80/443, no redirects, 10 MB cap, private and internal targets refused after DNS resolution (all addresses). https by default; plaintext http:// needs allow_http=true and is visible to the exit node.
  • Sanctioned countries (CU, IR, KP, RU, SY) are refused.
  • Every error and result is scrubbed of dn_live_/dn_test_/dn_node_/dn_proxy_ keys and JWTs.
  • Signing flows (node registration, withdrawals, payout wallet) are not exposed as LLM tools; use the DominusNode MCP server or the SDK with a signer key file.

Tests

pip install -e ../../sdks/python -e ".[dev]"
pytest

Metadata

Release files for dominusnode-haystack 2.2.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 dominusnode-haystack 2.2.0
File Size Uploaded Provenance Actions
dominusnode_haystack-2.2.0.tar.gz 14.5 kB Without provenance Details for dominusnode_haystack-2.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dominusnode-haystack 2.2.0
File Interpreter ABI Platform Actions
dominusnode_haystack-2.2.0-py3-none-any.whl Python 3 none any Details for dominusnode_haystack-2.2.0-py3-none-any.whl

Total release size: 27.5 kB

Release files / dominusnode_haystack-2.2.0.tar.gz

Download URL dominusnode_haystack-2.2.0.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a4a5f3ba2e81a8e59ebe2b57d6180b4d22ea076f7697f5e90220b581f685940e
BLAKE2b-256 checksum
How to use checksums
5d7f8f6bf2a07849e7d89486996ccafb70ce8322a65399cd835c32ecb91b4c2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / dominusnode_haystack-2.2.0-py3-none-any.whl

Download URL dominusnode_haystack-2.2.0-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc27046b2064fdcbaa328ad54c8e612f4ce5c8193549b551d19e6b56c8c65d06
BLAKE2b-256 checksum
How to use checksums
16a7546126f38d8f801b73067e1565d0bd117c63e86b6573407dab369d012ca8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for dominusnode-haystack 2.2.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

2.2.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