Aider’s Early Coding Assistant: Snake and an Existing Rails Project

Matthew Berman demonstrates the terminal tool’s 2023 workflow, from generating and iterating on a game to proposing a dependency change in a repository.

MBMatthew Berman연사 · Forward Future
채널
Matthew Berman
게시일
2023년 7월 2일
영상
7:05
읽기
3분
슬라이드
3
원문
영어
YouTube에서 열기
스크롤하면 영상이 오른쪽 아래로 작아져 계속 재생됩니다. 자막은 읽기 언어를 따릅니다.
읽기 언어2개 언어로 읽을 수 있음
이 글은 아직 한국어 번역이 없어 영어 원문으로 표시합니다.
요약

30초 요약

In this July 2023 tutorial, Matthew Berman tries Aider with GPT-4, first building and changing a Python Snake game and then asking it to update a dependency in a Ruby on Rails project. He describes an early repository map based on Universal Ctags and shows Git-aware edits. The examples are informal and reveal an incomplete game change and a dependency version that was not actually the latest; the video’s description also adds an installation step omitted from the recording.

  1. 1A terminal coding assistantBerman introduces Aider and its ability to iterate on files and existing projects.
  2. 2Historical setupHe creates a Python environment and uses an OpenAI key; the description supplies a missing installation command.
  3. 3Repository mappingHe explains the early Universal Ctags map, which compresses selected code information rather than giving the model every detail.
  4. 4A Snake exampleThe assistant generates and edits a small game, but one requested change is incomplete.
  5. 5Editing a Rails projectAider suggests a Sidekiq change and Bundler workflow, but the proposed version is not the latest.

핵심 정리

  1. Aider is a terminal coding assistant that can propose edits and work with Git repositories.
  2. The 2023 demonstration used a hosted OpenAI API key; the software being free did not make API usage free.
  3. The historical repository map was a compact summary, not the complete contents of every file.
  4. One Snake change left the first food symbol unchanged, showing why generated edits need testing.
  5. The demonstrated Sidekiq 6.3.1 suggestion was not the latest release even in July 2023.
  6. The video description adds the omitted Aider installation step; modern setup and repository mapping have changed.
전문

챕터별로 다듬은 전문 읽기

원본 자막만 보기
01

Introducing Aider and setup

Berman introduces Aider, creates an environment and discusses API access. The video description adds an installation step omitted from the demonstration.

Matthew Berman introduces Aider, a terminal-based coding assistant created by Paul Gauthier, in July 2023. He is interested in its ability to propose and iterate on code, show changes and work within an existing Git repository. The video shows small examples rather than a broad evaluation of large-project reliability.

He describes the version he is using as supporting GPT-4 and GPT-3.5 and says he hopes for open-model support in future. That reflects the 2023 release; available models and integration options have since changed. The assistant itself may be available without a software fee, but hosted model API calls can incur charges.

On his Mac, Berman creates and activates a Conda environment with Python 3.11.3, then exports an OpenAI API key and says he will revoke the demonstration key. The video description corrects an omitted step: installing Aider with pip install aider-chat or the repository requirements. These are historical instructions, not a verified current installation guide.

02

Mapping a repository

He explains the early Universal Ctags integration and its role in compressing repository context. A map is necessarily selective.

Berman introduces Universal Ctags as an optional aid for a large codebase. In the early version he demonstrates, it helps create a compact repository map of symbols and structure. A token-limited map is a selection or summary, not the entire codebase or a guarantee that the model understands all relevant context.

He shows installing Universal Ctags with Homebrew and checking its version. This is the workflow in the recording; Aider later described replacing the original Ctags-based repository map with a tree-sitter-based approach, so the old dependency should not be assumed necessary for current versions.

03

Creating and refining Snake

Berman generates a Python game, adds a score and changes the food symbol. The final change is only partially successful.

Berman creates a new folder and starts Aider with snake.py. The screen says no Git repository is present and the repository map is disabled. He asks for a Python Snake game; the assistant proposes code using curses, and he runs the resulting game successfully in this single demonstration.

Starting Aider with a Python file
슬라이드 1 / 3Starting Aider with a Python fileThe terminal shows the GPT-4 model, the absence of a Git repository and the Snake request.

He asks the assistant to add a score showing how many pieces of food the snake has eaten. Aider displays and applies the change, and Berman runs the game again to show the score. This is one example of iterative editing and a manual check, not a comprehensive game test.

Next he asks to replace the food symbol with the number eight. On testing, he observes that the first food item still uses the original symbol while later ones use eight. He notes that another iteration could address it; the initial change did not fully satisfy the request.

Berman shows in-chat commands for adding or dropping files, viewing differences and committing, then exits and opens his existing Ruby on Rails project. This time the terminal recognizes a Git repository and shows a Universal Ctags repository map with a 1,024-token budget.

04

An existing Rails project

He asks Aider to update Sidekiq and reviews its proposed Gemfile and Bundler steps. The suggested version does not establish a successful latest-version upgrade.

The early repository map
슬라이드 2 / 3The early repository mapThe existing project is recognized as a Git repository and the screen shows a 1,024-token Universal Ctags map.

He asks Aider to upgrade Sidekiq to the latest version. The assistant requests access to the Gemfile, proposes a constraint and discusses updating Gemfile.lock with Bundler. The screen shows version 6.3.1; RubyGems had published Sidekiq 7.1.0 in May 2023, so the suggestion was not demonstrably the latest at the time.

The proposed Sidekiq change
슬라이드 3 / 3The proposed Sidekiq changeThe displayed Gemfile edit pins a 6.3.1-compatible constraint; it does not prove the latest release was selected.

Berman appreciates that the assistant recognizes the lockfile is generated by Bundler instead of simply editing it by hand. The demonstration shows a suggested workflow, not a completed, verified dependency upgrade or compatibility test. He concludes that Aider could help him continue iterating on existing projects.

같은 채널의 다른 글

슬라이드 12장34:21EN
Matthew Berman· 2026년 10월 27일Matthew Berman Examines Anthropic’s IPO Filing, AI Growth and GovernanceMatthew Berman, Sam Altman · Forward FutureThe presenter reviews the S-1’s financial metrics, compute strategy and voting structure while questioning the tension between rapid AI development and safety.AnthropicAI Safety엔터프라이즈 AI+2
0:26EN
Matthew Berman· 2026년 10월 25일Sam Altman on Human Values and Problem-Solving in an AI WorldSam Altman · OpenAIIn a short interview excerpt, Altman considers the enjoyment of solving hard problems and the human role in interpreting results.Human-AI CollaborationFuture of WorkAI Strategy
슬라이드 2장0:36EN
Matthew Berman· 2026년 10월 25일Kimi K3.1 and a Rubik’s Cube Solver DemonstrationMatthew Berman · Forward FutureMatthew Berman shows a scrambled virtual cube being solved and gives the Kimi K3.1 test a favorable assessment.평가(Evals)코딩 에이전트Open-weight models
슬라이드 2장0:21EN
Matthew Berman· 2026년 10월 24일An AI-Generated Kimi Benchmark Chart Used Invented ScoresMatthew Berman · Forward FutureMatthew Berman asks for a graph of Kimi K3.1 Pro benchmarks, then discovers that the displayed figures are illustrative placeholders.Benchmarks평가(Evals)Generative media
슬라이드 6장25:50EN
Matthew Berman· 2026년 10월 24일Kimi K3.1 Pro Tested: Strong 3D Demos, Uneven Results and Competitive PricingMatthew Berman · Forward FutureMatthew Berman tests the open-weight model on coding, 3D rendering and visual explanations, then compares benchmark results and prices.Open-weight modelsBenchmarksAI cost & performance+1
슬라이드 2장32:20EN
Matthew Berman· 2026년 10월 23일Who Is Local AI For? The Costs, Trade-offs and a Hybrid FutureMatthew Berman · Forward FutureMatthew Berman weighs data control and independence against hardware cost, setup complexity and inference speed.Local inferenceOpen-weight modelsAI cost & performance+1