NorthRAG / Developers
Build on it, instead of building it again.
The first team asks questions. The next wants the same knowledge inside its product: an API that answers with sources, a tool that checks an order in your ERP, an agent that reads the whole contract before it answers. On NorthRAG each of those is an endpoint on the same cluster, not a new project.
One endpoint, every way to use it.
Ask it over HTTP and get an answer with its sources. Give it a tool and it reaches your systems. Hand it to an agent and it reads whole documents, section by section.
Request
# Ask the Policies endpoint
curl \
https://rag.example.com/v1/endpoints/ep_policies/chat \
-H "Authorization: Bearer $NORTHRAG_KEY" \
-d '{"messages":[{"role":"user",
"content":"Notice period for suppliers?"}],
"stream":false}'
Response
{
"answer": "Either party can terminate with 90 days'…",
"citations": [
{ "source_id": "S1",
"quote": "…on 90 days' written notice." }
],
"sources": [
{ "id": "S1", "title": "Supplier Master Agreement.pdf",
"section": ["14", "14.2 Termination"] }
]
}
Request
# The Orders endpoint has a tool, order_status,
# that NorthRAG calls on your ERP
curl -N \
https://rag.example.com/v1/endpoints/ep_orders/chat \
-H "Authorization: Bearer $NORTHRAG_KEY" \
-d '{"messages":[{"role":"user",
"content":"Can order 4471 still be returned?"}]}'
Response, streamed
event: retrieval
data: {"sources":[{"id":"S1","title":"Returns policy",…}]}
event: tool_call
data: {"name":"order_status","runs":"http",
"input":{"order":"4471"},…}
event: delta
data: {"text":"Yes, until 3 December: it was delivered…"}
event: citation
data: {"source_id":"S1","quote":"…within 30 days of delivery."}
event: done
data: {"stop_reason":"end_turn",…}
In Claude Code
# Give Claude the Policies endpoint
claude mcp add --transport http policies \
https://rag.example.com/mcp/ep_policies \
--header "Authorization: Bearer $NORTHRAG_KEY"
The tools Claude gets
search Passages for a query, with where they came from.
ask The endpoint's answer, with its sources.
outline A document's headings, as a tree.
read_section One section: the whole clause or chapter.
Endpoints
Vector stores, a model, instructions and tools, published as one versioned API: chat, retrieval-only and OpenAI-compatible, behind keys with rate limits.
Tools
Describe a tool in JSON Schema and the model calls it when a question needs it. Your app runs it, or NorthRAG calls your HTTPS service. An output schema makes the answer JSON your software reads.
Agents
An endpoint with tools reads your knowledge, calls your systems over several rounds, then answers with its sources. Claude and other agents use every endpoint over MCP, and read long documents section by section.
Apps
Connect Claude with a build key and describe an app: it writes it, deploys it to your cluster under your domain, and rolls it back when you ask.
Every way in, and the key it takes.
Keys belong to one project and come in three kinds: one to ask, one to send data in, one to build. Each is shown once, can be limited to the endpoints you list, and is revoked in a click.
-
Chat
POST /v1/endpoints/{id}/chatstreams the retrieval, any tool calls, the text and its citations. A tool your app runs pauses the answer until you send its result. -
OpenAI-compatible
/v1/openai/chat/completions, with the endpoint as the model. The OpenAI SDKs you already use work as they are. -
Retrieval only
POST /v1/endpoints/{id}/retrievereturns the passages and their sources, for a model or pipeline of your own. -
MCP
Every endpoint is an MCP server for Claude and other agents, with tools to search, ask, read a document's outline and read one section whole.
-
Write API
POST /v1/databases/{id}/records, with an ingest key: your systems send records in. Or a Python script the platform runs once, on a schedule, or when you call it. -
Build
With a build key, Claude makes tools, tries them on an endpoint's draft, and writes, deploys and rolls back apps, over one MCP server.
Apps that live next to your knowledge.
A contract review page, an intake form that answers from your policies, an internal search. Describe it to Claude, and it runs on your cluster, next to the knowledge it uses.
-
Claude writes it
Connect Claude with a build key and describe the app. It writes it, deploys it to the project and shows you the logs.
-
On your domain
Each app runs on your cluster at an address under your own domain, with its own TLS certificate, and rolls back when you ask.
-
Behind your sign-in
An app reaches your knowledge only through the API, with a key of its own. A members-only app lets in the project's people, and knows who is asking.
Bring one use case to a demo.
We'll build its first endpoint with you on a live system, and show your developers the API, its events and the tools an agent gets.
Or write to northrag@scaleyazilim.com