Skip to main content

Bilinc

PyPI Python License MCP

Hosted memory infrastructure for coding agents: commit, recall, and inspect agent state through one API key, with verification, provenance, and recovery around every write.

Retrieval answers "what is similar to this?". Long-running agents also need to answer "who wrote this state, was it verified, did it contradict what we already knew, and can we undo it?" — that is the layer Bilinc provides.

Bilinc 2.1.5 on PyPI is the public cloud-only package: a thin Python SDK, CLI, and MCP adapter for Bilinc Cloud. It does not ship the local StatePlane, storage backends, eval, observability, integrations, or server runtime internals.

Use Bilinc when

  • A long-running coding agent needs to recall prior decisions before a risky edit.
  • You need to know which run, tool, or operator produced a piece of agent state.
  • A bad agent run wrote incorrect state and you need a recovery path, not a manual cleanup.
  • Several agents or teammates share one memory surface and you need key-scoped access and usage visibility.

Do not use Bilinc when

  • You only need semantic search over documents — a vector database is the simpler primitive.
  • You require an Apache-2.0 licensed, fully self-hosted runtime. The public package is cloud-only and licensed BUSL-1.1.
  • You want the memory layer to also be your agent framework. Bilinc is the state layer your runtime calls; it does not orchestrate agents.

Start in 60 Seconds

pip install -U bilinc
bilinc start

bilinc start is the first-run guide. The activation target is simple: reach a passing bilinc quicktest, which performs one hosted commit, one hosted recall, and one Cloud status check.

  1. Start the 7-day Bilinc Cloud trial at https://bilinc.space/signup.
  2. Confirm email.
  3. Create one hosted API key in the Cloud dashboard.
  4. Connect the CLI:
bilinc login --api-key bil_live_...
bilinc quicktest

If you prefer a browser guide, open https://bilinc.space/install and follow the same four-step path.

MCP Adapter

Bilinc exposes a standard Model Context Protocol server over stdio, so any MCP-compatible client can connect — Claude Code, Codex, Cursor, Hermes-Agent, opencode, and others.

{
  "mcpServers": {
    "bilinc": {
      "command": "python",
      "args": ["-m", "bilinc.cloud_mcp"],
      "env": { "BILINC_API_KEY": "bil_live_..." }
    }
  }
}

Three tools, deliberately:

Tool What it does
commit_mem Write durable agent state. Each write carries provenance — which run, tool, or operator produced it.
recall Retrieve prior context and decisions before acting.
status Check hosted Cloud health and account state.

Documented client setups: Claude Code · Codex · Cursor · any MCP client

The adapter exposes hosted commit, recall, and status operations. It does not bundle local runtime internals.

Python SDK

from bilinc import CloudClient

client = CloudClient()  # reads BILINC_API_KEY or a key saved by `bilinc login`
client.commit("agent.goal", {"ship": "reliable memory"}, memory_type="semantic")
results = client.recall("agent goal", limit=5)
status = client.status()

For server, CI, and hosted agent runtimes, store the key as BILINC_API_KEY.

CLI

bilinc status
bilinc commit --key agent.goal --value '{"ship":"reliable memory"}'
bilinc recall --query "agent goal"
bilinc doctor

Useful first-run commands:

bilinc start
bilinc login --api-key bil_live_...
bilinc quicktest
bilinc mcp install

Hosted Endpoints

  • Health: GET https://bilinc.space/api/cloud/health
  • Commit: POST https://bilinc.space/api/cloud/memory/commit
  • Recall: POST https://bilinc.space/api/cloud/memory/recall

Authenticated memory operations require an active Bilinc Cloud entitlement.

Benchmark receipt

Archived research receipt, LongMemEval-s cleaned retrieval fixture, 500 questions: R@5 98.0%, NDCG@5 0.933, with no LLM reranker and no paid API.

This is an archived retrieval-component result — not a current hosted SLA, not an end-to-end agent score, and not a competitor ranking. Published memory-system scores use different metrics, datasets, and levels of LLM assistance, so they are not directly comparable. Present this receipt only with this scope attached.

Compare

Answer guides

Links

License

BUSL-1.1. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bilinc-2.1.5.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bilinc-2.1.5-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file bilinc-2.1.5.tar.gz.

File metadata

  • Download URL: bilinc-2.1.5.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for bilinc-2.1.5.tar.gz
Algorithm Hash digest
SHA256 2377b464bdb7a6d851a72db89ecc47015b486412a965c198229a90d507e306c9
MD5 ddc3429c4b082c39d529d9526721ff51
BLAKE2b-256 ede4d182dee638498c30d9a6730d934aa3a78936f7751941973ee00e87fb1f6d

See more details on using hashes here.

File details

Details for the file bilinc-2.1.5-py3-none-any.whl.

File metadata

  • Download URL: bilinc-2.1.5-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for bilinc-2.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8d6b7c69b1fb72feb827e636a1e23a7f7f957f32b1fc544b0d69ce9fad346432
MD5 ef9cac4957a0ea90e6a433d410a699a1
BLAKE2b-256 dea25584a8690ec4f9a8f6cedfc0ce7f99f234ca9a21882f7f6ba27598b59c5f

See more details on using hashes here.

Release history Release notifications | RSS feed

2.2.0

2 files

2.1.9

2 files

2.1.8

2 files

2.1.7

2 files

2.1.6

2 files

This release

2.1.5 This release

2 files

2.1.4

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.0

2 files

1.2.5

2 files

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.4

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page