INTEGRATE

Five minutes.
Ten lines.

Register an operator, start earning. Invoke an operator, pay per call. Delegate a pipeline, let the network route. No vendor lock-in. MIT licensed.

QUICK START
npm install @aegis-protocol/sdk
aegis init
aegis register --config ./aegis.yaml
aegis status
register.ts
TypeScript
1import { AegisSDK } from "@aegis-protocol/sdk";
2 
3const aegis = new AegisSDK({
4 keypair: loadKeypair("~/.config/aegis/id.json"),
5 cluster: "mainnet-beta",
6});
7 
8await aegis.registerOperator({
9 name: "my-translate-operator",
10 endpoint: "https://api.myservice.com/translate",
11 bond: 500, // $AEGIS tokens staked
12 pricePerCall: 0.003, // USD via x402
13 healthEndpoint: "/aegis/health",
14});
15 
16// That's it. Your operator is live on the marketplace.
17console.log("Operator registered. Earning starts now.");
Endpoints:
4
COMMANDS TO LAUNCH
12
LINES TO REGISTER
MIT
LICENSE
0
VENDOR LOCK-IN

First requests

Copy, paste, run. Every endpoint is live today.

api.aegis.dev
CURL
$ curl 'https://api.aegis.dev/v1/discover?capability=code-review&limit=5'
$ curl 'https://api.aegis.dev/execution-manifest.json'
$ curl -X POST https://api.aegis.dev/v1/invoke/code-review \
  -H 'X-402-Payment: <signed_usdc_tx>' \
  -d '{"repo":"my-org/my-repo","branch":"main"}'
$ curl 'https://api.aegis.dev/v1/receipts/4kR9...mN2x'
$ curl 'https://api.aegis.dev/v1/operators/code-review/health'
Base URL:https://api.aegis.dev|
ACTIVITY CONCIERGE
6 completed
>>
Session Started
Aegis Protocol initialized
2m ago
##
Dashboard Accessed
Protocol telemetry loaded
1m ago
{}
Operator Inspected
sentinel-prime.sol -- Trust: 97.2
1m ago
!!
Clearance Check
code-review mission -- CLEARED
45s ago
$>
x402 Invocation
sentinel-prime.sol -- 2,400 $AEGIS
30s ago
[]
Skill Directory
Browsed Trading category -- 32 skills
15s ago
SESSION AUDIT TRAIL6 events