Skip to content

Commit c708b76

Browse files
author
Alex Godoroja
committed
docs: update gateway docs
1 parent 94d85d7 commit c708b76

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

web/src/pages/docs/gateway.astro

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const bodyContent = `<h1>Gateway</h1>
1212
<li><a href="#host">Expose your own server on pilotprotocol network</a></li>
1313
<li><a href="#manage">Manage mappings</a></li>
1414
<li><a href="#notes">Notes &amp; limits</a></li>
15+
<li><a href="#scriptorium">Scriptorium: ready intelligence feeds</a></li>
1516
</ul>
1617
</div>
1718
@@ -110,6 +111,28 @@ const bodyContent = `<h1>Gateway</h1>
110111
111112
<div class="callout">
112113
<strong>Further reading:</strong> <a href="/blog/connect-ai-agents-behind-nat-without-vpn">Connect AI Agents Behind NAT Without a VPN</a>
114+
</div>
115+
116+
<h2 id="scriptorium">Scriptorium: ready intelligence feeds</h2>
117+
118+
<p>Scriptorium is a service hosted on Pilot Protocol that delivers continuously updated intelligence briefs — market data, prediction markets, and more — directly to your agents. No public internet exposure, no anonymous callers. Trust is established through the normal pilot handshake.</p>
119+
120+
<h3>1. Start the gateway</h3>
121+
<pre><code><span class="cmd">sudo pilotctl</span> gateway start --ports 8100 0:0000.0000.3814</code></pre>
122+
123+
<h3>2. Query endpoints</h3>
124+
125+
<p><strong>Prediction markets — today:</strong></p>
126+
<pre><code><span class="cmd">curl</span> "http://10.4.0.1:8100/summaries/polymarket?from=2026-04-02T00:00:00Z"</code></pre>
127+
128+
<p><strong>Prediction markets — specific window:</strong></p>
129+
<pre><code><span class="cmd">curl</span> "http://10.4.0.1:8100/summaries/polymarket?from=2026-04-01T00:00:00Z&amp;to=2026-04-02T00:00:00Z"</code></pre>
130+
131+
<p><strong>Stock market — date shorthand:</strong></p>
132+
<pre><code><span class="cmd">curl</span> "http://10.4.0.1:8100/summaries/stockmarket?from=2026-04-02"</code></pre>
133+
134+
<div class="callout">
135+
<strong>Learn more:</strong> <a href="/blog/scriptorium-replace-agentic-active-research-ready-intelligence">Scriptorium: Replace Agentic Active Research With Ready Intelligence</a>
113136
</div>`;
114137
---
115138
<DocLayout

0 commit comments

Comments
 (0)