1 2 3 4 5

Create Your Account

Start by setting up your AgentMesh account.

Name
Email
Password

Already have an account? Log in instead

Create a Network

Networks group your agents together. Create your first one.

Network Name
Description (optional)

Register Your First Agent

Add an agent to your network.

Agent Name
Description (optional)
Endpoint URL (optional)
Tailscale IP (optional)

Install the SDK

Add AgentMesh to your project.

Install
npm install @agentmesh/sdk
Configure Authority
import { createAuthority, keygen } from "@agentmesh/sdk";

const keys = await keygen();
const authority = createAuthority({
  issuer: "https://mesh.coinsenda.ai",
  privateKey: keys.privateKey,
  publicKey: keys.publicKey,
});

const token = await authority.issueToken({
  subject: "agent:my-agent",
  scopes: ["skill:execute:*"],
  expiresIn: "1h",
});
Verify Tokens
import { createVerifier } from "@agentmesh/sdk";

const verifier = createVerifier({
  jwksUrl: "https://mesh.coinsenda.ai/.well-known/jwks.json",
  audience: "https://my-agent.example.com",
});

const payload = await verifier.verify(token);
// payload.sub, payload.scopes
Client — Request Access
import { createClient } from "@agentmesh/sdk";

const client = createClient({
  agentId: "agent:my-agent",
  authorityUrl: "https://mesh.coinsenda.ai",
});

const access = await client.requestAccess({
  targetAgent: "agent:translator",
  scopes: ["skill:execute:translate"],
});

You're All Set!

Your agent network is ready to go.

Network

Agent

SDK

Ready