A personal context store for AI agents and assistants—reuse your existing coding agent CLI (Codex/Claude/OpenCode) with built‑in Skills/tools and a desktop GUI to capture, search, and reuse project knowledge across agents and repos.
<div align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/images/logo-dark.png">
<source media="(prefers-color-scheme: light)" srcset="docs/images/logo-light.png">
<img alt="OpenContext Logo" src="docs/images/logo-light.png" width="350">
</picture>
<p>
<strong>Give your AI assistant a persistent memory.</strong><br>
Stop repeating yourself. Start building smarter.
</p>
<p>
<strong>Bring your own coding agent.</strong> OpenContext reuses your existing CLI (Codex/Cursor/OpenCode) and adds a GUI + built-in Skills/tools — no extra agent subscription.
</p>
<table>
<tr>
<td>
<img src="docs/images/overview.png" alt="OpenContext Overview" height="260">
</td>
<td>
<img src="docs/images/folder-refer-git.gif" alt="OpenContext Demo" height="260">
</td>
</tr>
</table>
<p>
<a href="https://www.npmjs.com/package/@aicontextlab/cli"><img src="https://img.shields.io/npm/v/@aicontextlab/cli.svg?style=flat-square&color=cb3837" alt="npm version"></a>
<a href="https://github.com/0xranx/OpenContext/blob/main/LICENSE"><img src="https://img.shields.io/github/license/0xranx/OpenContext?style=flat-square" alt="license"></a>
</p>
<p>
<a href="https://0xranx.github.io/OpenContext/en/"><strong>🌐 Website</strong></a> ·
<a href="https://0xranx.github.io/OpenContext/en/usage/"><strong>📖 Usage Guide</strong></a> ·
<a href="https://github.com/0xranx/OpenContext/releases"><strong>⬇️ Download Desktop</strong></a>
</p>
<p><a href="README.zh-CN.md">中文文档</a></p>
</div>
---
## The Problem
When you use an AI assistant to build things, **context gets lost** (across days, repos, chats). You end up re-explaining background, repeating decisions, and sometimes the assistant continues with the wrong assumptions. Most tools stop at storage and don't plug into the coding agent you already use.
## The Solution
OpenContext is a lightweight **personal conteAgent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.