AIAny
AI Coding2025
Icon for item

AI Coding Assistant Training Data Extraction Toolkit

Extracts local chat logs, code context, diffs, and tool outputs from AI coding assistants and exports them as ML-ready JSONL. Auto-discovers common storage locations and handles SQLite/JSONL formats; scan extracted files for secrets before sharing.

Introduction

Most AI coding assistants scatter their conversation history across JSONL blobs, VSCode-like SQLite stores, and tool-specific folders — making comprehensive dataset collection tedious or incomplete. This toolkit flips that problem: it systematically finds installations, parses each storage format, and normalizes full conversations (messages, code context, diffs, tool runs) into a single JSONL output suitable for training or auditing.

What Sets It Apart
  • Broad, practical coverage: scripts target Cursor, Claude Code, Codex, Windsurf, Trae, Gemini CLI, OpenCode and similar tools, so you can extract multi-tool histories without writing custom parsers — which saves weeks of ad hoc scraping work.
  • Preservation of developer context: captures file paths, selected snippets, line ranges, suggested diffs and tool execution outputs, not just plain text prompts — meaning datasets retain actionable code-level context for fine-tuning or evaluation.
  • Simple, file-based output: writes timestamped JSONL lines where each conversation bundles messages and metadata, making downstream filtering, deduplication, and ingestion into ML pipelines straightforward.
  • Privacy-first guidance: the README and tooling emphasize secret scanning and safe storage practices so teams avoid accidentally training on API keys or proprietary code.
Who It's For and Trade-offs

Great fit if you need reproducible, large-scale extraction of local assistant usage for model training, dataset curation, or internal auditing. It’s designed for engineers and data scientists comfortable handling raw dumps (SQLite/JSONL) and applying secret-sanitization before downstream use. Look elsewhere if you need a hosted telemetry product, real-time ingestion, or turnkey anonymization workflows — this repo focuses on discovery and extraction, not on managed hosting or automated PII redaction.

Where It Fits

Use it as a data-collection layer in an ML data pipeline: run local extractions, sanitize and filter the JSONL outputs, then feed into deduplication, annotation, or fine-tuning steps. The project is a pragmatic bridge between scattered local assistant data and ML-ready datasets.

More Items

GitHub
AI Coding2024

Runs an AI coding agent that edits, tests, and manages code across terminal, desktop, web, and GitHub repositories. Uses specialized agents and a curated model catalog (DeepSeek, MiMo, MiniMax, GPT-5.6) and offers free access supported by text ads.

GitHub
AI Client2026

Centralizes indexing and management of local AI coding-agent sessions so you can search, view full context, migrate, resume, and restore conversations across agents and devices. Supports extensible local sources, AI summaries, optional Supabase sync, and Skills management.

GitHub
AI Client2024

Orchestrates and coordinates multiple coding agents in a shared, cross-device workspace — preserving context, files, and durable artifacts so teams can run parallel agent workflows without losing intent or state.