Skip to content

Integrations

Sven Andreas edited this page Apr 9, 2026 · 1 revision

Integrations

Engram provides multiple integration points for AI tools, agent frameworks, and external services.

MCP (Model Context Protocol)

Native integration with Claude, Cursor, Windsurf. 24 tools via JSON-RPC 2.0 over stdio. See MCP Server.

A2A (Agent-to-Agent Protocol)

Google's agent protocol. Skills: query-knowledge, search-knowledge, store-knowledge, analyze-gaps, federated-search, suggest-investigations. Supports SSE streaming for long-running tasks.

gRPC

Port 50051 (default), feature flag --features grpc. Services: EngramService (Store, Relate, Query, Search, etc.) and EngramStreamService (EventStream, IngestProgress, BulkIngest).

LLM Tool-Calling

OpenAI-compatible tool definitions at GET /tools. Works with GPT-4, Claude, Gemini, Llama, etc.

SSE (Server-Sent Events)

Real-time event streaming at GET /events/stream. Events: node/edge changes, confidence updates, ingest progress, enrichment results, debate progress.

Webhooks

POST /ingest/webhook/{pipeline_id} for external data sources. Action engine can send webhooks as rule effects.

WebSocket Ingest

ws://localhost:3030/ingest/ws/{pipeline_id} for continuous real-time ingestion.

Web Search Providers

Tiered fallback for gap-closing and seed enrichment:

Provider Auth Cost Setup
SearXNG (recommended) Self-hosted URL Free See Configuration
Serper.dev API key Free tier: 2,500 queries serper.dev
Brave Search API key Free tier: 2,000/month brave.com/search/api
DuckDuckGo None Free No setup needed

LLM Providers

Any OpenAI-compatible chat completion endpoint:

Provider Endpoint
Ollama (recommended) http://localhost:11434/v1/chat/completions
vLLM http://localhost:8000/v1/chat/completions
OpenAI https://api.openai.com/v1/chat/completions
DeepSeek https://api.deepseek.com/v1/chat/completions
OpenRouter https://openrouter.ai/api/v1/chat/completions

Embedding Providers

Provider Endpoint
Ollama http://localhost:11434/v1
OpenAI https://api.openai.com/v1
Local ONNX No endpoint (sidecar files)

JSON-LD Export

GET /export/jsonld for RDF/linked data interoperability.

Python

See Python Integration for the client library, LangChain integration, and examples.

Clone this wiki locally