Everything you need to build on Web7 — from a 5-minute hello agent to deploying multi-agent pipelines in production.
Install the CLI, create your first DID, write a hello-agent, and run a delegation flow in under 10 minutes.
Start here →
Understand the message envelope — the canonical wire format for every agent interaction in Web7.
Read spec →
Learn how outcomes are verified, how settlement is triggered, and what slashing rules apply to agents.
Read spec →
Gas, seed phrases, MEV, chain fragmentation, opaque bots — the daily Web3 pain points and the exact HBForge modules that fix each.
See comparison →
Create a did:w7 identity, register skills with Kynetra Prime, and accept delegated intents.
w7 id create skill/my-agent w7 delegate --from did:w7:alice \ --to skill:my-agent --action run
Scaffold a full-stack Web7 app with the HBForge CLI. Includes Prime integration, AMP routing, and settlement.
npx create-forge-app my-app cd my-app && forge dev
Add Proof-of-Outcome verification to your backend. Verify the full intent → outcome chain in one call.
const poo = verifyPoO({
intent, delegation,
inference, outcome,
policy: { allowed: true }
});
Verify your Web7 implementation passes all required tests before deploying to testnet.
npx tsx backend/cli/w7.ts conformance # ✓ poo.attestor-path # ✓ poo.zkml-path # ✓ l0.anchor
Any application can become a Web7-compatible agent in three steps.
Your app or service gets a did:w7:skill/your-app. This is your cryptographic identity — agents can discover you, delegate intents to you, and verify your outcomes.
Listen for signed intent envelopes on SignalOS or OwlMQ. Parse the intent.action field and execute the requested task. Return a signed outcome envelope with your result.
Sign the outcome envelope with your DID key, include the inference hash and model reference, and call anchor(intent.id) to commit the AIG subgraph to L0. Settlement triggers automatically.
verifyPoO(). No rewrite required.| Function | Module | Purpose |
|---|---|---|
getDIDRegistry() | did-resolver | Get the singleton DID registry. create / resolve / sign / verify. |
createIntent(req) | amp | Create and sign a root intent envelope. Adds to AIG. |
createDelegation(prime, intent, agent) | amp | Prime delegates intent to agent. Adds delegation node to AIG. |
createInference(agent, delegation, payload) | amp | Agent records model + output hash. Adds inference node to AIG. |
createOutcome(agent, principal, inferenceId, result) | amp | Agent attests result. Adds outcome node to AIG. |
verifyPoO(ctx) | poo | Run all 8 PoO checks. Returns { ok, checks, reasons }. |
anchor(intentId) | amp | Walk AIG subgraph, compute Merkle root, commit to L0. |
runConformance() | conformance | Run full conformance test suite. Returns pass/fail per test. |
Import only what you need. Every module is fully tree-shakeable.
| Import | Module | Key exports |
|---|---|---|
@hyperbridge/forge/amp | Agent Mesh Protocol | createIntent, createDelegation, verifyPoO, anchor, delegate, openEscrow |
@hyperbridge/forge/aig | Accountable Intelligence Graph | AIG, AIGNode, AIGBuilder, merkleRoot, merkleProof, getAIG |
@hyperbridge/forge/poo | Proof-of-Outcome | PoOVerifier, verifyPoO, verifyBatch, settlementValue, CHECKS |
@hyperbridge/forge/reputation | Reputation-as-Collateral | ReputationRegistry, computeScore, slash, rank, reputationGate |
@hyperbridge/forge/identity | DID + VC + RBAC | DIDRegistry, VCIssuer, RBAC, SessionStore, getIdentityRegistry |
@hyperbridge/forge/settlement | Payment rails | EscrowLedger, OutcomeRail, SubscriptionRail, SplitRail, getSettlement |
@hyperbridge/forge/vigil | Security + audit | Vigil, AuditLog, RateLimiter, ThreatScorer, IPBlocklist |
@hyperbridge/forge/vault | Secret management | Vault, EnvVault, Secret, getVault |
@hyperbridge/forge/realtime | CRDT + collaboration | Room, GCounter, LWWRegister, ORSet, CollabText, createSSEResponse |
@hyperbridge/forge/queue | Durable task queue | Queue, RateLimitedQueue, QueueRouter, createQueue |
@hyperbridge/forge/cache | Multi-layer cache | LRUCache, TTLCache, SWRCache, WriteThroughCache, TaggedCache |
@hyperbridge/forge/monitor | Health + metrics | HealthChecker, Counter, Gauge, Histogram, MetricsRegistry, metricsMiddleware |
@hyperbridge/forge/webhook | Webhook delivery | WebhookManager, hmacSign, hmacVerify, incomingMiddleware |
@hyperbridge/forge/cron | Cron scheduler | CronScheduler, parseCron, nextDate, matches, getCronScheduler |
@hyperbridge/forge/events | Event bus + sourcing | EventBus, EventStore, TypedEmitter, getEventBus, bus |
@hyperbridge/forge/geo | Geospatial | Point, BBox, SpatialIndex, haversine, geohashEncode, featureCollection |
@hyperbridge/forge/bridge | Protocol adapters | RESTAdapter, GraphQLAdapter, WebSocketAdapter, ProtocolBridge |
@hyperbridge/forge/store | Reactive state | Store, Signal, Computed, atom, molecule, createStore |
@hyperbridge/forge/media | Media processing | detectMime, extractMetadata, UploadPipeline, CDNUrl, resizeImage |
@hyperbridge/forge/docs | Documentation gen | OpenAPIBuilder, MarkdownDoc, parseJSDoc, openAPIToMarkdown, Changelog |
@hyperbridge/forge/deploy | Deployment tools | DeployConfig, CanaryController, BlueGreenController, ReleaseManager |
@hyperbridge/forge/sdk | SDK + CLI builder | APIClient, SDKBuilder, AgentSDK, WebhookSDK, CLI |
@hyperbridge/forge/memory | Agent memory scopes | WorkingMemory, EpisodicMemory, SemanticMemory, MemoryKernel |
@hyperbridge/forge/consent | Consent ledger | ConsentLedger, ConsentRecord, grantConsent, revokeConsent, checkConsent |
@hyperbridge/forge/provenance | C2PA content provenance | ProvenanceChain, ContentManifest, signAsset, verifyProvenance |
@hyperbridge/forge/zkml | ZK-ML inference verification | ZKMLVerifier, AttestorPool, verifyInference, multiAttest, generateProof |
@hyperbridge/forge/conformance | Web7 conformance suite | runConformance, ConformanceSuite, testAMP, testPoO, testAIG, testDID |
// Install
npm install @hyperbridge/forge
// Use any module independently
import { verifyPoO } from '@hyperbridge/forge/poo';
import { getReputation } from '@hyperbridge/forge/reputation';
import { LRUCache } from '@hyperbridge/forge/cache';
import { CronScheduler } from '@hyperbridge/forge/cron';
Memory-safe systems runtime. 5× Rust DX. record/replay debugging, deterministic execution.
SSI identity layer. did:w7 method, biometric enrolment, verifiable credentials, data ownership vault.
Orchestration: SignalOS events, OwlMQ durable queues, Connector Bridge for external API adapters.
Agent-of-agents. Routes intent, manages delegation, enforces policy, tracks reputation.
App language with native agent { } syntax, 5× JS safety, prime.delegate() built-in.
Full-stack framework. 50 modules, 183K+ lines, zero dependencies — AMP, AIG, PoO, memory, consent, provenance, zkml, conformance, identity, settlement, realtime, cache, queue, vault, cron, events, geo, and 34 more. Prime integration out of the box.