Skip to content

domuk-k/dwkim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

388 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dwkim - AI agent in your terminal

Talk to Kim Dongwook's AI agent — right in your terminal.

npm API Status Blog License


Quick Start

npx dwkim

That's it. Profile card appears, then ask anything about Dongwook.

What is this?

A production AI agent system built as a monorepo — CLI frontend, RAG backend, and blog:

Package Description Links
dwkim TUI personal agent npm
persona-api RAG + LangGraph backend persona-api.fly.dev
blog Astro static blog dwkim.net

Architecture

┌─────────────────────────────────────────────────────────────┐
│  dwkim CLI (pi-tui)                                         │
│  State Machine · SSE Streaming · Catppuccin Mocha           │
│  npx dwkim                                                  │
└────────────────────────┬────────────────────────────────────┘
                         │ SSE (AI SDK Data Stream Protocol)
                         ▼
┌─────────────────────────────────────────────────────────────┐
│  persona-api (Elysia + LangGraph)          Fly.io · nrt     │
│                                                             │
│  classify → rewrite → search → analyze → generate → done   │
│                          │                                  │
│              ┌───────────┴───────────┐                      │
│              │  Hybrid Search (RRF)  │                      │
│              │  Qdrant + BM25        │                      │
│              └───────────────────────┘                      │
│                                                             │
│  OpenRouter (Gemini 2.0 Flash) · OpenAI Embeddings          │
│  SEU Uncertainty · Query Rewriting · Device Personalization │
└─────────────────────────────────────────────────────────────┘

Tech Stack

CLI — pi-tui (differential rendering), chalk, marked-terminal, esbuild API — Elysia, LangGraph, Qdrant, BM25, Redis, Pino + Logtail Blog — Astro 5, Content Collections, KaTeX, Mermaid Infra — Bun workspace, Biome, Husky, Fly.io, Vercel, semantic-release

Development

# Requirements: Bun (https://bun.sh)
bun install
bun run dev          # All packages in watch mode
bun run lint         # Biome check
bun test             # persona-api tests

See CLAUDE.md for full architecture docs and commands.

License

MIT