• bitcoinBitcoin(BTC)$78,801.000.26%
  • ethereumEthereum(ETH)$2,495.590.15%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$740.96-1.53%
  • rippleXRP(XRP)$1.42-0.51%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • solanaSolana(SOL)$103.54-0.28%
  • tronTRON(TRX)$0.3399480.18%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-1.96%
  • zcashZcash(ZEC)$1,273.257.75%
  • HyperliquidHyperliquid(HYPE)$85.822.19%
  • dogecoinDogecoin(DOGE)$0.089166-1.01%
  • RainRain(RAIN)$0.016252-2.57%
  • USDSUSDS(USDS)$1.000.00%
  • whitebitWhiteBIT Coin(WBT)$81.43-0.23%
  • moneroMonero(XMR)$510.061.68%
  • chainlinkChainlink(LINK)$12.02-5.37%
  • leo-tokenLEO Token(LEO)$9.18-0.23%
  • cardanoCardano(ADA)$0.217760-3.31%
  • stellarStellar(XLM)$0.185362-2.78%
  • bitcoin-cashBitcoin Cash(BCH)$258.360.07%
  • daiDai(DAI)$1.000.02%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • USD1USD1(USD1)$1.00-0.02%
  • litecoinLitecoin(LTC)$54.410.27%
  • uniswapUniswap(UNI)$6.61-3.74%
  • CantonCanton(CC)$0.104006-3.70%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.39-1.40%
  • nearNEAR Protocol(NEAR)$2.6311.09%
  • hedera-hashgraphHedera(HBAR)$0.078225-1.72%
  • avalanche-2Avalanche(AVAX)$7.94-1.01%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • suiSui(SUI)$0.80-3.05%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.10%
  • crypto-com-chainCronos(CRO)$0.059975-0.47%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,413.240.49%
  • MemeCoreMemeCore(M)$1.18-1.56%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • BittensorBittensor(TAO)$257.78-2.35%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • okbOKB(OKB)$113.34-0.75%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.140.00%
  • mantleMantle(MNT)$0.63-2.78%
  • AsterAster(ASTER)$0.74-1.95%
  • aaveAave(AAVE)$129.26-0.18%
  • Pump.funPump.fun(PUMP)$0.0047647.74%
  • polkadotPolkadot(DOT)$1.13-7.37%
  • pax-goldPAX Gold(PAXG)$4,418.190.51%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Meet SAM (Sovereign Agent Mesh): A Zero-Config, Zero-Trust P2P Network for AI Agents

August 18, 2026
in AI & Technology
Reading Time: 20 mins read
A A
Meet SAM (Sovereign Agent Mesh): A Zero-Config, Zero-Trust P2P Network for AI Agents
ShareShareShareShareShare

google/sam is not Segment Anything. SAM here means Sovereign Agent Mesh, an Apache-2.0 networking project for autonomous AI agents. The problem it targets is concrete. Agents now run across cloud servers, on-prem datacenters, laptops, Raspberry Pis and Android devices. Letting them share tools usually means exposing internal scripts, LLM endpoints or private APIs to the public internet. SAM’s alternative is a zero-config, zero-trust P2P overlay — closer to a private VPN, but scoped to agent-to-agent tool sharing over the Model Context Protocol. Nodes discover each other automatically, survive NAT, and authorize every call cryptographically.

Note: The repo carries an explicit disclaimer: this is not an officially supported Google product.

Is it deployable?

Partially, the engineering is production-shaped, but the public mesh is still labelled a beta testnet.

  • What ships now: Go binaries, an install script, ghcr.io Docker images, a charts/sam-mesh Helm chart, a production Kubernetes guide, and Android/iOS support. The public testnet is bananas.sam-mesh.dev. For real workloads, self-host your control plane. The docs call this “DIY Mode” and it is the path to full data and policy control.
  • Company level: Best fit is mid-market and enterprise engineering orgs running agents across more than one network boundary. Startups inside a single VPC gain less; the value shows up once agents span cloud, datacenter and laptops.
  • Industries: Financial services, healthcare, public sector and defense, and industrial or robotics edge fleets. Broadly, any regulated org that cannot publish internal tools to the internet.
  • Applications: Cross-cloud MCP tool sharing, hybrid on-prem to cloud agent calls, brokered inference endpoints, sandboxed agents with credential injection, and pooled warm workers.

Architecture: three binaries

  • sam-control-plane — identity registration, token issuing, policy distribution.
  • sam-router — libp2p bootstrap points and GossipSub routing overlays.
  • sam-node — the P2P client providing mesh transport, self-healing connectivity, and a local MCP HTTP interface.

A node joins with sam-node join, then runs with sam-node run. libp2p uses 5001/udp and 5002/tcp; the local MCP API defaults to 8080.

Identity: OIDC in, Biscuit out

This is the interesting part. The control plane verifies an OIDC JWT. It then translates the claims into Datalog facts and seals them into a Biscuit token. sub becomes user(...), each group becomes group(...), and the peer ID binds in as client_peer_id(...).

The consequence: nodes authorize offline. A node evaluates the presented token against its own local rules without calling home.

Enforcement is strict default-deny. Access needs an explicit capability fact such as granted_service_exact(...). There are no built-in exceptions — even the discovery catalog system://sam.catalog must be granted. Services use a strict type://name convention with wildcard support (mcp://*, mcp://build-runner.*).

Every request runs a two-stage pipeline. Stage 1 gates the connection against ban and revocation caches. Stage 2 runs exactly two Biscuit authorizer passes. The first covers the node’s own identity token to emit target_fact assertions. The second covers the caller’s token. A baseline check blocks replay by requiring the connection peer ID to match the token.

Operators can attenuate locally, denying a write tool after 9 PM or blocking contractors. Local allows still cannot bypass control-plane check if constraints.

Interactive explainer



What an agent actually calls

The node exposes standard MCP tools: discover_remote_services, find_remote_tools, and call_remote_tool. Guides cover Gemini, Claude Code, Claude Desktop, Google Antigravity and OpenClaw. sam-node skill install writes a SKILL.md so an agent can bring the node online itself. The enrollment login stays with a human by design.

Egress control: sam-box and nano-init

The Secure Outbound Gateway targets a real agent-security gap. nano-init runs as PID 1 in the sandbox and sets the proxy environment variables. For tools that ignore them, it LD_PRELOADs an interceptor hooking the C connect() syscall on ports 80 and 443.

YOU MAY ALSO LIKE

Lightfield Raises $47M Series A Led by a16z to Accelerate Growth – Unite.AI

Everything Announced During Nintendo Direct

Traffic reaches sam-box over a Unix domain socket. The gateway verifies the Biscuit, injects the real credential from secrets.yaml, and upgrades the request to HTTPS. The agent sandbox never holds the key.

A worked pattern: warm agent pool

The code-reviewer pool example fans batch work across identical running workers using ordinary MCP services. A manager learns peers via DHT discovery and tracks busy state with leases. Correctness comes from synchronous lease assignment, fencing tokens, grace eviction, and a POOL_BUSY backstop. Workers verify a short-lived HMAC token offline; anything else returns NO_LEASE.

Key Takeaways

  • SAM is Sovereign Agent Mesh, an Apache-2.0 P2P overlay — not Segment Anything.
  • Three binaries: control plane for identity and policy, routers for libp2p transport, nodes for MCP.
  • OIDC claims are translated into Biscuit Datalog facts, so nodes authorize offline.
  • Default-deny is absolute; even the discovery catalog needs an explicit grant.
  • Production use means self-hosting a control plane — the public mesh is a beta testnet.

Check out the GitHub Repo. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us


Michal Sutter is a data science professional with a Master of Science in Data Science from the University of Padova. With a solid foundation in statistical analysis, machine learning, and data engineering, Michal excels at transforming complex datasets into actionable insights.

Credit: Source link

ShareTweetSendSharePin

Related Posts

Lightfield Raises M Series A Led by a16z to Accelerate Growth – Unite.AI
AI & Technology

Lightfield Raises $47M Series A Led by a16z to Accelerate Growth – Unite.AI

September 9, 2026
Everything Announced During Nintendo Direct
AI & Technology

Everything Announced During Nintendo Direct

September 9, 2026
Why It’s Time to Abandon the ‘Set It and Forget It’ Model – Unite.AI
AI & Technology

Why It’s Time to Abandon the ‘Set It and Forget It’ Model – Unite.AI

September 9, 2026
Lyft Is Now Offering Waymo Rides In Nashville
AI & Technology

Lyft Is Now Offering Waymo Rides In Nashville

September 9, 2026
Next Post
What We Know About Damages From Hurricane Lala in Hawaii – The New York Times

What We Know About Damages From Hurricane Lala in Hawaii - The New York Times

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Trump says U.S. ‘locked and loaded’ to attack Iran as concerns grow over rising costs at home

Trump says U.S. ‘locked and loaded’ to attack Iran as concerns grow over rising costs at home

September 5, 2026
N.J. Governor Sherrill addresses noncitizen voter scandal

N.J. Governor Sherrill addresses noncitizen voter scandal

September 6, 2026
When Is It No Longer Worth Repairing Your Phone And Buying A New One Instead

When Is It No Longer Worth Repairing Your Phone And Buying A New One Instead

September 7, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!