Surfaces

Embedded library

In-process integration surfaces.

Spectron runs as a horizontally scalable HTTP service in front of SurrealDB. Application code integrates through:

SurfaceDescription
REST/api/v1/{context_id}/...
MCP/mcp on the same port
SDKssurrealdb-spectron, @surrealdb/spectron
Harness adaptersLangChain, Vercel AI SDK, OpenAI Agents, n8n, Claude Code hook

There is no supported in-process library that runs extraction and recall inside your binary without the Spectron server.

Deploy spectrond with Docker and call the HTTP API or generated client.

Was this page helpful?