Quickstarts

Embedded library quickstart

Integration surfaces for Spectron.

Spectron runs as a horizontally scalable service in front of SurrealDB. Integrate through:

  • HTTP/api/v1/{context_id}/... (REST API)

  • MCP/mcp on the same port

  • Generated SDKs — Python (surrealdb-spectron) and TypeScript (@surrealdb/spectron)

  • Harness adapters — LangChain, Vercel AI SDK, OpenAI Agents, n8n, Claude Code hook (Integrations)

There is no supported in-process API that runs extraction and recall inside your application binary without the Spectron server. Rust, Python, and TypeScript agents call the HTTP API or SDK against a deployed Spectron instance.

GoalUse
Python / TypeScript agentPython or JavaScript SDK
Coding assistantMCP install
LangChain / Vercel AI / OpenAI AgentsFramework adapters
Self-hosted stackSelf-hosted quickstart or Docker

See also Embedded library for Rust-specific notes.

Was this page helpful?