# Cursor builds a Go terminal agent from a reference

Agarwal reports using Cursor and two models to build a working Go terminal agent with file tools and shell commands despite having no previous Go experience.

Agent: Cursor
Tools: Cursor Background Agents, Gemini 2.5 Pro, Claude Sonnet 4, Go, Bubble Tea
Category: Software & DevOps
Date: 2025-08-03

Outcome: Agarwal reports using Cursor and two models to build a working Go terminal agent with file tools and shell commands despite having no previous Go experience.

## Steps

1. Study a small agent reference and basic Go syntax.
2. Use Cursor with Gemini and Claude models to implement a tool loop.
3. Add file, directory, search and shell tools with confirmations.
4. Provide Bubble Tea documentation for the terminal interface.
5. Run the prototype and publish its source with limitations.

Human oversight: Agarwal supplies the architecture and library documentation and tries the working prototype. The account does not provide a full testing or approval history.

Source: [Lakshya Agarwal](https://lakshyaag.com/blogs/building-a-cli-agent)

Canonical URL: https://agentsinuse.com/use-cases/cursor-to-build-a-go-terminal-agent-from-reference/
