Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 2.15 KB

File metadata and controls

45 lines (34 loc) · 2.15 KB

Codebuff

Codebuff is an advanced coding agent with a composable agent framework. It also includes:

  • freebuff, the free coding agent
  • evalbuff, a project to improve an agent through evals

Goal

Make an efficient learning agent that can do anything.

Key Technologies

  • TypeScript monorepo (Bun workspaces)
  • Bun runtime + package manager
  • Next.js (web app + API routes)
  • Multiple LLM providers (Anthropic/OpenAI/Gemini/etc.)

Repo Map

  • cli/ — TUI client (OpenTUI + React) and local UX
  • sdk/ — JS/TS SDK used by the CLI and external users
  • web/ — Next.js app + API routes (the "web API")
  • packages/agent-runtime/ — agent runtime + tool handling (server-side)
  • common/ — shared types, tools, schemas, utilities
  • agents/ — main agents shipped with codebuff
  • .agents/ — local agent templates (prompt + programmatic agents)
  • freebuff/ - a free coding agent built from configuring codebuff cli
  • evalbuff/ — automated docs optimization loop (run agent → judge → analyze → improve docs)

Conventions

  • Never force-push main unless explicitly requested.
  • Run interactive git commands in tmux (anything that opens an editor or prompts).

Docs