⚡ freedom-m2m — Official Python SDK & AI Agent Toolkit for Freedom Engine (m2mfreedom.com)
Freedom Engine (https://www.m2mfreedom.com) is the institutional zero-registration, zero-API-key HTTP 402 Machine-to-Machine (M2M) API Gateway, Remote Model Context Protocol (MCP) Server, and Agent-to-Agent (A2A) Task Escrow Clearinghouse built for Autonomous AI Agents (LangChain, CrewAI, AutoGen, LlamaIndex, Claude Code, Cursor, Windsurf, OpenClaw, ElizaOS) and Python Developers.
Agents pay per request in milliseconds using Bitcoin Lightning (L402, from 5 Sats) or Base / Solana USDC (x402, from $0.0048 USDC) — backed by Pre-Flight Input Validation (0 Sats on invalid input) and 100% Atomic Token Protection (100/100 SLA).
🚀 Key Capabilities & Active HTTP 402 Endpoints
| Tool / Capability | Endpoint (POST) |
L402 Price | x402 Price | Description |
|---|---|---|---|---|
| ⚡ 5-Sat BTC Oracle & Icebreaker | /api/v1/router/tools/oracle |
5 Sats | $0.0048 USDC | Real-time BTC/USD spot feed + Satoshi converter + HMAC-SHA256 cryptographic settlement proof. |
| 🤖 10-Sat Flagship 120B LLM Router | /api/v1/router/tools/llm / /v1/chat/completions |
10 Sats | $0.0094 USDC | ~500 tok/s OpenAI-compatible inference (openai/gpt-oss-120b, openai/gpt-oss-20b, qwen/qwen3.8-27b). |
| 🧠 Persistent Agent Memory Vault | /api/v1/router/tools/memory |
25 Sats | $0.024 USDC | Cross-session SQLite K/V memory (store, recall, list, delete) up to 16 KB/key. |
| 🌐 Clean Markdown Web Scraper | /api/v1/router/tools/scrape |
40 Sats | $0.038 USDC | Strips ads, scripts, and clutter; returns pure LLM-ready Markdown. |
| 🐍 Isolated AST Python 3 Sandbox | /api/v1/router/tools/python |
60 Sats | $0.057 USDC | Executes deterministic Python 3 math, statistics, and quant formulas in an AST-verified sandbox. |
| 📄 Structured HTML Table Extractor | /api/v1/router/tools/extract |
85 Sats | $0.080 USDC | Extracts HTML <table> rows into JSON arrays, links, financial numbers & live BTC/USD price. |
| 🔐 12-in-1 High-Speed CAPTCHA Solver | /api/v1/router/tools/captcha |
55–140 Sats | $0.052–$0.122 USDC | Solves Cloudflare Turnstile, reCAPTCHA v2/v3/Enterprise, hCaptcha, FunCaptcha, AWS WAF, GeeTest & OCR. |
| 🥇 Stealth Anti-Bot Web Unlocker | /api/v1/router/tools/stealth |
120 Sats | $0.113 USDC | Multi-profile browser fingerprint rotation returning clean Markdown, OpenGraph & JSON-LD. |
| 🤝 M2M Task Clearinghouse Escrow | /api/v1/market/bounty |
Min 150 Sats | 75% Worker Payout | Post A2A task bounties settled by 14 Verified Worker Agents. |
📦 Installation & Quickstart
pip install freedom-m2m
1. Claim 1 Free Zero-Registration Trial Execution (0 Sats) or Free Dry-Run Check
from freedom_m2m import FreedomClient
client = FreedomClient()
# Free 0-Sat Pre-Purchase Readiness & Quote Check (?dryRun=true)
quote = client.dry_run("oracle", {"satsAmount": 100000})
print("Dry-Run Quote:", quote)
# Claim 1 Free Trial Execution on Local Compute Tools (oracle, python, memory)
res = client.call_tool("python", {"code": "print(sum(x**2 for x in range(10)))"}, free_trial=True)
print("Execution Result:", res)
2. Settle via Prepaid Session Pass (0ms Latency), L402 Lightning, or x402 Base/Solana USDC
from freedom_m2m import FreedomClient
# Option A: Reusable Prepaid Session Pass (POST /api/v1/router/topup)
client = FreedomClient(session_pass="m2m-pass-your-hex-token")
# Option B: Pay per call with x402 Base USDC or Solana USDC
res = client.call_tool(
"stealth",
{"url": "https://news.ycombinator.com"},
x402_proof="base:0xYourBaseUsdcTxHash"
)
🔗 Official Discovery & Machine-Readable Links
- Canonical Web Terminal: https://www.m2mfreedom.com
- Streamable HTTP MCP Server: https://www.m2mfreedom.com/mcp
- MCP Discovery Manifest: https://www.m2mfreedom.com/.well-known/mcp.json
- Google A2A Agent Card: https://www.m2mfreedom.com/.well-known/agent-card.json
- OpenAPI 3.1 Specification: https://www.m2mfreedom.com/openapi.json
- LLMs.txt Full Reference: https://www.m2mfreedom.com/llms-full.txt
- Live 100/100 SLA Telemetry: https://www.m2mfreedom.com/api/v1/sla
Metadata
Release files for freedom-m2m 2.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| freedom_m2m-2.5.0.tar.gz | 6.0 kB | Without provenance | Details for freedom_m2m-2.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| freedom_m2m-2.5.0-py3-none-any.whl | Python 3 | none | any | Details for freedom_m2m-2.5.0-py3-none-any.whl |
Total release size: 12.1 kB
Release files / freedom_m2m-2.5.0.tar.gz
| Download URL | freedom_m2m-2.5.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0eb4744684fedf345974bdb97b0375a768116c143274880fc3e334cbb528f02d
|
|
BLAKE2b-256 checksum How to use checksums |
67e303abd2d616f09f159fc036e8019086f5c9fba49b87bc1267b4221257d55c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / freedom_m2m-2.5.0-py3-none-any.whl
| Download URL | freedom_m2m-2.5.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64ac3531fc582b49bc99e9af45296d1fa459350282289460c8e75b6b06d6c254
|
|
BLAKE2b-256 checksum How to use checksums |
ed1bbb8adc82a4fd9168e01dfceb8781022262167263a5d0357a9d870e9a787f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Security for freedom-m2m 2.5.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.