Installation
Requires Go 1.25+.
Piri is a spatial database built for AI agents. It exposes a full geospatial toolkit over the Model Context Protocol, so LLM agents get deterministic spatial tools — proximity search, geofencing, polygon intersection, H3 indexing — without hallucination.
Introduction is framed as an execution surface instead of a generic article. Use it when you need direct context, concise operational detail, and a fast path into getting started.
Requires Go 1.25+.
Get up and running with Piri in 5 minutes.
High-performance spatial indexing for fast geographic and geometric queries.
{
"tool_name": "getting_started",
"scope": "Getting Started",
"description": "Piri is a spatial database built for AI agents. It exposes a full geospatial toolkit over the Model Context Protocol, so LLM agents get deterministic spatial tools — proximity search, geofencing, polygon intersection, H3 indexing — without hallucination.",
"parameters": {
"workspace": "default",
"surface": "getting-started",
"focus": "Introduction",
"mode": "reference"
}
}import { PiriClient } from '@piri/sdk'
const client = new PiriClient({
apiKey: process.env.PIRI_API_KEY!,
baseUrl: process.env.PIRI_BASE_URL!,
})
async function runDocsFlow() {
const result = await client.request('/v1/bootstrap', {
method: 'POST',
body: {
page: 'Introduction',
section: 'Getting Started',
intent: 'load'
}
})
return result
}
runDocsFlow().then(console.log)