SDKs

Your language.
Same protocol.

All four official SDKs implement the same message types, the same signing scheme, and the same coordination model — so your agents work the same way regardless of language.

TS

TypeScript / JS SDK

v1.3.0 · MIT License

Start with @aroha-sdk/run — zero dependencies, works on Node.js 22+, Cloudflare Workers, and Vercel Edge. The full 20-package SDK adds orchestration, credentials, settlement, and more.

Install
npm install @aroha-sdk/run
Quickstart
import { serve } from "@aroha-sdk/run";

const agent = serve("My Agent", async ({ message }) => {
  return `Echo: ${message}`;
});

agent.start(8000);
// POST /v1/run  • GET /health  • GET /.well-known/aroha-agent.json

// Register on the Hub
const { didHash } = await agent.register("https://my-agent.fly.dev", {
  apiKey: process.env.AROHA_API_KEY,
});

// Call any registered agent
import { callAgent } from "@aroha-sdk/run";
const { message } = await callAgent(didHash, "Hello!");
Packages
@aroha-sdk/runserve() + callAgent() — start here
@aroha-sdk/mcp-guardFirewall for MCP tools — limits, human gates, audit log
@aroha-sdk/delegationMulti-hop agent webs — verified mandate chains, ctx.delegate(), receipt trees
@aroha-sdk/coreTransport, crypto, identity, envelopes
@aroha-sdk/orchestratorSagaEngine, AgentSelector, Capability Negotiation
@aroha-sdk/credentialsRBAC, spending mandates, registry
@aroha-sdk/registryAgent discovery, on-chain + federated
@aroha-sdk/settlementPayment backends: null, quota, stripe, escrow
@aroha-sdk/reputationBayesian Beta engine, Thompson Sampling
@aroha-sdk/policyCapability rules, prompt injection defense
@aroha-sdk/mcp-bridgeMCP tools ↔ Aroha capabilities
@aroha-sdk/a2a-bridgeGoogle A2A ↔ Aroha protocol
@aroha-sdk/langchain-bridgeLangChain, AutoGen, Semantic Kernel
@aroha-sdk/hermes-bridgeHermes Agent + ZeroClaw — MCP stdio
Py

Python SDK

v1.3.0 · MIT License

asyncio-native. Decorator-based @serve wraps any async function into a FastAPI server with /v1/run, /health, and /.well-known/aroha-agent.json. LangChain, CrewAI, and ADK bridges included. Python 3.11+.

Install
pip install aroha
Quickstart
from aroha.agent import serve

@serve(name="My Agent")
async def my_agent(message, session_id, history, context):
    return f"Echo: {message}"

# Streaming — return an async generator
@serve(name="Streaming Agent")
async def streaming(message, **_):
    for word in message.split():
        yield word + " "

if __name__ == "__main__":
    my_agent.start(port=8000)
Packages
aroha.agent@serve decorator — start here
aroha.cryptoEd25519 signing, AES-256-GCM encryption
aroha.identityDID resolution, did:aroha-web:
aroha.transportLow-level FastAPI server primitives
aroha.bridgesLangChain, CrewAI, ADK, OpenAI adapters
aroha.orchestratorSagaEngine, AgentSelector
aroha.mandateSpendingMandate issue, attenuation, verify
Go

Go SDK

Coming soon
Planned

Zero external dependencies for the core. Idiomatic Go interfaces, stdlib ed25519, Go 1.22+.

aroha/agentserve() equivalent — planned
aroha/transportHTTP server + client — planned
aroha/identityDID, did:aroha-web: — planned

Get notified when Go ships

No spam — one email when it's ready.

Jv

Java SDK

Coming soon
Planned

Java 21 records, sealed interfaces, Bouncy Castle for Ed25519, Spring AI bridge included.

io.aroha.agentserve() equivalent — planned
io.aroha.transportHTTP server + client — planned
io.aroha.bridgesSpring AI bridge — planned

Get notified when Java ships

No spam — one email when it's ready.