Skip to main content

dominusnode-metagpt

DominusNode tools for MetaGPT: 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-metagpt
# 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 dominusnode_metagpt import register
from metagpt.roles.di.data_interpreter import DataInterpreter

register()  # adds DominusNodeTools (19 tools) to MetaGPT's tool registry
di = DataInterpreter(tools=["DominusNodeTools"])  # key from DOMINUSNODE_API_KEY

Tools are exposed as methods of DominusNodeTools, registered with MetaGPT's register_tool (tag dominusnode).

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-metagpt 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-metagpt 2.2.0
File Size Uploaded Provenance Actions
dominusnode_metagpt-2.2.0.tar.gz 14.9 kB Without provenance Details for dominusnode_metagpt-2.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 28.4 kB

Release files / dominusnode_metagpt-2.2.0.tar.gz

Download URL dominusnode_metagpt-2.2.0.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
33580407bc349ab3a1236e3ad28f9eb15f7128bea4e09e42ae05895109202860
BLAKE2b-256 checksum
How to use checksums
4b222e417880b3399ffb2967551ac2435260b9d4a19809f58bb01d083dd749bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

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

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

Security for dominusnode-metagpt 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