How ginko works.

Git-native context management that captures what matters and surfaces it exactly when you need it.

The architecture

YOUR_PROJECT
.ginko/

All context lives in your repo. Versioned with git. Works offline.

SESSION_CONTEXT
events.jsonl session-log.md cursors.json

Chronological event stream. Every insight, decision, and achievement captured.

PROJECT_DOCS
CLAUDE.md ADRs Sprints

AI instructions, architecture decisions, and sprint context.

GINKO_CLI
ginko start

Sub-second context loading. Event-based, cursor-tracked, zero re-parsing.

AI_ASSISTANT

Claude Code, Cursor, or any AI that reads CLAUDE.md. Full context, zero re-explaining.

Core concepts

EVENT_STREAM

Every session captures events: insights, fixes, decisions, achievements. Stored as append-only JSONL. Fast to write, fast to read.

ginko log "Fixed auth flow" → captured instantly, surfaced on next session.
CURSOR_TRACKING

Ginko remembers where you left off. On start, it loads only new events since your last session. No re-processing, no stale context.

Session 1: 147 events → Session 2: loads only new events since cursor.
SESSION_HANDOFFS

When you end a session, ginko creates a handoff summary. When you start fresh, your AI knows exactly what was happening.

ginko handoff "Completed auth, starting payments" → next session resumes smoothly.
PATTERN_CAPTURE

Patterns that work get recorded. Gotchas that bite get flagged. Your AI learns from your codebase, not just documentation.

"Always use .unref() on timers" → surfaced automatically when relevant.

The daily flow

1

START

Run ginko start. Context loads in under 2 seconds. Your AI knows where you left off.

2

WORK

Code as normal. Log insights with ginko log. Context captures automatically.

3

COMMIT

Commit your code. Context is versioned alongside. Session logs included if you want.

4

HANDOFF

Optional: ginko handoff creates a summary. Tomorrow's session starts instantly.

What's in .ginko/

project/.ginko/
sessions/ # Per-user session data
└── chris/
├── current-events.jsonl # Event stream
├── current-session-log.md # Human-readable log
├── cursors.json # Session position tracker
└── archive/ # Past sessions
context/ # Shared project context
├── patterns.json # Reusable patterns
└── gotchas.json # Known pitfalls
graph/ # Cloud sync config (Pro)
└── config.json # Graph connection

The ginko collaboration graph

Local context is powerful. Cloud-synced context is transformative. Pro

PROJECT
Events
Patterns
ADRs
Sprints
Gotchas
Team

Neo4j-powered knowledge graph with vector embeddings

REAL_TIME_SYNC

Events sync to the cloud as you work. Team members see updates instantly. No manual exports, no stale context.

SEMANTIC_SEARCH

Ask questions in natural language. "How do we handle authentication?" returns relevant ADRs, patterns, and recent decisions.

KNOWLEDGE_TRAVERSAL

AI navigates relationships: Pattern → related ADR → implementing sprint → relevant gotchas. Context arrives pre-connected.

TEAM_CONTEXT

See what teammates discovered. Patterns from Sarah's session surface in yours when relevant. Knowledge compounds across the team.

How it works

1
Local capture

Events logged locally in JSONL format. Works offline, zero latency.

2
Background sync

Events batch-sync to cloud graph every 5 minutes or on threshold.

3
Vector embedding

Each event embedded for semantic similarity. Relationships auto-detected.

4
AI retrieval

Queries traverse graph + vectors. Most relevant context surfaces first.

semantic query
$ curl -X POST https://app.ginkoai.com/api/v1/graph/query \
-d '{"query": "How do we handle rate limiting?"}'
# Returns: ADR-012, retry-pattern, rate-limit-gotcha,
# Sprint-2025-11 task, and 3 related events

Integrations

CLAUDE_CODE

Reads CLAUDE.md automatically. Full context on every session. First-class support.

CURSOR

Works via .cursor rules. Same context, different editor. Seamless switching.

GIT

Native integration. Context versions with code. Branching, merging, diffing all work.

Ready to try it?

Install in 30 seconds. No account required for local use.

$ npm install -g @ginkoai/cli
Copied!