nowfound

AI · September 4, 2025

Recreated Claude Code's behavior in 280 lines of Python

The magic in AI coding assistants isn't the code -- it's the prompts. I studied the externally observable behavior of Claude Code and recreated it from scratch in Python with the exact same behaviors. It works with any model -- OpenAI, Gemini, Claude. What's surprising: 1. You can keep the core agent really simple, just 280 lines of Python. As long as it supports hooks, custom sub-agents and Model Context Protocol (MCP), then all the rest of the coding-assistant-specific behavior and tools can be factored out into a separate MCP server. 2. The magic is in the prompts (1200 lines of…

Recreated Claude Code's behavior in 280 lines of Python launched on September 4, 2025 with 5 votes and more than 75% of that year's launches. The site was still online in September 2026, 1 year on.

What it does

A mini AI agent CLI, similar to Claude Code and Gemini CLI - ljw1004/mini_agent

This is a minimal coding assistant with the same behavior as Claude Code. Minimal: just 280 loc for the agent, 400 loc for tools, 1200 lop for prompts. Intuitively it "runs an interactive coding agent": $ python3 -m venv venv $ source venv/bin/activate $ pip install -r requirements.txt $ export GEMINI_API_KEY=redacted $ ./mini_agent.py --model gemini/gemini-2.5-pro [MODEL: gemini/gemini-2.5-pro + gemini/gemini-2.5-flash] [IMPLICIT --mcp builtin] [TRANSCRIPT: /Users/ljw1004/.claude/projects/default/2025-09-01.jsonl] > Please analyze the files in my current directory and tell me what they do. >> <system-reminder># CLAUDE.md (project instructions) ...</system-reminder> >> <system-reminder>Your…from github.com

In the maker’s words, at launch

The magic in AI coding assistants isn't the code -- it's the prompts. I studied the externally observable behavior of Claude Code and recreated it from scratch in Python with the exact same behaviors. It works with any model -- OpenAI, Gemini, Claude. What's surprising: 1. You can keep the core agent really simple…

Does a similar job

all alternatives →
  • 1CodeJan 2026 · github.com · ▲569

    Just to clarify the background a bit. This project wasn’t planned as a big standalone release at first. On January 16, Ollama added support for an Anthropic-compatible API, and I was curious how far this could be pushed in practice. I decided to try plugging local Ollama models directly into a Claude Code-style workflow and see if it would actually work end to end. Here is the release note from Ollama that made this possible: https:&#x2F;&#x2F;ollama.com&#x2F;blog&#x2F;claude Technically, what I do is pretty straightforward: - Detect which local models are available in Ollama. - When…

  • Claude Code Desktop App RedesignedApr 2026 · claude.com · ▲564

    Run parallel coding agents from one desktop workspace

  • Claude 22023 · claude.ai · ▲248

    It was quite interesting to vibe code this artifact. I learned some basic ideas about commitment scheme and hash cryptography in the half and hour spent on this. One of the few times vibe coding left me feeling enriched rather than drained. What do you think?

  • Pi Coding AgentMay 2026 · pi.dev · ▲176

    A new Emacs mode for AI-assisted coding (Claude Code style), with native Emacs buffers instead of a flickering terminal. Built on top of pi, a no-bs open source Claude Code alternative. It supports Claude, GPT, Gemini, Ollama. I've been using it daily for weeks. Demo video that says more than $NUMBER words: https:&#x2F;&#x2F;danielnouri.org&#x2F;media&#x2F;pi-coding-agent-demo.mp4 The key decision here is that we have two separate windows: chat history is a markdown-mode buffer, with beautiful rendering, unlimted scrollback, selective tool expansion where it matters, etc. The input window…

  • Open-source CLI coding framework using Claude2024 · github.com · ▲84

    AI powered cli coding agent that monitors your dev/test server and fixes errors and adds features - vysakh0/dravid

  • Aviator Agents2025 · aviator.co · ▲97

    When we asked developers from large engineering teams, almost everyone is using Claude Code, Cursor, or Copilot. But adoption is still inconsistent. Some of us would have 15 agents running in Claude Code at the same time; some would still refuse to use any of them and write code manually. There's a fragmented AI development problem: - Five developers building similar features, and all of them start from scratch - No way to share "here's how we prompt AI to follow our architecture" - No trail of how the AI changes were generated - People leave the company, so does the their knowledge Aviator…

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 17d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 16d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 18d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 20d ago · stillwet.art

  • Onepin▲384

    AI voiceover with every name, price and date said right

    AI · 30d ago · onepin.ai

  • A real-time world model you can explore and change

    AI · 28d ago · world.pixverse.video

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, September 2025

the whole month →
  • YouMind▲1,223

    The first AI creation studio where learning meets writing

    AI · 2025 · youmind.com

  • The site hit #1 on HN about a year ago. Got enough traffic that I turned it into a proper API. What's there: - REST API — 35k products, manually filterable by category, free key, 60 req&#x2F;min - CLI — npx anycrap random -c food - faker.js plugin — bundled, no API call, works offline - HuggingFace dataset — full 35k rows for ML&#x2F;training https:&#x2F;&#x2F;anycrap.shop&#x2F;developers

    AI · 2025 · anycrap.shop

  • I made a built-from scratch Wayland Compositor to display any GUI app* in the terminal! I think there is a lot of unexplored potential in custom Wayland compositors, a lot of really cool things you can embed existing applications into! So, I started with embedding apps into the terminal because that is the easiest input&#x2F;output (output is just utf-8 and I use the great `chafa` library for that, and I just read from stdin for the input). If you have any other ideas for cool Wayland compositors, let me know. I purposedly wrote 80% the app in Typescript to appeal to the most developers and…

    Dev tools · 2025 · github.com

  • IR

    Years ago I stumbled across a basic version of this concept and it stuck with me. I knew if I was ever going to take on such a project, it would need to be flawless, but without coding experience it was just another idea that would never happen. By the end of 2024, as AI coding tools exploded everywhere, I finally had a way to make it real. I started from zero knowledge and spent months collaborating with AI agents as a learning experience. Every pixel and every function went through me. The AI translated what I asked for into code, but every decision was human. I didn't use existing OS…

    AI · 2025 · mitchivin.com

  • Ada▲910

    Your own AI data analyst

    AI · 2025 · ada.im

  • Turn Product Images into Scroll-Stopping Video Ads

    Growth · 2025 · vidau.ai