{
  "id": 10428148,
  "title": "I Let Free Web Gemini Code My Terrarium, and Now the Worms are Having an Identity Crisis",
  "url": "https://urgent.news/2026/09/28/i-let-free-web-gemini-code-my-terrarium-and-now-the-worms-are-having",
  "topic": "ai",
  "section": "AI",
  "published": "2026-09-28T11:14:04.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/effessdev/i-let-free-web-gemini-code-my-terrarium-and-now-the-worms-are-having-an-identity-crisis-57n2"
  },
  "original_language": "en",
  "account": "Title: Free Web Gemini Code My Terrarium Simulation, Worms Get Confused\n\nA Python-based terrarium simulation project experienced some unexpected changes when free web-based Large Language Models (LLMs) were used to add new features to it.\n\nThe creator of the terrarium simulation built a Pygame-based model and decided to test if free web-based LLMs could add new features without causing any issues. They utilized Google AI Studio and Gemini, a free browser chatbot, to feed the codebase into the AI.\n\nInitially, the creator added all files to Gemini's context, including README.md, requirements.txt, and Python files. However, Gemini asked for payment, so the creator decided to try feeding only the project structure, README, and requirements.txt first. They tried this approach on both Google AI Studio and Gemini's website, but Gemini cut off the context without warning.\n\nUndeterred, the creator remembered their extension could write output to files. They uploaded the Python files and received 108 lines of diffs, indicating Gemini had indeed added new features. However, applying those diffs using the extension failed due to excessive hallucinations from Gemini.\n\nThe creator then adopted a new strategy: feed Gemini only the necessary project structure, README, and requirements.txt. They asked the AI which specific files it needed to read to implement the desired feature. Gemini provided a list of the files it required to analyze.\n\nThe creator was delighted with the results, as Gemini successfully identified the necessary files. However, there were instances where Gemini's hallucinations caused issues in applying the generated diffs. Overall, the experience demonstrated the potential of free web-based LLMs in enhancing Python codebases, but also highlighted the need for careful context management to avoid hallucinations and ensure accurate results.",
  "summary": "If you want to see Gemini building the most \"biologically accurate\" worms for my Terrarium simulation, please read till the end. I built a Pygame terrarium simulation a while back (please wait, the video may take a second to load): I decided to check whether free web-based LLMs can add entirely new features to this Python codebase without blowing everything up. No expensive subscriptions. Just a…",
  "key_points": [
    "Python terrarium simulation project enhanced by free web LLMs",
    "Gemini added 108 lines of code, causing excessive hallucinations",
    "Careful context management crucial to avoid AI-generated errors"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}