2026-11-27 16:21 UTC

Aroha publishes a signed, narrowing-permissions protocol and SDK for AI-agent delegation

state: expiredheat: mediumuncertainty: mediumrelevance: mediumagent-permissions agent-securityArohaLabs

What is this?

ArohaLabs has published the Aroha Protocol repository and Node.js SDK packages for signed agent mandates: a human grants authority, and agents can delegate only narrower permissions. The project says recipients can verify mandate chains offline, while revocations are pushed to verifiers and actions—including refusals—produce signed receipts. It includes integrations for MCP, A2A and other agent stacks and is Apache-2.0 licensed. These are project claims in its repository, promoted in a Show HN post; the supplied sources do not establish independent adoption or security evaluation. The repository says Aroha’s desktop runtime is still unreleased.

Why it matters

Aroha offers a practical way to carry human-granted limits through chains of cooperating agents instead of relying on each system’s local guardrails. If it works as described, agents could delegate tasks across vendors while preserving enforceable spending and action boundaries, with offline checks and signed records for auditing. That addresses a real coordination and trust problem, but the supplied evidence establishes a project release—not independent security validation or uptake.

Current assessment

ArohaLabs’ GitHub repository, promoted in a Show HN post dated 2026-10-27, publishes an Apache-2.0 protocol and Node.js SDK packages for signed agent mandates. The repository describes human-issued permissions that delegating agents may only narrow, chain verification by recipients without registry lookup, revocation distributed to verifiers, and signed receipts for allowed or refused actions. It advertises integrations with MCP, A2A, LangChain and other tools. These capabilities and compatibility claims are from the project’s own materials; the supplied sources provide no independent security assessment, deployment evidence, or adoption data. The repository says its desktop runtime has not been released. Key follow-up questions: how revocation works for offline verifiers, how keys and compromised agents are handled, and whether the protocol gains interoperability or adoption beyond the project’s examples.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-27 01:30 (minted)⭐ origin echo-reconstructedThe repository describes signed mandates issued by a human, narrowed by delegating agents, and verified by recipients, alongside revocation
ArohaLabs on github (echo) · attributed from hn.story.50253316 · published time unknown
—
10-27 00:43first on hacker news · published · lag ?Show HN: Aroha – signed, shrinking permissions for AI agents, checked offline
rajganesan-aroh
—
10-27 00:43amplified on hacker news 👑hn.story.50253316
rajganesan-aroh
peak 1 · 0 comments · 105% of case engagement
10-27 01:29our radar first saw it · lag ?discovery anchor: hn.story.50253316—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Aroha – signed, shrinking permissions for AI agents, checked offline
Retrieved article excerpt

Open article · Retrieved 2026-10-27T01:29:55.541945+00:00

# Aroha Protocol

**Cryptographically bounded authority for every agent in the chain.**

> Aroha Mandates give orchestrators cryptographically enforceable control over every sub-agent they delegate to. No agent can exceed the scope it was granted.

[CI](https://github.com/ArohaLabs/aroha-protocol/actions/workflows/ci.yml)
[Conformance](https://github.com/ArohaLabs/aroha-protocol/actions/workflows/conformance.yml)
[npm](https://www.npmjs.com/package/@aroha-sdk/core)
[npm](https://www.npmjs.com/package/@aroha-sdk/mcp-bridge)
[License: Apache-2.0](https://github.com/ArohaLabs/aroha-protocol/blob/main/LICENSE)
[Node.js](https://nodejs.org)

[Docs](https://www.aroha-labs.com/docs/) · [Support matrix](https://github.com/ArohaLabs/aroha-protocol/blob/main/docs/support-matrix.md) · [Local sandbox](https://github.com/ArohaLabs/aroha-protocol/blob/main/docs/sandbox.md) · [Support](https://github.com/ArohaLabs/aroha-protocol/blob/main/SUPPORT.md) · [Spec](https://github.com/ArohaLabs/aroha-protocol/blob/main/docs/spec/aroha-1.0.md)

---

## Mandate-first agent authority

```
import { generateKeyPair, generateDid } from "@aroha-sdk/core";
import { issueIntentMandate, attenuateToPayment, verifyMandateChain } from "@aroha-sdk/credentials";

const human = await generateKeyPair();
const orchestrator = await generateKeyPair();
const flightAgent = await generateKeyPair();
// Content-addressed DIDs (did:aroha:z…) commit to their own public key,
// so a verifier needs no registry lookup to check signatures.
const humanDID = generateDid(human.publicKey);
const orchestratorDID = generateDid(orchestrator.publicKey);
const flightAgentDID = generateDid(flightAgent.publicKey);

// Human issues an intent mandate to the orchestrator ($500, 1 hour TTL)
const intent = await issueIntentMandate(
  humanDID, orchestratorDID,
  { spendLimitUsd: 500, merchantCategory: "4511" }, // MCC 4511 = airlines
  human.privateKey,
  3_600_000,
);

// Orchestrator attenuates scope downward to the flight agent ($300 of the $500).
// The child token embeds the signed chain back to the human.
const payment = await attenuateToPayment(
  intent, flightAgentDID,
  { spendLimitUsd: 300, merchantCategory: "4511" },
  orchestrator.privateKey,
);

// Flight agent verifies every link back to the human root before acting
const result = await verifyMandateChain(payment.token, undefined, {
  expectedRoot: humanDID,          // the human authority must come from
  expectedGrantee: flightAgentDID, // the flight agent itself
});
// result.valid === true, result.chainVerified === true,
// result.mandate?.constraints.spendLimitUsd === 300.
// A link that widens scope, or is signed by anyone but its grantor, fails.
```

---

## The problem

Agents now act for people and hand work to other agents and tools, often run by other companies. MCP and A2A connect them; identity providers name them. Nothing that travels with the work proves what each agent was allowed to do, stops the whole chain when the person changes their mind, or leaves a record anyone else can check.

| Approach | What you get today |
| --- | --- |
| **Per-hop credentials** (API keys, OAuth tokens) | Each hop enforces its own key. The person's limit, purpose and expiry are lost along the way. |
| **Framework guardrails** | Checks inside one codebase. Nothing survives the hop to another vendor's agent. |
| **Aroha Mandates** | A signed chain back to the person. Scope can only narrow. Any verifier checks it offline; revocation is pushed; every action, allowed or refused, gets a signed receipt. |

Aroha answers four questions for every action: **who is acting, what were they allowed to do, can it be stopped, and what actually happened.** It works with MCP, A2A and your identity provider rather than replacing them. See [what Aroha is (and is not)](https://github.com/ArohaLabs/aroha-protocol/blob/main/docs/positioning.md).

---

## How it works

1. **Human issues a mandate** — signs an `IntentMandate` with authorized actions, a spending cap, and a TTL. Cryptographically bound to the orchestrator's DID.
2. **Orchestrator attenuates** — delegates a strict subset of that scope to the next agent. The new mandate is signed by the orchestrator. Scope narrows, never widens.
3. **Every agent verifies** — before acting, an agent verifies the mandate chain back to its human origin, offline. A forged, altered, widened or expired link fails verification.
4. **Revoke and prove** — the person can revoke at any time; the registry witness pushes the revocation to verifiers. Every allowed or refused action produces a signed receipt.
5. **Deploy in your existing stack** — bridges for MCP, LangChain, A2A, and Composio. Mandate verification drops in in two lines.

---

## Package architecture

```
Core — the four questions
├── @aroha-sdk/core           Identity (did:aroha), signed envelopes, receipts, conversation profile
├── @aroha-sdk/credentials  ★ Start here — mandates, attenuation, chain verification, revocation
├── @aroha-sdk/delegation     Multi-hop delegation with depth limits and stitched receipts
└── @aroha-sdk/policy         Deterministic limits checked before any model sees a request

Adapters (use Aroha from the stack you already run)
├── @aroha-sdk/mcp-server     Remote MCP server (2026 authorization spec)
├── @aroha-sdk/mcp-guard      Mandate checks in front of any MCP server
├── @aroha-sdk/mcp-bridge     MCP ↔ Aroha  (includes wrapMcp() one-liner)
├── @aroha-sdk/a2a-bridge     A2A ↔ Aroha
└── @aroha-sdk/langchain-bridge  LangChain / OpenAI functions ↔ Aroha

Extensions (maintained, optional; developed outside this repository)
└── orchestrator (sagas) · settlement · commerce · reputation

Tooling
├── @aroha-sdk/cli            scaffold · convert · doctor · dev sandbox
└── create-aroha-agent        npx create-aroha-agent — zero-config scaffolder
```

---

## Already building agents? Add mandate verification in 2 lines.

```
import { verifyMandateChain } from "@aroha-sdk/credentials";

// In your agent's request handler. HUMAN_ROOT_DID is the human you accept authority from;
// MY_DID is this agent's own DID. The mandate travels in the signed Aroha envelope body
// (`credentialToken`); over MCP it travels in `_meta["aroha/mandate"]` with a holder proof
// (see @aroha-sdk/mcp-bridge). There is no mandate HTTP header.
const { valid, chainVerified, mandate, reason } = await verifyMandateChain(
  envelope.body.credentialToken,
  undefined, // default resolver: content-addressed did:aroha:z… DIDs
  { expectedRoot: process.env.HUMAN_ROOT_DID, expectedGrantee: MY_DID },
);
if (!valid || !chainVerified) {
  res.status(403).json({ error: reason });
} else {
  // mandate.constraints.spendLimitUsd, mandate.constraints.merchantCategory, etc.
}
```

**Already have an MCP server?** Add one import:

```
import { wrapMcp, registryPublicKeyResolver } from "@aroha-sdk/mcp-bridge";

const agent = await wrapMcp(server.listTools(), {
  name: "my-tools",
  price: 0.01,
  resolvePublicKey: registryPublicKeyResolver(), // verifies who is calling
  handlers: { search: async (args) => ({ content: [{ type: "text", text: await search(args) }] }) },
});
await agent.start();
// ✓ did:aroha:my-tools  →  http://localhost:3001
```

**Using LangChain?** Call any mandate-aware Aroha agent as a native tool:

```
import { createArohaLangChainTool } from "@aroha-sdk/langchain-bridge";

const tool = await createArohaLangChainTool(
  "http://localhost:3001",
  "search-flights",
  "Search available flights by origin, destination, and date"
);
// plug `tool` straight into AgentExecutor, createOpenAIFunctionsAgent, etc.
```

**Using an AI coding agent?** Point it at the [`aroha-integrate`](https://github.com/ArohaLabs/aroha-protocol/blob/main/skills/aroha-integrate/SKILL.md) Agent Skill (or [`docs/llms.txt`](https://github.com/ArohaLabs/aroha-protocol/blob/main/docs/llms.txt)): it picks the smallest integration path for your code, applies it, and checks that out-of-scope calls are refused.

**Scaffold a new agent pre-wired for mandate verification:**

```
npx create-aroha-agent my-agent
cd my-agent && npm install && npm run dev
# → [my-agent] did:aroha:my-agent  http://localhost:3001/aroha/v1  Ready ✓
```

---

## CLI reference

```
aroha init my-agent              # interactive scaffold
aroha init my-agent --yes        # zero-config: picks all defaults, writes .env
aroha convert --from mcp --dir . # wrap existing agent
aroha doctor [endpoint]          # check environment + connectivity
aroha dev                        # local dev registry + dashboard
```

---

## Deploy

One-click templates for fast deployment.

> **Note:** the Vercel and Cloudflare buttons clone from `github.com/ArohaLabs/aroha-protocol`. You can
> also copy the template directory from a checkout and deploy it with the platform CLI.

| Platform | Button |
| --- | --- |
| Vercel | [Deploy with Vercel](https://vercel.com/new/clone?repository-url=https://github.com/ArohaLabs/aroha-protocol/tree/main/examples/vercel) |
| Cloudflare | [Deploy to Cloudflare](https://deploy.workers.cloudflare.com/?url=https://github.com/ArohaLabs/aroha-protocol/tree/main/examples/cloudflare) |
| Railway | No published template yet; manual setup in [examples/railway](https://github.com/ArohaLabs/aroha-protocol/blob/main/examples/railway/README.md) |
| Render | No one-click button (Render needs `render.yaml` at a repo root); Blueprint steps in [examples/render](https://github.com/ArohaLabs/aroha-protocol/blob/main/examples/render/README.md) |



---

## What's in this repo

```
packages/               SDK packages (@aroha-sdk/*)
agents/mock-provider-agent/ Reference provider agent for interoperability tests
examples/               Deployment templates (Vercel, Cloudflare, Railway, Render)
examples/sandbox-agents/ Pre-built sandbox agents (flight, hotel, weather, web-search, summarizer)
contracts/              Solidity contracts (ArohaRegistry, ArohaEscrow, ArohaReputation)
docs/                   MkDocs documentation site
```

The Aroha runtime (desktop app) is developed in a separate, private repository and has not been released. The saga, settlement,
commerce and reputation extensions are also developed outside this repository; they stay published on npm.

---

## Prerequisites

| Requirement | Version |
| --- | --- |
| Node.js | ≥ 22 |
| npm | ≥ 10 |

Foundry and Python are only needed for the smart contract demo and MkDocs docs site respectively.

---

## Contributing

Use [GitHub Issues](https://github.com/ArohaLabs/aroha-protocol/issues) for bugs and feature requests and
[GitHub Discussions](https://github.com/ArohaLabs/aroha-protocol/discussions) for questions and ideas,
or email the maintainer listed in [MAINTAINERS.md](https://github.com/ArohaLabs/aroha-protocol/blob/main/MAINTAINERS.md).
See [CONTRIBUTING.md](https://github.com/ArohaLabs/aroha-protocol/blob/main/CONTRIBUTING.md) (commits need a DCO sign-off) and [SUPPORT.md](https://github.com/ArohaLabs/aroha-protocol/blob/main/SUPPORT.md).
For security issues, see [SECURITY.md](https://github.com/ArohaLabs/aroha-protocol/blob/main/SECURITY.md).

```
npm install && npm run build && npm test
```

---

## License

Apache-2.0 — see [LICENSE](https://github.com/ArohaLabs/aroha-protocol/blob/main/LICENSE) and [NOTICE](https://github.com/ArohaLabs/aroha-protocol/blob/main/NOTICE).
rajganesan-aroh10
🟧 echo.github ⭐The repository describes signed mandates issued by a human, narrowed by delegating agents, and verified by recipients, alongside revocation ArohaLabs——

Interpretation history

Decision trace