Skip to main content

dominusnode-composio

Composio tools for the DominusNode AI-agent relay network (v2). Agents fetch the web through exit IPs contributed by other operators, pay per GB from a prepaid wallet (live prices from dominusnode_network_pricing, nothing hardcoded), and can earn by contributing their own IP with the DominusNode node agent.

Built on the official dominusnode Python SDK v2: all HTTP, SSRF and DNS-rebinding checks, gateway username flags and validation come from the SDK.

pip install dominusnode-composio
export DOMINUSNODE_API_KEY=dn_live_...   # read from the environment, never a tool argument

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>:8444; DOMINUSNODE_PROXY_INSECURE=1 selects plaintext 8080 for local development only (production gateways refuse it).

Usage

from composio import Composio
from dominusnode_composio import DominusNodeToolkit

composio = Composio()
session = composio.create(
    user_id="agent-1",
    experimental={"custom_toolkits": [DominusNodeToolkit().composio_toolkit()]},
)
tools = session.tools()   # includes LOCAL_DOMINUSNODE_FETCH, LOCAL_DOMINUSNODE_NETWORK_PRICING, ...

The tools are Composio in-process custom tools (composio.experimental, toolkit slug DOMINUSNODE): they execute locally through the dominusnode SDK, so the DominusNode key never leaves your process. Composio slugs are the tool names without the dominusnode_ prefix, upper-cased (FETCH, NETWORK_PRICING, ...), and Composio routes them as LOCAL_DOMINUSNODE_<SLUG>. Each returns {"result": <text>, "error": <bool>}.

The table below lists the tool names; the Composio slug is the part after dominusnode_.

The 19 tools

# Tool What it does SDK call
1 dominusnode_fetch Fetch a public URL through the relay (GET/HEAD; country, ip_class, session_id, allow_http) proxy.fetch
2 dominusnode_proxy_url Gateway proxy URL/username for your own client (key shown as a placeholder) proxy.build_username
3 dominusnode_network_policy Relay policy: ports, blocked targets, sanctioned countries network.policy
4 dominusnode_network_pricing Live per-GB prices by IP class and node earning shares network.pricing
5 dominusnode_network_stats Online nodes, countries, IP classes network.stats
6 dominusnode_balance Prepaid wallet balance wallet.get_balance
7 dominusnode_transactions Wallet transactions wallet.get_transactions
8 dominusnode_topup_crypto Crypto top-up invoice ($10-$1,000) wallet.top_up_crypto
9 dominusnode_check_payment Crypto invoice status wallet.get_crypto_status
10 dominusnode_usage Bandwidth usage and cost usage.get
11 dominusnode_active_sessions Active sessions (no IPs) sessions.get_active
12 dominusnode_report_session Report a bad session sessions.report
13 dominusnode_node_list Your relay nodes nodes.list
14 dominusnode_node_tier Node-operator tier and share nodes.tier
15 dominusnode_node_setup_guide Steps to earn by running the node agent static text
16 dominusnode_credits_balance Earned node credits credits.balance
17 dominusnode_credits_convert Points to the MCP server or SDK (needs a wallet signature) none (signed flow)
18 dominusnode_payouts_list On-chain payouts payouts.list
19 dominusnode_x402_info x402 micropayment info x402.get_info

Security

  • The API key comes from DOMINUSNODE_API_KEY (or constructor config). It is never a tool argument, never in a tool schema and never in tool output; dominusnode_proxy_url returns a <DOMINUSNODE_API_KEY> placeholder.
  • Every result and error is scrubbed of dn_live_/dn_test_/dn_node_/dn_proxy_ keys and JWTs.
  • dominusnode_fetch (via the SDK): GET/HEAD only, ports 80/443, private/local hosts and DNS-rebinding refused, redirects not followed, 10 MB cap, sanctioned countries refused. Plaintext http:// needs allow_http=true and is visible to the exit node.
  • Signed flows (node registration, withdrawals, payout wallet) are not LLM tools: use the DominusNode MCP server, the node agent, or the SDK with a signer key file.

Configuration env vars: DOMINUSNODE_API_KEY, DOMINUSNODE_BASE_URL, DOMINUSNODE_PROXY_HOST, DOMINUSNODE_PROXY_URL (https://host[:port], TLS; default port 8443, self-host 8444), DOMINUSNODE_PROXY_TLS_PORT, DOMINUSNODE_PROXY_INSECURE=1 (plaintext, local dev only) and DOMINUSNODE_PROXY_PORT (plaintext port).

Development

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

License

MIT

Metadata

Release files for dominusnode-composio 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-composio 2.2.0
File Size Uploaded Provenance Actions
dominusnode_composio-2.2.0.tar.gz 14.9 kB Without provenance Details for dominusnode_composio-2.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 28.7 kB

Release files / dominusnode_composio-2.2.0.tar.gz

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

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

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

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