> Create a Bilinc Cloud account, issue a workspace-scoped API key, and connect an agent runtime to hosted commit and recall endpoints.

Canonical page: https://bilinc.space/docs/cloud-quickstart

- [Docs](https://bilinc.space/docs)
- Start
- Cloud quickstart

# Connect an agent to hosted memory.

Use the CLI golden path first. After quicktest passes, move the same Cloud key into your server, CI, or MCP runtime.

Search the docs

### All docs pages

Start

- [Overview](https://bilinc.space/docs)
- [Quickstart](https://bilinc.space/docs/quickstart)
- [Cloud quickstart](https://bilinc.space/docs/cloud-quickstart)
- [Quicktest help](https://bilinc.space/docs/quicktest-troubleshooting)
- [v2 migration](https://bilinc.space/docs/migration-v2)

Use Bilinc

- [Python SDK](https://bilinc.space/docs/python-sdk)
- [CLI](https://bilinc.space/docs/cli)
- [Cloud API](https://bilinc.space/docs/api-reference)
- [MCP integration](https://bilinc.space/docs/mcp)
- [Remote MCP for Claude](https://bilinc.space/docs/remote-mcp)
- [MCP tools](https://bilinc.space/docs/mcp-tools)
- [Wiki export](https://bilinc.space/docs/wiki)
- [Dream pass](https://bilinc.space/docs/dream)
- [Agent recipes](https://bilinc.space/docs/agent-recipes)

Agent integrations

- [Codex](https://bilinc.space/docs/codex)
- [Claude Code](https://bilinc.space/docs/claude-code)
- [Cursor](https://bilinc.space/docs/cursor)
- [MCP clients](https://bilinc.space/docs/mcp-clients)

Concepts

- [Memory model](https://bilinc.space/docs/memory-model)
- [Commit and recall](https://bilinc.space/docs/commit-recall)
- [Entitlements](https://bilinc.space/docs/entitlements)
- [Recall profiles](https://bilinc.space/docs/recall-profiles)
- [Evidence-aware recall](https://bilinc.space/docs/evidence-aware-recall)
- [Snapshots and rollback](https://bilinc.space/docs/snapshots-rollback)
- [Audit trail](https://bilinc.space/docs/audit-trail)

Operate

- [Security](https://bilinc.space/docs/security)
- [Production checklist](https://bilinc.space/docs/production-checklist)
- [Operations](https://bilinc.space/docs/operations)
- [Errors](https://bilinc.space/docs/errors)
- [Rate limits](https://bilinc.space/docs/rate-limits)
- [Troubleshooting](https://bilinc.space/docs/troubleshooting)

Reference

- [Environment variables](https://bilinc.space/docs/environment-variables)
- [CLI reference](https://bilinc.space/docs/cli-reference)

Also

- [Pricing](https://bilinc.space/pricing)
- [Changelog](https://bilinc.space/changelog)
- [Connect over MCP](https://bilinc.space/mcp)

## Start from a confirmed Cloud account.

Sign up with your work email, confirm the address, then open the Cloud console. Public signup starts a free Cloud tier; paid plans are managed from the authenticated billing console.

[Start free](https://bilinc.space/signup) · [Sign in](https://bilinc.space/login) · [Billing console](https://bilinc.space/login?next=%2Faccount%2Fbilling)

## Four steps from install to first memory.

### 1. Run `bilinc start`

The CLI shows the signup path and the exact next command.

### 2. Start free on Bilinc Cloud

Create a public Bilinc Cloud account and confirm email.

### 3. Run `bilinc login`

It opens your browser to approve this computer, then saves a key locally, so commit, recall, status and quicktest work without extra setup. For CI or a server, create a key under API keys and use `bilinc login --api-key`.

### 4. Run `bilinc quicktest`

Write one durable memory, recall it, and verify Cloud status.

## Use one key per runtime or environment, then let the CLI store it locally.

### First key

`bilinc login` creates the first key for the computer you approve. For another runtime, open API keys, name the key, and copy it while it is shown once.

### Store

Use `bilinc login` for local development. Use `BILINC_API_KEY` in server, CI, or hosted agent secrets.

### Rotate

Revoke old keys when an agent, CI job, or workspace boundary changes.

### Observe

Usage, billing, and audit events are visible in the Cloud console.

## Prefer this path before raw API calls.

Terminal

```
pip install -U bilinc
bilinc start
bilinc login
bilinc quicktest
bilinc mcp install --client claude-code

bilinc commit --key USER_PREF --value '{"theme":"dark"}'
bilinc recall --query "user preference"
bilinc revise --key USER_PREF --value '{"theme":"light"}' --reason "user changed it"
bilinc snapshot create --label before-autonomous-run
bilinc snapshot list
bilinc diff --from-snapshot snap_...
bilinc forget --key USER_PREF --reason "superseded by profile service"
bilinc list --prefix user.
bilinc history USER_PREF
bilinc confirm USER_PREF --reason "still accurate"
bilinc export -o bilinc-memory.json
bilinc status
bilinc health

# Rollback is two stages. Execute needs the token from the preview and
# never prompts interactively, so it stays safe inside automation.
bilinc rollback preview --snapshot snap_... --reason "undo bad agent run"
bilinc rollback execute --snapshot snap_... --reason "undo bad agent run" \
  --confirmation-token <token-from-preview>
```

## Write one durable memory.

Terminal

```
curl https://bilinc.space/api/cloud/memory/commit \
  -H "Authorization: Bearer $BILINC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "key": "agent.memory.bootstrap",
    "value": {
      "goal": "keep durable state between runs",
      "owner": "agent-runtime"
    },
    "memoryType": "semantic",
    "importance": 0.8,
    "metadata": { "source": "cloud-quickstart" }
  }'
```

## Read the state back through a recall profile.

Terminal

```
curl https://bilinc.space/api/cloud/memory/recall \
  -H "Authorization: Bearer $BILINC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "durable state between runs",
    "profile": "balanced",
    "limit": 5
  }'
```

## Give this prompt to your coding agent.

Paste this into Codex, Claude Code, Cursor, or another trusted agent runtime after you have stored the API key in that runtime's secret manager.

Text

```
You are working with Bilinc Cloud as the hosted memory/state plane.

Use the API key only as a bearer token. Never print, log, commit, or expose it.

Base URL: https://bilinc.space

When durable agent memory matters:
1. Commit important state with POST /api/cloud/memory/commit.
2. Recall prior state with POST /api/cloud/memory/recall.
3. Keep keys stable and namespaced, for example agent.goal, user.preference, project.status.
4. Use semantic memory for durable facts, episodic memory for run outcomes, and procedural memory for reusable workflows.
5. If an operation fails, treat the write as not durable until the API returns success.

When you are correcting or removing state:
6. Use POST /api/cloud/memory/revise to correct something you already know. It returns 404 rather than creating, so the change stays distinguishable from an accidental overwrite.
7. Use POST /api/cloud/memory/forget only for genuinely obsolete state. A reason is required and is audited.
8. Pass the entryVersion from your last write as expectedVersion to avoid clobbering a concurrent change.

When work is risky or has gone wrong:
9. Checkpoint first with POST /api/cloud/memory/snapshots.
10. Inspect with POST /api/cloud/memory/diff. It is free and redacts values by default.
11. Recovery is two stages. POST /api/cloud/memory/rollback/preview is free and returns a short-lived confirmation token; POST /api/cloud/memory/rollback executes and permanently discards everything created or changed since the checkpoint. Never execute without showing the preview to a human first.

Operational notes:
12. Call GET /api/cloud/status to learn which capabilities and recall profiles this key may use before attempting them.
13. Send an Idempotency-Key header on writes you might retry, so a retry replays instead of applying twice.

Required headers:
Authorization: Bearer <BILINC_API_KEY>
Content-Type: application/json
```

[PreviousQuickstart](https://bilinc.space/docs/quickstart)
[NextQuicktest help](https://bilinc.space/docs/quicktest-troubleshooting)

On this page

- Start from a confirmed Cloud account.
- Four steps from install to first memory.
- Use one key per runtime or environment, then let the CLI store it locally.
- Prefer this path before raw API calls.
- Write one durable memory.
- Read the state back through a recall profile.
- Give this prompt to your coding agent.
