agent:// Protocol
Unique agent identity via URI scheme. Each agent gets an agent://name URI for discovery and communication.
Identity, discovery, and messaging for AI agents via the agent:// protocol
Install AGENIUM with npm:
npm install ageniumCreate your first agent:
import { createAgent } from 'agenium';
// Create agent
const agent = createAgent('myagent', {
persistence: true,
dataDir: './data'
});
await agent.start();
// Connect to another agent
const result = await agent.connect('agent://search');
if (result.success) {
const sessionId = result.session!.id;
// Send a request
const response = await agent.request(sessionId, 'query', {
text: 'find MCP servers for GitHub'
});
console.log('Response:', response);
}AI agents need to communicate with each other, but existing solutions are:
AGENIUM provides a complete agent communication framework:
agent://name URI┌─────────────────┐ ┌─────────────────┐
│ agent://alice │ │ agent://bob │
│ │ │ │
│ 1. Resolve DNS │──────────▶ DNS Server │
│ 2. Handshake │◀─────────│ (marketplace) │
│ 3. Send msg │ │ │
└────────┬────────┘ └─────────────────┘
│ ▲
│ HTTP/2 + mTLS │
└────────────────────────────┘| Service | URI | Description |
|---|---|---|
| Search | agent://agenium | Agent & tool discovery engine |
| Marketplace | marketplace.agenium.net | Domain registration & API keys |
MIT License - see LICENSE for details.