Agent Session Kit
Description
Swift package that reads the local session stores of AI coding agents (Claude Code, Codex, Cursor, Grok Build, AntiGravity) and tails them live; MCP Unix-socket/stdio transport
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
agent-session-kit
A Swift package that reads the session stores AI coding agents leave on your Mac, and serves them over MCP.
Every coding agent keeps a local record of what you asked it — Codex writes rollout JSONL, Claude Code writes transcript JSONL, Cursor and AntiGravity write SQLite databases another process holds open. Each one has its own layout, its own idea of a "session id", and its own way of spelling a timestamp. This package hides all of that behind one adapter protocol, a searchable index, and a local MCP transport.
No third-party dependencies. Foundation, Darwin, and the system SQLite.
.package(url: "https://github.com/AstroQore/agent-session-kit", exact: "0.3.0")
`exact:` while the package is `0.x` — see [Versioning and releases](#versioning-and-releases).
Targets
| Target | What it is |
|---|---|
AgentSessionKit |
Discovery, parsing, deletion planning, the FTS5 session index, and the MCP Unix-socket / stdio transport. |
AgentSessionLive |
Live views over the same stores — the unified event model, the state reducer, and the tailing protocols. |
Requires macOS 26 and Swift 6.2.
Architecture
Two targets, one boundary. `AgentSessionKit` answers "what is on disk right now" — one pass, one snapshot, no observers: discovery, parsing, the FTS5 index, deletion planning, and the MCP transport. `AgentSessionLive` is everything that *watches*: FSEvents, incremental tailing, the unified event model, and the state reducer. It depends on the Kit; the Kit knows nothing about it. If a type debounces, polls, or holds a cursor, it belongs in Live.
The package knows about the **usage axis** — the harness that produced a session — and deliberately nothing about the **billing axis** (quotas, plans, prices, companies). A host that models both writes that mapping in its own module.
There are **no third-party dependencies**: Foundation, Darwin, Dispatch, `os.log`, `CryptoKit`, and the system SQLite. That is a deliberat
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Awesome Llm Apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI