bikky
OfficialProvides persistent memory tools for GitHub Copilot, enabling automatic fact extraction from session transcripts, semantic recall, and shared memory across the team.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bikky recall our team's coding conventions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
bikky provides long-term memory for MCP-capable AI coding agents. It exposes memory tools over the Model Context Protocol (MCP), stores facts in Qdrant, and can run a local daemon that extracts durable facts from supported transcript sources. Teams can share memory across tools, repos, and engineers without treating chat history or closed PRs as the source of truth.
Who it's for
๐ฅ Teams & software factories โ What one engineer's agent learns today can be recalled by other agents on the team tomorrow. Shared memory makes institutional knowledge queryable, helps onboarding, and reduces convention drift and repeated rediscovery.
๐ค Multi-agent engineering workflows โ Multiple MCP-capable agent sessions can share codebase context, conventions, and recent decisions instead of re-learning them from scratch.
How bikky works
bikky gives your agent memory tools and runs a small background service after bikky setup. You keep working normally; bikky captures useful facts from supported transcript sources, organizes them, recalls them in future sessions, and keeps the store tidy over time.
Capture โ Facts are extracted automatically from supported session transcripts without requiring manual notes for every fact.
Classify โ Memories are grouped as engineering, product, or system so they stay easy to browse and filter.
Recall โ New sessions can recall from the same store via semantic search.
Curate โ bikky merges duplicates, fades stale facts, resolves contradictions, distills recurring patterns, and builds an entity graph over time.
Compound โ Later sessions can start with more context because memory accumulates.
Route โ Optionally keep team, client, or environment-specific memory in separate Qdrant destinations from one install. See routing and ignore rules.
Protect โ Configurable
ignorerules prevent matching topics from being stored at all, using the same filters as destination routing.
Subtypes keep recall precise without making setup harder:
Engineering โ codebase maps, architecture decisions, infra topology, access patterns, operational procedures, troubleshooting gotchas, conventions, preferences, person/ownership context, working agreements, and durable activity events.
Product โ domain rules, product decisions, requirements, user workflows, roadmap items, success metrics, and market insights.
System โ session indexes, episodes, workstreams, and feedback signals.
Supported integrations
bikky has two integration surfaces: MCP tool access for agents and optional background transcript capture. Tool access is broader than transcript capture.
Coding agents and MCP clients
Client or agent | MCP tool access |
| Background transcript capture |
GitHub Copilot | Supported | Supported via | Supported from |
Claude Code | Supported | Supported via the | Supported from |
Cursor and other stdio MCP clients | Standard MCP server is available via | Not auto-configured today | No built-in watcher today |
If your client can launch a stdio MCP server, it can use bikky's memory tools after manual configuration. bikky does not currently ship Cursor-specific setup or transcript parsing. Automatic transcript ingestion is implemented for GitHub Copilot and Claude Code.
Storage and model providers
Component | Supported today | Notes |
Vector store | Qdrant | Local Docker, Qdrant Cloud, or self-hosted Qdrant. Qdrant is required. |
|
| Used to embed memories for semantic search. |
|
| Used for extraction, curation, distillation, and relation inference. |
Portkey support means bikky talks to Portkey as the configured gateway; upstream model availability, routing, and fallbacks are controlled by your Portkey configuration. Providers not listed above are not built in today, but the provider registry is designed to make additions small and reviewable.
Related MCP server: gather
Quick start
This is the fastest path to a working memory store: Qdrant runs locally, while hosted embeddings and LLM calls handle extraction and recall without running local models.
# 1. Pull and run Qdrant (vector store)
docker run -d --name qdrant -p 6333:6333 -v qdrant_storage:/qdrant/storage qdrant/qdrant
# 2. Install bikky
npm install -g bikky
mkdir -p ~/.bikky
# Replace sk-... below with your hosted model API key.
cat > ~/.bikky/config.json <<'JSON'
{
"qdrant_url": "http://localhost:6333",
"qdrant_api_key": "",
"embedding": {
"provider": "openai",
"model": "text-embedding-3-small",
"dimensions": 1024,
"api_key": "sk-..."
},
"llm": {
"provider": "openai",
"model": "gpt-4.1-mini",
"api_key": "sk-..."
}
}
JSON
# qdrant_api_key is optional; leave it empty or omit it for local Qdrant.
# Prefer env vars? Omit api_key above and set OPENAI_API_KEY instead.
# 3. Register bikky with supported clients and start the background service
bikky setup # writes MCP config for GitHub Copilot + Claude Code, then starts the daemonnpm install -g bikky runs a best-effort postinstall setup hook for convenience. It never fails the install, and you should still run bikky setup after writing your config to make setup explicit and repeatable.
If setup finds running bikky mcp servers from older agent/editor sessions, it prints reload guidance but does not terminate them:
GitHub Copilot CLI: run
/restartin the Copilot CLI session.Claude Code: restart Claude Code, then run
claude --continueorclaude -cto resume.Other stdio MCP clients: use their MCP reload/restart action if available; otherwise restart the client session.
The memory tools appear automatically in GitHub Copilot and Claude Code; configure other stdio MCP clients manually with npx -y bikky mcp.
bikky status # confirms Qdrant, embeddings, daemon, and UI healthAt this point, you can continue with local Qdrant or move the vector store to Qdrant Cloud later for a shared team setup.
For other deployment shapes โ fully hosted, 100% local, or hosted Qdrant with local models โ see Setup options.
Setup options
bikky supports four common setup shapes. Pick based on where you want Qdrant to run and where model calls should happen.
What you need
Component | Required | Options |
Node.js | โฅ 20 |
|
Vector store | Qdrant | Local Docker ยท Qdrant Cloud ยท Self-hosted |
Embeddings | One provider | Portkey ยท OpenAI ยท Ollama ยท Bedrock |
LLM | One provider | Portkey ยท OpenAI ยท Ollama ยท Bedrock |
Docker (optional) | Only if you run Qdrant locally | Docker Desktop, OrbStack, colima, etc. |
Both embedding.provider and llm.provider accept the same values: ollama, openai, bedrock, or portkey. Portkey can be used as a hosted gateway when you want one configured provider in bikky and upstream routing/fallbacks managed outside bikky. The documented examples use 1024-dimensional embeddings because that size works across the built-in provider examples. Some providers expose larger native dimensions (for example OpenAI text-embedding-3-small can return 1536), but using 1024 keeps the documented setup portable without rebuilding every collection.
โ ๏ธ Qdrant Cloud free tier does not include automatic backups. Deleted collections cannot be recovered. If your memory data is valuable, use a paid Qdrant Cloud plan (which includes daily backups), run Qdrant locally with your own backup strategy, or periodically export snapshots via the Qdrant snapshots API.
Choose a setup
Setup | Use when | Config |
Fully hosted | Teams want managed vector storage and hosted models | |
Local Qdrant + hosted models | You want local vector storage with hosted extraction/embedding | |
Local and free | You are evaluating locally and can accept local-model quality | |
Hosted Qdrant + local Ollama | You want shared vectors while keeping model calls local |
Configuration basics
Pick the setup guide above for the copy-paste config. All setup shapes use the same three building blocks:
Qdrant โ where vectors and memory payloads are stored.
Embeddings โ how facts become searchable vectors.
LLM โ how session transcripts are extracted, curated, and distilled.
Config lives at ~/.bikky/config.json, or at BIKKY_HOME/config.json when BIKKY_HOME is set. You can keep credentials out of the file with environment variables such as QDRANT_URL, QDRANT_API_KEY, and provider API keys.
bikky setup also provisions identity.user_id / identity.user_name when they are missing. New memory writes store canonical origin metadata with the configured human user, the acting agent or daemon/UI surface, the interface, and the operation. MCP clients cannot supply or spoof origin.user; if config, env, Git, and shell identity detection all fail, bikky falls back to the local hostname.
For hosted models, custom providers, multiple destinations, ignore rules, or advanced tuning, use the full configuration guide.
๐ Full configuration guide: docs/configuration.md
๐ Privacy-first setup: local storage, local models, and transcript-capture controls
๐ Want to add a new embedding or LLM provider (Vertex, OpenRouter, etc.)? See CONTRIBUTING.md โ it's a single-file change.
Optional: routing and ignore rules
Most installs use one Qdrant destination. If you need clean separation later, replace the single qdrant_url / collection fields with named destinations[]. Add top-level ignore[] rules for topics that should not be stored anywhere:
{
"destinations": [
{
"name": "platform",
"description": "Shared platform engineering memory.",
"qdrant_url": "https://platform.cloud.qdrant.io:6333",
"qdrant_api_key": "...",
"collection": "bikky-platform",
"default": true
},
{
"name": "client-a",
"description": "Client A project memory.",
"qdrant_url": "https://client-a.cloud.qdrant.io:6333",
"qdrant_api_key": "...",
"collection": "bikky-client-a",
"match": {
"cwd": ["^/Users/me/code/client-a"],
"content": ["CLIENTA-\\d+"]
}
}
],
"default_search_scope": "routed",
"ignore": [
{
"name": "do-not-store",
"description": "Never persist memories explicitly marked do-not-store.",
"match": {
"entity": ["^do-not-store$"],
"content": ["\\bdo-not-store\\b"]
}
}
]
}That is enough for explicit selection in the UI and tools. Add routing rules only when you want automatic placement by cwd, entity, content, or metadata. Search tools can also use search_scope: "all" or a named/listed scope when context may span stores. Ignore rules run before destination selection and cannot be bypassed by explicit destination overrides. Existing single-Qdrant configs continue to work.
๐ Details: multi-destination configuration and ignore rules
Web UI
bikky-ui is a local dashboard for browsing and managing your team's memory โ facts, entities, quality metrics, aggregate impact insights, and the relationship graph.
npx bikky-ui # one-shot โ no install needed
# or install globally
npm install -g bikky-ui
bikky-ui # opens http://localhost:1422The UI reads from your existing ~/.bikky/config.json (or BIKKY_HOME/config.json) โ no extra configuration required.
By default, the dashboard, memory list, and search results show current user-facing memories only. Internal telemetry, system lifecycle summaries (session_index, episode, workstream), entity sidecars, and superseded archive records are hidden from the main views so counts match what you normally mean by "memories." Diagnostic API queries can still request those records explicitly, including superseded records with include_superseded=true.
Memory cards and detail pages also surface provenance from canonical origin metadata: the configured user, origin surface/operation, agent, last operation, repo, branch, workstream, task, session, and episode when present. Older records that only have legacy source, actor_id, or metadata.actor_label still display useful fallback labels.
CLI
bikky mcp # start MCP server (stdio) โ used by editors
bikky setup # install MCP configs for GitHub Copilot + Claude Code, then start the daemon
bikky start # alias for setup
bikky stop # stop the background daemon
bikky daemon # run the daemon in the foreground
bikky status # check memory system health
bikky ui # launch the local web dashboard
bikky render # render a prompt to JSON (for eval harnesses & debugging)bikky status is the first thing to run when setup feels wrong. It checks the config, Qdrant, embeddings, background daemon, and local UI health, then tells you what needs attention. Use bikky status --json for automation.
Privacy and transcript capture
bikky stores memory in the Qdrant destination you configure. The daemon runs locally and reads supported coding-agent transcript locations so it can extract durable facts for future sessions:
GitHub Copilot session state:
~/.copilot/session-stateClaude Code project transcripts:
~/.claude/projects
Only the configured daemon process reads these files. Extracted facts are redacted before storage, but they are still sent to your configured LLM provider for extraction unless you use a local provider such as Ollama. To disable transcript capture, set the relevant watcher to false in ~/.bikky/config.json:
{
"watchers": {
"copilot": { "enabled": false },
"claude": { "enabled": false }
}
}You can also set daemon.extract_every_sec to 0 to disable background extraction while keeping MCP recall tools available.
Per-session pause
If you want to prevent memory writes for a single session without changing global config, use the memory_pause MCP tool:
memory_pause({ reason: "private session", session_id: "<your-session-UUID>" })While paused:
All MCP write tools (
memory_store,memory_session_summary,memory_distill,memory_verify,memory_forget, etc.) return asession_pausedstatus instead of executing.Read tools (
memory_recall,memory_entity,memory_relations,memory_heartbeat) continue to work normally.When
session_idis provided, the daemon also skips transcript extraction for that session.
Call memory_resume({ session_id: "<your-session-UUID>" }) to re-enable writes.
The session_id is the UUID from your session folder (e.g. the directory name under ~/.copilot/session-state/). If omitted, only the in-process MCP layer is paused โ the daemon will continue extracting from transcripts.
For a local-storage, local-model setup that minimizes what leaves your machine, see the privacy-first quickstart.
Support and contact
For questions, bugs, and feature requests, please use GitHub issues. For maintainer contact, reach Saber Zrelli on GitHub: @zrelli-s.
License
AGPL-3.0 โ see LICENSE.
Available Tools
18 toolsconfigure_credentialsA
Persist Qdrant and embedding credentials to ~/.bikky/config.json and bring the memory system online. Call this only during onboarding (or when rotating credentials). After it succeeds, the collection is created if missing and embeddings are tested. For day-to-day use, prefer get_setup_status.
Inputs: qdrant_url, openai_api_key, qdrant_api_key.
get_setup_statusA
Check whether the memory system is configured and reachable. Use this when memory tools return a 'setup_required' error, or once at session start if you're not sure bikky is wired up. Reports which credentials are missing and includes onboarding instructions if anything is incomplete. Read-only โ safe to call any time.
Inputs: no named parameters.
memory_distillA
Persist a distilled convention โ a reusable learning, pattern, or runbook synthesized from multiple prior memories. Stored as kind='distilled', memory_subtype='convention' with canonical origin metadata. Use this when you've noticed a pattern across several prior facts/sessions that's worth surfacing as its own atomic learning. The new memory will rank above raw facts in semantic recall because distilled patterns are higher-signal. Provide 'supersedes' if this distillation replaces an earlier convention. The original stays in storage but is excluded from recall.
Inputs: content (required), entities (required), repo, task_key, +3 more.
memory_entityA
Get everything bikky knows about a specific entity โ facts mentioning it plus typed relations into and out of it. Prefer this over memory_recall when the user asks 'tell me about X' or 'what do we know about X' and X is a known entity name (service, person, repo, concept). Faster and more complete than semantic search for entity-centric queries. If you only have a fuzzy description, use memory_recall first to find the entity name.
Inputs: name (required), limit, destination, search_scope, +2 more.
memory_forgetA
Mark a fact as superseded/wrong. The fact stays in storage (for audit) but is excluded from all recall results. Use this when a fact was simply incorrect or no longer applies and there is no replacement. If you have a corrected version, use memory_store with 'supersedes: <fact_id>' instead โ that way the new fact stays linked to the old one.
Inputs: reason (required), fact_id (required), workspace_id.
memory_heartbeatA
Reflection check-in. Returns up to three things: a memory nudge if you haven't stored anything in 10+ minutes, stale-fact alerts every 3rd call (with IDs you can pass to memory_verify or memory_forget), and a reflection prompt asking whether the last few minutes of work produced anything worth storing. Call periodically during interactive sessions โ roughly every 10 minutes or every 3rd user prompt. No arguments. Cheap and read-only.
Inputs: no named parameters.
memory_mark_usefulA
Report that a previously recalled fact actually helped you answer the user's question or complete a task. Bumps a 'useful_count' counter on the fact and writes a telemetry feedback_event row that future ranking work can aggregate. Call this AFTER you used a fact from memory_recall / memory_entity and confirmed it was helpful โ not for every recalled fact. If the fact was wrong or misleading, use memory_report_outcome with outcome='wrong' or 'misleading' instead.
Inputs: fact_id (required), note, workspace_id.
memory_pauseA
Pause all memory writes for the current session. While paused, memory_store, memory_session_summary, memory_distill, memory_verify, memory_forget, memory_mark_useful, memory_report_outcome, and memory_review (write actions) will return a session_paused status instead of executing. Read operations (memory_recall, memory_entity, memory_relations, memory_heartbeat) remain fully functional. Use when the user says something like 'do not remember anything from this session' or 'pause memory'. Call memory_resume to re-enable writes.
Inputs: reason, session_id.
memory_recallA
Semantic + filtered search over memory. Returns facts ranked by relevance (vector similarity blended with recency, importance, and reinforcement). Three main uses:
Session-start briefing โ broad query like 'session briefing: user preferences, active projects, recent decisions'.
Per-prompt contextual recall โ focused query derived from what the user just asked.
Conflict/replacement check โ recall similar facts when you suspect new information may supersede an older fact. Deduplication during memory_store is automatic. Combine the natural-language query with structured filters (category, domain, entity, date range, metadata) for tighter results. If you have a known entity name and want everything about it, prefer memory_entity. For 'what does X own/use?' style questions, prefer memory_relations. When multiple Qdrant destinations are configured, use search_scope to choose 'routed' (routing/default behavior), 'all', a destination name, a configured scope name, a comma-separated destination list, or an array of destination names. Call memory_search_scopes to inspect available scopes and descriptions. By default output is human-readable text. Use output_format=json for machine-parseable results with separate results and related arrays. Default limit is 10; maximum effective limit is 50.
Inputs: query (required), kind, repo, limit, +21 more.
memory_relationsA
Query typed edges between entities. Returns 'A --[type]--> B' triples that semantic search alone wouldn't surface. Use for 'what does X own / use / depend on?' and 'who owns Y?' style questions. Optionally filter by direction (from / to / both) and relation type. To create relations, use memory_store with the 'relation' field โ there is no separate create-relation tool.
Inputs: entity (required), direction, destination, search_scope, +3 more.
memory_report_outcomeA
Report the downstream outcome of using a recalled fact โ useful, misleading, irrelevant, or wrong. Writes a telemetry outcome_event row that future ranking and review work can aggregate. Unlike memory_mark_useful (positive-only, bumps a counter), this records a richer signal including negative outcomes and optional notes. Use this when you can confidently judge whether a fact actually helped: 'useful' = helped you complete the task; 'misleading' = pointed in a wrong direction; 'irrelevant' = matched semantically but didn't help; 'wrong' = factually incorrect (also consider memory_forget for clearly wrong facts).
Inputs: fact_id (required), outcome (required), notes, workspace_id.
memory_resumeA
Resume memory writes after a previous memory_pause. All write operations will function normally again. No-op if memory is not currently paused.
Inputs: session_id.
memory_reviewA
Triage facts that were captured automatically by Bikky (origin.interface='daemon' or legacy source='system'). Only useful when the daemon is running and capturing memories from logs/transcripts; otherwise this returns an empty list. Supports four actions: list (default โ show recent daemon/system-captured facts), approve (mark verified), reject (mark superseded with reason), correct (replace with edited content as a new fact).
Inputs: limit, action, reason, fact_id, +3 more.
memory_search_scopesA
List the configured memory search scopes and destination descriptions. Use this before memory_recall, memory_entity, or memory_relations when multiple destinations exist so you can choose the right search_scope. Read-only โ returns built-in scopes ('routed', 'all'), destination-name scopes, configured named scopes, and the default_search_scope.
Inputs: no named parameters.
memory_session_summaryA
Persist a compact summary of the current session โ what got done, what decisions were made, what's still open. Stored as kind='summary', memory_subtype='session_index' with canonical origin metadata. Keep it short (target 30-80 words). Future sessions retrieve these via memory_recall to bootstrap context faster than re-reading the original transcript. Call this near session close (or at major milestone boundaries) when the work is meaningful enough to want a future agent to inherit. Skip for trivial single-question sessions.
Inputs: content (required), repo, entities, task_key, +4 more.
memory_storeA
Persist one atomic fact to long-term memory. Call this whenever you learn something a future session would need: a service detail, a decision rationale, a workaround, a user preference, an ownership fact, a task-resume pointer. One fact per call โ split compound observations into separate calls. Dedup is automatic (content hash + vector similarity), so you do NOT need to recall first for deduplication. Recall first only when you intentionally need broader context to decide whether a new fact supersedes an older one. The tool returns one of: inserted (new fact), reinforced (exact or near-duplicate found โ counters bumped), or โ if there are similar-but-different facts โ a list of potential conflicts so you can decide whether to use 'supersedes'. To create a typed edge between two entities at the same time, set the optional 'relation' field โ no separate tool call needed. Do NOT use for ephemeral state (current cursor, in-flight todo). Use the harness task folder instead.
Inputs: content (required), category (required), entities (required), kind, +15 more.
memory_verifyA
Confirm an existing fact is still accurate, without re-storing it. Resets the staleness clock and bumps a verification counter. Use this when memory_heartbeat surfaces a stale fact ID and you can confirm it's still true (e.g. you just observed the system in that state). Lighter than memory_store(supersedes:) โ same content, fresh timestamp. If the fact is no longer true, use memory_forget or memory_store(supersedes:) instead.
Inputs: fact_id (required), workspace_id.
verify_connectionA
Confirm Qdrant is reachable, embeddings work, and the collection exists. Use this to debug a sudden 'setup_required' or empty-recall after a network blip or credential change. Lighter than configure_credentials โ does not write to disk. Read-only.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 18 tools
Each tool has a clearly distinct purpose, ranging from setup and verification to memory storage, recall, maintenance, and pause/resume. Descriptions are detailed and explicitly clarify when to use each tool, preventing confusion.
Core memory tools follow a consistent 'memory_' prefix pattern, but setup tools like 'get_setup_status' and 'configure_credentials' break this pattern. The mix is minor and still readable, but not perfectly uniform.
18 tools is substantial but warranted given the comprehensive coverage of memory lifecycle and maintenance operations. It's slightly on the heavy side but each tool earns its place.
The tool set covers the entire memory lifecycle: setup, storage, retrieval, relation queries, forgetting, verification, feedback, session summaries, distillation, and pause/resume. No obvious gaps.
Maintenance
Related MCP Connectors
Team memory for AI coding agents and code reviews, reviewed by humans and served over MCP.
A second brain for your AI agent. Shared memory for your team's AI agents, plus public and private knowledge bases โ works with ChatGPT, Claude, Cursor and any MCP client.
Long-term memory for AI coding agents: durable project facts, recalled by every MCP client.
Hosted MCP memory for coding agents: persistent across sessions, editable markdown, team sharing.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables AI coding agents and IDEs to capture conversations, extract structured knowledge into a queryable graph database, and recall past decisions, patterns, files, and errors across all projects and workspaces. Provides persistent memory tools for saving, searching, and cleaning up knowledge via MCP.2-
- AlicenseNot gradedqualityCmaintenanceProvides AI coding agents with deterministic, attestable org memory via an MCP server, enabling automatic recall of relevant facts on every prompt, loss-proof capture of learnings, and curated promotion of verified facts to a tenant-isolated memory store.Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to capture, classify, synthesize, and retrieve persistent shared knowledge from sources such as Obsidian, code, transcripts, bookmarks, and sessions. It provides token-efficient search, context briefings, and tiered memory through MCP and REST APIs.10 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to share persistent memory by capturing, classifying, synthesizing, and retrieving knowledge from sources like Obsidian, code, and transcripts via MCP and REST APIs. Provides token-optimized search, three-tier memory, and self-learning capture of sessions and fixes so multiple agents can build on prior context.10 npmMIT