API

Give your product a memory that cites its sources.

Runlog reads your code, documents and records into one project and answers your API calls from it, with the source of every line. Your coding agent can wire it in today.

Paste into your coding agent
Read https://runlogai.com/llms-api.txt and tell me how to integrate Runlog with this repo.

Or from the terminal: npx runlogai signup

What it gives

Three calls carry most products.

Ingest

ingest.files and ingest.text put files and text in, in one call; document.ingest takes a web page, and the import route takes signed bucket URLs.

Recall, cited

memory.query answers the ranked cells, entities and artifacts a question touches, and each carries the ids of the sources it came from, so your users can check the answer.

An agent on it

agent.message opens a run and streams the answer in the AI SDK message-stream protocol, citing the cells it stood on. code.contextPack packs the code most relevant to a task.

The SDK

Ten lines, typed from the OpenAPI document.

install
npm install @runlogai/sdk
index.ts
import { Runlog } from '@runlogai/sdk';

const runlog = new Runlog(); // RUNLOG_API_KEY and RUNLOG_PROJECT_ID; run with: node --env-file=.env index.mjs
await runlog.ingest.text('docs/refunds.md', '# Refunds\nOver $500 needs a manager.');

const { result } = await runlog.memory.query({ query: 'Who approves a large refund?' });
console.log(result); // ranked cells, each carrying the ids of its sources

const answer = await (await runlog.agent.message('What changed in refunds this quarter?')).answer();
console.log(answer.text, answer.sources);

The package is a typed client: every call needs your key. The API reference

npm install -g runlogai puts the runlog CLI and the desktop app on your computer. In a project, npm install runlogai works as well as the SDK: it exports the same client.

Before you decide

The five questions a buyer asks.

Do I have to commit to a plan to try it?

No. Fund prepaid credit at signup, with no plan, and your key runs the core calls: ingest, memory query, agent runs and their streams, projects and your own keys. Each call draws the credit as it runs, and nothing renews. Team adds every other endpoint, your own provider keys on API calls, and on-prem by conversation, on the same team and the same key. Pay-as-you-go runs under the Developer Terms, with no service level.

We could build this ourselves

You could. The parts are ingestion for every file type you meet, chunking, embeddings, ranking, a citation on every answer, streaming with reconnects, retries, metering and a delete that cascades. The median US software developer earns $133,080 a year (BLS, May 2024), about 7 months of Team for every month an engineer spends on that plumbing, and the feature you meant to ship waits behind it.

What it costs against the alternatives

Team is $1,500 a month or $15,000 a year; Team Max is $2,500 or $25,000. Either seats unlimited people on one pooled allowance, and the same plan runs the API, the workspace, the CLI and MCP. Usage is read as the share of the weekly allowance used; past it, usage credits carry on, and asking what a call will cost is free. There is no per-seat line to grow with your team. The other way to buy it is a memory vendor: Mem0, Zep, Letta, Cognee and Supermemory sell memory to platform teams, their larger tiers on custom quotes (Atlan’s survey), so you learn the price after the sales call. The Team and Team Max prices are the ones on this page.

Lock-in, and leaving

Leaving is a command, not a migration. runlog link clones a project into a folder as plain files, the API lists and reads every file a project holds, and deleting a project hard-deletes everything derived from it.

Security

Content is encrypted at rest with AES-256 and in transit over TLS, access is controlled per project, and an API key acts with its owner’s access and no more. Keys are stored as hashes and shown once. SOC 2 Type 2 is in progress and there is no report yet; we do not accept PHI today. Where each framework stands

Start

From card to first call in one page.

Sign in, and a team is made for you, named from your email’s domain. Fund prepaid credit to start developing, or pick Team or Team Max, pay by card on the same page, and take a key with the .env lines to paste. The page checks itself off when your first call lands, and Ro opens beside it.

On-prem runs on Team. Need an on-prem deployment, dedicated tenancy, invoicing or terms of your own? Talk to us