You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ml.ink is an MCP-native deployment platform built by Freysa AI that allows AI agents to autonomously deploy, scale, and manage production applications via the Model Context Protocol. It exposes 20+ MCP tools covering full-stack deployment, managed databases (SQLite/Turso), DNS/domain management, git hosting, and observability — all on bare metal infrastructure with gVisor sandboxing.
This skill would give Hermes Agent the ability to deploy applications to production — writing code and shipping it live in a single conversation. Unlike #378 (here.now) which covers static file hosting only, ml.ink provides full-stack deployment with backends, databases, custom domains, and real-time observability. The two are complementary: here.now for quick static publishes, ml.ink for production applications.
Upcoming features on ml.ink's roadmap:x402 stablecoin payments (Coinbase's HTTP-native payment protocol on Base) and delegated identities from humans — positioning ml.ink as infrastructure for fully autonomous "sovereign agents" that can manage their own compute and finances.
Research Findings
How ml.ink Works
Architecture: Bare metal servers (currently eu-central-1, Germany) running gVisor-sandboxed containers. No cloud VMs — dedicated hardware managed end-to-end by Ink. NVMe storage, CDN-fronted serving.
MCP Endpoint:https://mcp.ml.ink/mcp
Authentication: Two methods:
OAuth 2.1 PKCE — Browser-based flow for interactive clients (Claude Code, Cursor). Discovery at https://mcp.ml.ink/.well-known/oauth-authorization-server.
API Key — Authorization: Bearer dk_live_... header. Generated at ml.ink/account/api-keys. Designed for programmatic/headless agents.
ml.ink plans to integrate x402 — Coinbase's open standard for HTTP-native payments using stablecoins. x402 revives the HTTP 402 "Payment Required" status code:
Agent sends HTTP request → server returns 402 Payment Required
Agent pays instantly with stablecoins (USDC on Base, Solana, Stellar, etc.)
API access granted — no accounts, no API keys, no subscriptions
This would allow agents to pay for compute with crypto wallets instead of credit cards — a key primitive for fully autonomous agents.
Freysa AI Context
ml.ink is built by Freysa AI, which is building toward "sovereign agents" — AI systems with provable autonomous execution, decentralized governance, and cryptographic guarantees. ml.ink is positioned as the infrastructure layer enabling agents to independently operate businesses, manage resources, and interact with each other at scale.
Current State in Hermes Agent
What we have:
Native MCP client (tools/mcp_tool.py, ~1050 lines) — supports both stdio and HTTP/StreamableHTTP transport with auto-reconnection, credential security, and configurable timeouts
HTTP transport with Bearer auth — config.yaml supports url + headers for MCP servers, which is exactly what ml.ink's API key auth needs
This is all that's needed. Our MCP client will auto-discover all 20 ml.ink tools and register them for agent use. The skill provides the setup guide, usage patterns, and best practices.
The capability is expressed as configuration + instructions for using the auto-discovered MCP tools
No custom Python integration needed — ml.ink tools appear as native tools once configured
API key management is user-side (stored in config.yaml headers), not harness-managed
Per CONTRIBUTING.md: "Make it a Skill when the capability can be expressed as instructions + shell commands + existing tools"
Should it be bundled? This is borderline. Deploying applications is broadly useful, but ml.ink is a specific commercial service (not a universal tool like git or curl). Recommendation: Skills Hub initially, promote to bundled if it becomes widely adopted or if ml.ink establishes itself as the standard agent deployment platform.
What We'd Need
SKILL.md — Setup guide (account creation, API key generation, config.yaml entry), usage patterns for all 20 tools, cost awareness guidance, troubleshooting
MCP tool server deployment (deploy MCP servers TO ml.ink that extend Hermes's own capabilities)
Enhancement to tools/mcp_tool.py: add OAuth 2.1 PKCE support for MCP servers that require it (currently we only support static headers). This would enable the interactive OAuth flow as an alternative to API keys.
Phase 3: Autonomous operations
Cronjob-based monitoring: scheduled health checks via get_service metrics
Auto-scaling patterns: agent monitors CPU/memory and calls update_service to adjust resources
x402 integration (when ml.ink ships it): enable agents to pay for compute with crypto wallets
Agent-native design — Built around MCP from day one. Transparent pricing (agents can reason about costs), observable infrastructure (agents read their own logs).
Bare metal performance — Dedicated hardware, gVisor isolation, NVMe storage. No noisy neighbors.
Complements existing proposals — here.now for quick static publishes, Pinggy for dev tunnels, ml.ink for production apps. All three serve different needs.
Future-forward — x402 payments and delegated identities align with the vision of autonomous agents managing their own infrastructure and finances.
Low maintenance — The skill is primarily documentation/instructions. ml.ink handles all infrastructure. Auto-discovered MCP tools mean no schema maintenance on our side.
MCP ecosystem alignment — Hermes already has a robust MCP client. This validates and exercises that investment.
Cons / Risks
Vendor dependency — ml.ink is new (launched March 2026) with no track record. Built by Freysa AI, a crypto-adjacent project — sustainability depends on FAI token economics and Freysa's trajectory.
Single region — Currently only eu-central-1 (Germany). No US or Asia regions yet. Latency for US users could be an issue.
Cost accumulation — Per-minute billing can add up. Agent must be trained to always check credits and communicate costs to users before deploying. Risk of unexpected charges if services are left running.
Commercial service — Unlike here.now (free/anonymous) or Pinggy (free tier), ml.ink requires signup and payment beyond the $2 trial. Not suitable for the bundled skills directory.
No OAuth PKCE in our MCP client — API key auth works, but OAuth flow doesn't. This is a minor gap (API keys are fine for headless agents) but limits parity with Claude Code's smoother setup experience.
Crypto association — Freysa AI has a token (FAI), x402 uses stablecoins. Some users may be wary of crypto-adjacent infrastructure.
Terms restrictions — No crypto mining, no VPNs, no automation bots, strict content policies. Agent must be aware of prohibited use cases.
Open Questions
Skills Hub vs. Bundled? — ml.ink solves a real gap (production deployment), but it's a specific commercial service. Should we wait for broader adoption before bundling?
OAuth PKCE support — Should we add MCP OAuth support to tools/mcp_tool.py as part of this work, or track it as a separate enhancement? It would benefit all OAuth-requiring MCP servers, not just ml.ink.
Cost guardrails — Should the skill include hard instructions like "ALWAYS check credits before deploying" and "ALWAYS warn the user about per-minute costs"? Or leave it to agent judgment?
x402 integration — When ml.ink ships x402 payments, should Hermes Agent support crypto wallet integration for autonomous compute purchasing? This opens significant ethical/security questions.
Overview
ml.ink is an MCP-native deployment platform built by Freysa AI that allows AI agents to autonomously deploy, scale, and manage production applications via the Model Context Protocol. It exposes 20+ MCP tools covering full-stack deployment, managed databases (SQLite/Turso), DNS/domain management, git hosting, and observability — all on bare metal infrastructure with gVisor sandboxing.
Source: ml.ink, docs, MCP tools reference, Freysa sovereign agents blueprint
This skill would give Hermes Agent the ability to deploy applications to production — writing code and shipping it live in a single conversation. Unlike #378 (here.now) which covers static file hosting only, ml.ink provides full-stack deployment with backends, databases, custom domains, and real-time observability. The two are complementary: here.now for quick static publishes, ml.ink for production applications.
Upcoming features on ml.ink's roadmap: x402 stablecoin payments (Coinbase's HTTP-native payment protocol on Base) and delegated identities from humans — positioning ml.ink as infrastructure for fully autonomous "sovereign agents" that can manage their own compute and finances.
Research Findings
How ml.ink Works
Architecture: Bare metal servers (currently
eu-central-1, Germany) running gVisor-sandboxed containers. No cloud VMs — dedicated hardware managed end-to-end by Ink. NVMe storage, CDN-fronted serving.MCP Endpoint:
https://mcp.ml.ink/mcpAuthentication: Two methods:
https://mcp.ml.ink/.well-known/oauth-authorization-server.Authorization: Bearer dk_live_...header. Generated atml.ink/account/api-keys. Designed for programmatic/headless agents.20 MCP Tools across 5 categories:
create_service,list_services,get_service,update_service,delete_servicecreate_resource,list_resources,get_resource,delete_resourcecreate_repo,get_git_tokenadd_custom_domain,remove_custom_domain,list_delegations,list_dns_records,add_dns_record,delete_dns_recordwhoami,list_projects,list_workspacesDeployment flow:
Supported stacks: 30+ frameworks auto-detected — React, Next.js, Vue, Svelte, Angular, Node.js, Python (FastAPI/Flask/Django), Go, Rust, Ruby, Java, PHP, .NET, Elixir, Bun, Deno, Zig, Haskell, Streamlit, Gradio, static HTML. Also supports custom Dockerfiles.
Default resources: 0.5 vCPU, 256 MB RAM (configurable up to 4 vCPU / 4 GB per service).
Key Design Decisions
check_creditsto reason about costs before deploying. Per-minute billing with no hidden fees.Pricing
Usage costs: $0.000393/vCPU/min + $0.000161/GB/min. Free ingress. 100 GB egress/mo included.
x402 Payment Protocol (Upcoming)
ml.ink plans to integrate x402 — Coinbase's open standard for HTTP-native payments using stablecoins. x402 revives the HTTP 402 "Payment Required" status code:
402 Payment RequiredThis would allow agents to pay for compute with crypto wallets instead of credit cards — a key primitive for fully autonomous agents.
Freysa AI Context
ml.ink is built by Freysa AI, which is building toward "sovereign agents" — AI systems with provable autonomous execution, decentralized governance, and cryptographic guarantees. ml.ink is positioned as the infrastructure layer enabling agents to independently operate businesses, manage resources, and interact with each other at scale.
Current State in Hermes Agent
What we have:
tools/mcp_tool.py, ~1050 lines) — supports both stdio and HTTP/StreamableHTTP transport with auto-reconnection, credential security, and configurable timeoutsurl+headersfor MCP servers, which is exactly what ml.ink's API key auth needsWhat we lack:
Integration path (works TODAY):
This is all that's needed. Our MCP client will auto-discover all 20 ml.ink tools and register them for agent use. The skill provides the setup guide, usage patterns, and best practices.
Implementation Plan
Skill vs. Tool Classification
This should be a skill because:
Should it be bundled? This is borderline. Deploying applications is broadly useful, but ml.ink is a specific commercial service (not a universal tool like git or curl). Recommendation: Skills Hub initially, promote to bundled if it becomes widely adopted or if ml.ink establishes itself as the standard agent deployment platform.
What We'd Need
Phased Rollout
Phase 1: Core deployment skill
Phase 2: Advanced patterns + MCP OAuth
tools/mcp_tool.py: add OAuth 2.1 PKCE support for MCP servers that require it (currently we only support static headers). This would enable the interactive OAuth flow as an alternative to API keys.Phase 3: Autonomous operations
get_servicemetricsupdate_serviceto adjust resourcesPros & Cons
Pros
Cons / Risks
eu-central-1(Germany). No US or Asia regions yet. Latency for US users could be an issue.Open Questions
tools/mcp_tool.pyas part of this work, or track it as a separate enhancement? It would benefit all OAuth-requiring MCP servers, not just ml.ink.References