~/talk

How to build a Terminal Agent like Claude Code or Codex

links:none on file
slides:none on file

Step-by-step guide to build a working terminal AI agent that reads the repo, hooks to any LLM, and responds in-place; demo uses React + Ink and the Anthropic AI SDK, with options for OpenAI, Gemini or Ollama. Follow concrete commands: clone, npm run build, tsc --watch, and npm link to expose dsc cli.js, implement an AI service that generates responses, add command parsers (help, clear, exit), show loading state, manage keys, and optionally enable file edits — result is a functional joke-generating CLI agent.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Chatbots to terminal agents
  3. 3:33Terminal agent with React and Ink
  4. 5:20CLI interface setup
  5. 6:24Command parsers and AI integration
  6. 7:52React terminal UI code
  7. 9:17Demo and next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.