---
aimd: "1.0"
mako: "1.0"
type: "article"
entity: "Dokumentasi — konsumsi situs ini dalam tiga cara"
updated: "2026-09-16"
tokens: 253
language: "id"
canonical: "https://demo.aifeed.md/id/docs"
summary: "Resep CLI, SDK, dan curl mentah untuk origin demo, dengan rantai verifikasi lengkap."
alternates:
  - url: "https://demo.aifeed.md/docs/"
    lang: "en"
  - url: "https://demo.aifeed.md/id/docs/"
    lang: "id"
media:
  cover:
    url: "https://aifeed.md/og-image.png"
    alt: "Dokumentasi — konsumsi situs ini dalam tiga cara"
---

[Beranda](/id/) / Docs

Halaman ini belum diterjemahkan; teks asli bahasa Inggris ditampilkan di bawah.

# Consume this site in three ways

Every path below ends at the same place: a verified decision about what this origin allows.

## 1. The compliant agent example

```
git clone https://github.com/denyn1/aifeed-protocol
cd aifeed-protocol
node examples/agent/compliant-agent.js https://demo.aifeed.md --use retrieval --fetch
```

Exit code 0 means verified; 1 means unverified or denied.

## 2. The SDK

```
npm install @aifeed/verify
const sdk = require('@aifeed/verify');
const base = 'https://demo.aifeed.md/.well-known/';
const manifest = await sdk.fetchText(base + 'ai.json');
const signature = await sdk.fetchText(base + 'ai-signature.json');
const out = sdk.verifyAll({ manifestText: manifest.text, manifestBytes: manifest.buffer,
signatureText: signature.text, domain: 'demo.aifeed.md' });
console.log(out.result);
```

## 3. Raw HTTP with content negotiation

```
curl -H 'Accept: text/aifeed+markdown' https://demo.aifeed.md/ | head -40
curl -H 'Accept: text/mako+markdown' https://demo.aifeed.md/ | head -40
curl https://demo.aifeed.md/.well-known/aifeed-index.json | head -30
```

## The verification chain

- TLS and domain match: the manifest's identity.domain equals the host.

- Ed25519 over JCS-canonical bytes with the aifeed.v0.2 separation.

- Optional DNS anchor: _aifeed.demo.aifeed.md carries the same public key.

- Permission decisions read from the signed permissions table.

- Revocation re-check before restricted uses.
