wutongyuonce/Trajex

107 stars · Last commit 2026-08-30

数万行散落的 Claude Code、Codex 与 Pi JSONL 会话,索引至同一个 SQLite 中:
Agent 可通过 CLI 实现毫秒级查询,用户可通过 App 直观浏览|Past Claude Code, Codex, Pi sessions -- queryable by your agent, browsable by you

README preview

<div align="center">

<sub><strong><a href="README.md">中文</a></strong> · <a href="README.en.md">English</a></sub>

<br>

<picture>
  <source media="(prefers-color-scheme: dark)" srcset=".github/assets/trajex-wordmark-d.svg">
  <img src=".github/assets/trajex-wordmark-l2.svg" alt="Trajex" width="460">
</picture>

### 面向 Agent 的通用本地会话记忆平台

<a href="https://github.com/wutongyuonce/Trajex/stargazers"><img src="https://img.shields.io/github/stars/wutongyuonce/Trajex?style=flat-square" alt="stars"></a>
<a href="https://github.com/wutongyuonce/Trajex/releases"><img src="https://img.shields.io/github/v/tag/wutongyuonce/Trajex?label=version&style=flat-square" alt="version"></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/license-AGPL--3.0-blue?style=flat-square" alt="license"></a>

</div>

将来自不同 provider —— Codex、Claude Code、Pi 的 JSONL 历史解析为同一套 canonical record 并持久化至 SQLite,通过 FTS5 全文索引实现毫秒级历史检索。

View full repository on GitHub →