ghuntley

    ghuntley/how-to-build-a-coding-agent

    A workshop that teaches you how to build your own coding agent. Similar to Roo code, Cline, Amp, Cursor, Windsurf or OpenCode.

    ai-agents
    ai
    education
    agent
    cursor
    tutorial
    workshop
    Go
    5.9K stars
    669 forks
    5.9K GitHub watchers
    Updated Oct 27, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 4 contributors on GitHub.

    Peaked at #41 in the weekly ranking the week of Apr 5, its best in the past year.

    Use Cases & Benefits

    • Build a step-by-step AI-powered coding assistant that integrates with the Anthropic Claude API and progressively adds tools like file reading, shell commands, and code searching.
    • Enables incremental learning and feature addition, allowing developers to understand and extend AI agent capabilities without prior AI expertise.
    • Use for learning how to integrate AI chatbots with file system operations and shell command execution in Go.
    • Use for creating customizable developer assistants that can read, edit, and search codebases locally.
    • Use for experimenting with building tool chains and memory features to enhance AI agent workflows and automation.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    No license detected

    No license file detected by GitHub: unless the project grants one elsewhere, the default is all rights reserved.

    Community files

    • README: present

    Watch-outs

    • Warning: No license file detected by GitHub: unless the project grants one elsewhere, you generally have no permission to use, modify or distribute the code.
    • No GitHub releases; pin a commit or tag instead of a release.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Welcome! 👋 This workshop will guide you through building your own AI-powered coding assistant — starting from a basic chatbot, and adding powerful tools like file reading, shell command execution, and code searching.

    You don’t need to be an AI expert. Just follow along and build step-by-step!

    🌐 Want a detailed overview? Check out the blog post: ghuntley.com/agent

    You’ll build 6 versions of a coding assistant.

    At the end, you’ll end up with a powerful local developer assistant!

    Excerpt from the ghuntley/how-to-build-a-coding-agent README on GitHub. © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    669+19

    Open issues

    10+1

    Compared with peers in AI Agents

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    ghuntley/how-to-build-a-coding-agent compared with AI Agents repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vercel-labs/agent-desktop17.0K+13.3K33today
    thedotmack/claude-mem113.6K+8.8K35today
    stablyai/orca116.8K+6.6K40today
    milind-soni/OpenMausBot13.5K+6.0K45today
    HKUDS/DeepTutor55.5K+5.5K655 days ago
    ghuntley/how-to-build-a-coding-agent5.9K—8—
    Category median55.5K+6.6K40—

    Discover Repositories

    Search across tracked repositories by name or description