惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Hacker News
The Hacker News
F
Full Disclosure
Cloudbric
Cloudbric
Blog — PlanetScale
Blog — PlanetScale
W
WeLiveSecurity
N
News and Events Feed by Topic
T
Troy Hunt's Blog
V2EX - 技术
V2EX - 技术
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
B
Blog
GbyAI
GbyAI
C
Check Point Blog
B
Blog RSS Feed
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Recorded Future
Recorded Future
The Last Watchdog
The Last Watchdog
N
News and Events Feed by Topic
T
The Blog of Author Tim Ferriss
O
OpenAI News
V
V2EX
人人都是产品经理
人人都是产品经理
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
WordPress大学
WordPress大学
www.infosecurity-magazine.com
www.infosecurity-magazine.com
S
Security @ Cisco Blogs
C
Cisco Blogs
Security Latest
Security Latest
S
Security Affairs
V
Visual Studio Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Hacker News - Newest:
Hacker News - Newest: "LLM"
博客园 - 司徒正美
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
Last Week in AI
Last Week in AI
AWS News Blog
AWS News Blog
雷峰网
雷峰网
Apple Machine Learning Research
Apple Machine Learning Research
PCI Perspectives
PCI Perspectives
博客园_首页
U
Unit 42
Google DeepMind News
Google DeepMind News
Hugging Face - Blog
Hugging Face - Blog
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
The Register - Security
The Register - Security
N
Netflix TechBlog - Medium
L
LINUX DO - 热门话题
H
Hacker News: Front Page

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店 GitHub - EdoardoBambini/Agent-Armor-Iaga: AI agents are getting tool access — shell, file system, databases, APIs, secrets. But **nobody is governing what they actually do with it**. Frameworks like LangChain, CrewAI, AutoGen, and Claude Code give agents the power to execute. Agent Armor gives you the power to control, audit, and approve every single action before it happens. HN Vibes — Week 15, Apr 7–13 2026 GitHub - chojs23/ec: Easy terminal-native 3-way git mergetool vim-like workflow GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - JakOb-dotcom/cloud-sandbox-security-analysis: Technical analysis and Proof of Concept (PoC) regarding environment variable exfiltration in containerized cloud sandboxes via side-channel data leaks. Springboards - Flint Alpha Show HN: A simpler coding agent harness GitHub - audiodude/sudomake-friends GitHub - 256thFission/mini-mythos: OSS clone of Anthropic’s Mythos harness to locate C/C++ memory vulnerabilities Show HN: OpenParallax: OS-level privilege separation for AI agent execution Hacker News Sorted - Chrome 应用商店 Show HN: How to Install Docker on Ubuntu 24.04 LTS: Complete 2026 Guide GitHub - himanshudongre/smriti GitHub - sverrirsig/claude-control: macOS desktop dashboard for monitoring and managing multiple Claude Code sessions GitHub - ory/dockertest: Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. Chiral - Chrome 应用商店 Show HN: Two Claudes collaborating through shared memory on a $100 mini-PC GitHub - pmichaillat/latex-cv: Minimalist LaTeX template for academic CVs GitHub - oguzbilgic/posse: A web UI for Anthropic Managed Agents. GitHub - sshiraz/depsly: Dependency risk analysis tool for npm packages ABI Add safari/agent-harness — Safari browser automation via safari-mcp by achiya-automation · Pull Request #212 · HKUDS/CLI-Anything GitHub - Halfblood-Prince/trustcheck: Verify PyPI package attestations and improve Python supply-chain security GitHub - oguzbilgic/kern-ai: Agents that do the work and show it. GitHub - bruits/satteri: High-performance Markdown and MDX processing for the JavaScript ecosystem GitHub - tylergibbs1/feedstock: High-performance web crawler and scraper for TypeScript, powered by Bun and Playwright GitHub - Grimm67123/grimmbot: The self-improving sandboxed and open-source AI agent. With persistent memory and scheduling. GitHub - whitevanillaskies/whitebloom: Local whiteboard that blooms. GitHub - hwdsl2/docker-whisper: Docker image for a self-hosted Whisper speech-to-text server with speaker diarization and OpenAI-compatible transcription and translation APIs. Powered by faster-whisper. Supports all Whisper models, NVIDIA GPU (CUDA) acceleration, JSON/SRT/VTT output, SSE streaming, offline mode, and multi-arch (amd64, arm64). GitHub - yisding/reviewwiggum GitHub - MarwanAlsoltany/serrors: Structured errors for Go: sentinel hierarchies, typed data, custom formatting, and slog integration. GitHub - soatok/age-php GitHub - Luthiraa/markitme GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits GitHub - tombedor/excalicharts GitHub - wh1le/excalidraw-edit: Open and edit .excalidraw files from the terminal. Offline, auto-saves to disk. MalExt Sentry - Malicious Extension Scanner - Chrome 应用商店 GitHub - syi0808/asciianimesvg: Generate animated ASCII art SVGs from text. CLI, Rust library, WASM, and web editor. GitHub - zaina-ml/ml_forge: A visual-based graph node editor for training computer vision models. GitHub - anakin87/llm-rl-environments-lil-course: 🌱 A little course on Reinforcement Learning Environments for evaluating and training Language Models GitHub - takaakit/superpowers-uml: Superpowers-UML modifies Superpowers to ensure a software development workflow in which AI agents design through UML modeling. AdriByte Studio - Sviluppo Web e Soluzioni Digitali GitHub - chouligi/angel-copilot: Your personalized Angel Investment Advisor Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 GitHub - agenteractai/lodmem: Level Of Detail Context Management for Agents GitHub - ostefani/subnetlens: A fast, concurrent network scanner with a TUI and plain-text CLI, built in Go. It discovers live hosts on your network, scans their open ports, resolves hostnames, and fingerprints operating systems—delivered. Cyber Pulse: Agentic Intel - Apps on Google Play Whisper API: Self-Hostable Speech to Text Transcription The Agent-Web Protocol Stack: A Research Thesis GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Show HN: Provepy – A Python decorator that proves your code using Lean and LLMs Show HN: Pardonned.com – A searchable database of US Pardons GitHub - patrickdappollonio/dux: Dux is a terminal UI that lets you run multiple AI coding agents side by side, each in its own git worktree, with full companion terminals, macros, commit generation, and a command palette that knows more tricks than you do. kMC Crystal Simulator Show HN: HyperFlow – A self-improving agent framework built on LangGraph GitHub - stef41/vibescore: 🎵 Grade your vibe-coded project. One command, instant letter grade across security, quality, dependencies, and testing. GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. imgur.com GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. GitHub - nowork-studio/toprank: Open-source Claude Code skills for SEO, SEM, Google Ads GitHub - tacomanator/sash: Lightweight macOS menu bar app for reliably cycling through windows of the current application. Appents | Social Media Management for Product-First Teams GitHub - pnhoang/youtube-spam-blocker: Automatically detects and hides spam messages in YouTube Live chat. Set rate limits, keyword filters, and block repeat offenders. GitHub - decisionnode/DecisionNode: CLI + Local MCP - A shared structured memory store across Claude Code, Cursor, Windsurf, Antigravity, and every MCP client. Semantically queryable. GitHub - AvaCodeSolutions/django-email-learning: An open source Django app for creating email-based learning platforms with IMAP integration and React frontend components. The $100K Gap in Kubernetes Security Tooling Function Calling Harness: From 6.75% to 100%
GitHub - armbox/babo: A universal programming language so simple even a fool can use. Write .babo files in plain English — Claude Code turns them into working programs.
theqoo · 2026-05-31 · via Hacker News: Show HN

A universal programming language so simple, even a fool can use it.

Describe what you want in plain language. It becomes real.


The full story behind Babo — a 1997 team project that failed and took 29 years to complete →


How It Works

┌──────────────┐     ┌───────────────┐     ┌────────────────────┐
│  hello.babo  │ ──▶ │  Claude Code  │ ──▶ │ .baboc/hello.baboc/│
│  (plain text)│     │ (AI compiler) │     │ (run output)       │
└──────────────┘     └───────────────┘     └────────────────────┘
  1. Write a .babo script describing what you want in plain English. Be specific about inputs, outputs, and behavior — stated requirements are followed literally by the build system. If your project has multiple components, describe how they connect. If it uses external packages, name them. If it has a CLI, describe each command and its arguments.
  2. Run babo <file>.babo — the tool checks if a cached build exists
  3. Build — if needed, an AI backend reads the description and generates a complete, runnable implementation. The build prompt adds three critical rules: respect what is stated literally, always produce working code, and handle any execution environment gracefully.
  4. Execute — the generated program runs immediately, with its own virtual environment and dependencies

Cache System — Like Python's .pyc, but for Babo

Babo uses a cache convention inspired by Python's __pycache__/hello.cpython-314.pyc. When you run a .babo file, Babo creates a .baboc directory next to the source file and stores the generated implementation inside:

project/
├── hello.babo              # ← your description (source)
├── .baboc/                 # ← cache root (like __pycache__/)
│   └── hello.baboc/        # ← cached implementation
│       ├── babo             #    generated entry point
│       ├── requirements.txt #    external packages
│       ├── packages.txt     #    human-readable package list
│       ├── venv/            #    isolated Python environment
│       └── metadata.json    #    build metadata
├── dice.babo               # another source file
└── .baboc/
    └── dice.baboc/          # its own isolated cache
Python .pyc concept Babo .baboc concept
__pycache__/hello.cpython-314.pyc .baboc/hello.baboc/
Auto-generated from .py source Auto-generated from .babo source
Skipped when source is unchanged Skipped when source is unchanged
Lives next to the source file Lives next to the source file
Deleted with find . -name '__pycache__' -exec rm -rf {} + Deleted with babo clean
  • First run: build → cache → execute. The build system generates everything needed — entry point, package list, virtual environment — from the description alone. No scaffolding, no boilerplate, no manual wiring.
  • Subsequent runs (if .babo script unchanged): execute directly from cache
  • Modify the .babo script: Babo detects the stale cache and rebuilds automatically

Installation

git clone https://github.com/armbox/babo.git
cd babo
pip install -e .

Prerequisite: Claude Code must be installed and authenticated.

# Verify installation
babo --help

Quick Start

Create a file named hello.babo. A good .babo script describes what should happen (behavior), what it needs (dependencies), and how it should be invoked (interface):

Print "Hello, World!" in rainbow colors using the rich package.

Run it (first time builds silently, second time is instant):

$ babo hello.babo
Hello, World!

$ babo hello.babo
Hello, World!

Usage

babo <file.babo> [args...]       Run a .babo script (auto-build if needed)
babo run <file.babo> [args...]   Explicit run
babo check <file.babo>           Check if cache is fresh (FRESH/STALE)
babo build <file.babo>           Force rebuild from source
babo info <file.babo>            Show build metadata and cache details
babo clean                       Clear all cached builds

Passing Arguments

Arguments after the .babo file are forwarded to the generated program. When writing a .babo script that accepts arguments, describe the expected input format and how each argument should be used:

babo greet.babo Alice --loud
# → "HELLO, ALICE!"

Examples

The best .babo scripts follow a simple pattern: state the purpose, describe the interface (arguments, flags, input/output format), list dependencies, and specify edge cases. The AI backend handles architecture, error handling, and implementation details — you focus on what, not how.

Basic CLI Tools

Add two numbers (add.babo):

Add two numbers given as command-line arguments.
Output format: "Result: <sum>"
$ babo add.babo 3 5
Result: 8

Fibonacci (fib.babo):

Print the nth Fibonacci number. F(0)=0, F(1)=1, F(2)=1, F(3)=2, ...
$ babo fib.babo 10
fib(10) = 55

Reverse a string (reverse.babo):

Reverse a string given as a command-line argument.
$ babo reverse.babo abcde
edcba

External Packages

Babo automatically creates a virtual environment and installs any packages the generated program needs.

HTTP Fetcher (uses requests):

Fetch a URL and print the HTTP response status code.
Use the requests package.
$ babo fetch.babo https://example.com
Status code: 200

Rich Score Table (uses rich):

Display a formatted score table. Accept "name:score" pairs.
Sort by score descending. Use the rich package.
$ babo score.babo Alice:85 Bob:92 Charlie:78

     Scores
┏━━━━━━━━┳━━━━━━━┓
┃ Name   ┃ Score ┃
┡━━━━━━━━╇━━━━━━━┩
│ Bob    │    92 │
│ Alice  │    85 │
│ Charlie│    78 │
└────────┴───────┘

GUI Window (uses PyQt6):

Use PyQt6 to open a GUI window with "Hello from Babo!"
centered in large bold text. Auto-close after 2 seconds.
$ babo window.babo
Window opened
# (A 400x300 GUI window appears briefly, showing "Hello from Babo!")

Non-Sense Input? No Problem.

Even if the .babo file is nonsense, Babo interprets it creatively:

blah.babo:

$ babo blah.babo

 ╔══════════════════════════════════════════╗
 ║     🌀  BLAH BLAH — WHATEVER  🌀         ║
 ║    "Sometimes nonsense is the best       ║
 ║     kind of sense."                      ║
 ╚══════════════════════════════════════════╝

  1. 🔮 Generate random wisdom
  2. 🎲 Roll the cosmic dice
  3. 🎨 Create ASCII art
  4. 📝 Blah-ify your text
  5. 👋 Exit

asdfghjkl.babo:

$ babo asdfghjkl.babo

┌──────────────────────────────────────────┐
│      ASDFGHJKL — Keyboard Wanderer       │
│  "Even random keystrokes have meaning"   │
│                                          │
│  Generated word: "FLASH JUG"             │
│  Home-row distance traveled: 42          │
└──────────────────────────────────────────┘

Example Babo Scripts

For larger projects, describe the architecture in sections — what each component does, how they connect, and what the entry points are. The build system handles file layout, package structure, and wiring automatically. Below are real .babo scripts that produce fully functional programs from descriptions alone.

These showcase what Babo can create from longer descriptions. Each example shows the .babo source file (plain language description) followed by what Babo produces.

Web Server

sample/webserver.babo — A full HTTP server, pure stdlib.

Create a full-featured HTTP web server with the following capabilities:
- Serve static files from the current directory
- Support GET and POST requests
- Parse JSON request bodies and return JSON responses
- Include a /health endpoint that returns server status
- Include a /api/time endpoint that returns the current server time as JSON
- Use Python's built-in http.server module — no external packages
- Log all requests to stdout with timestamp, method, path, and status code
- Default port: 8080, configurable via --port argument
- Print "Server running on http://localhost:<port>" on startup
$ babo sample/webserver.babo --port 8080
Server running on http://localhost:8080

# In another terminal:
$ curl http://localhost:8080/health
{"status": "ok", "uptime": 42.5}

$ curl http://localhost:8080/api/time
{"time": "2026-05-31T12:34:56Z", "timestamp": 1748694896}

CSV Data Analyzer

sample/analyzer.babo — Statistical analysis of CSV files with rich output.

Create a CSV data analyzer tool that reads a CSV file and produces statistics.
Usage: analyze <file.csv>
Features:
- Count total rows and columns
- Show column names and their data types
- For numeric columns: min, max, mean, median, standard deviation
- For text columns: unique count, most common values (top 5)
- For date columns: earliest, latest, range
- Print results in a beautifully formatted table using the rich package
- If file doesn't exist, print a clear error message
$ babo sample/analyzer.babo sales.csv

┌──────────────────────────────────────────┐
│  📊 CSV Analysis: sales.csv              │
│  Rows: 1,234  |  Columns: 8              │
└──────────────────────────────────────────┘

Numeric Columns:
┏━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━┓
┃ Column     ┃  Min  ┃  Max  ┃  Mean  ┃ Median ┃  Std Dev  ┃
┡━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━┩
│ revenue    │  5.00 │ 99.99 │ 45.23  │ 42.00  │    23.45  │
│ quantity   │     1 │    50 │ 12.34  │    10  │     8.91  │
└────────────┴───────┴───────┴────────┴────────┴───────────┘

Space Station Text Adventure

sample/adventure.babo — Interactive adventure with 8+ rooms, combat, inventory, and save/load.

Create an interactive text adventure game set in a mysterious space station.
Features:
- Player explores multiple interconnected rooms with descriptions
- Each room has items to collect, puzzles to solve, or enemies to face
- Simple combat system (attack, defend, use item)
- Inventory management (pick up, drop, use items)
- At least 8 rooms with a clear objective: find the reactor core and shut it down
- ASCII art for major rooms and events
- Command parser that understands natural verbs (go, take, use, look, attack, inventory, help)
- Save/load game state to a JSON file
- A help system that explains all commands
The game starts with: "=== SPACE STATION OMEGA-7: REACTOR CRISIS ==="
$ babo sample/adventure.babo

=== SPACE STATION OMEGA-7: REACTOR CRISIS ===

     .───.
    /     \     ⚡ REACTOR BREACH IMMINENT ⚡
   │  ☢ ☢  │
    \     /     The station's core is unstable.
     '───'      You must shut it down.

You are in the AIRLOCK. Flickering emergency lights
cast long shadows. The inner door leads to the CORRIDOR.
A CROWBAR lies on the floor.

> take crowbar
You pick up the CROWBAR.

> go corridor
You enter the CORRIDOR. Steam hisses from a ruptured pipe.
Doors lead to ENGINEERING, MEDBAY, and back to AIRLOCK.
A MAINTENANCE DRONE hovers menacingly!

> attack drone with crowbar
You swing the CROWBAR at the DRONE! *CLANG*
The DRONE sparks and crashes to the floor.

System Monitor Dashboard

sample/dashboard.babo — Live terminal dashboard with CPU, memory, disk, and network stats.

Create a real-time system monitoring dashboard for the terminal.
Use the rich package for live updating display.
Features:
- Live CPU usage percentage (poll every 1 second)
- Live memory usage (used/total and percentage)
- Disk usage for the current directory
- Network: show hostname and local IP address
- Uptime display (how long the dashboard has been running)
- A live-updating progress bar showing CPU usage
- Clean layout with panels and colors
- Exit when user presses 'q'
Use psutil package for system metrics.
$ babo sample/dashboard.babo

╭────────────────────── Live System Monitor ──────────────────────╮
│  💻 CPU                                                 42.5%   │
│  ████████████████░░░░░░░░░░░░░░░░░░░░░░                         │
│                                                                 │
│  🧠 Memory                                           7.8/16 GB  │
│  ████████████████████░░░░░░░░░░░░░                     48.7%    │
│                                                                 │
│  💾 Disk (/Users/quho)                             234/512 GB   │
│  ██████████████████████████████████████████            45.7%    │
│                                                                 │
│  🌐 Network: en0 — 192.168.1.42                                 │
│  ⏱️  Uptime: 12m 34s                                            │
│                                                                 │
│  Press 'q' to quit                                              │
╰─────────────────────────────────────────────────────────────────╯

Multi-Personality Chatbot

sample/chatbot.babo — Creative chatbot with philosopher, pirate, robot, fortune-cookie, and shrink personas.

Create an interactive chatbot with multiple personality modes.
Features:
- Multiple bot personalities: philosopher, pirate, robot, fortune-cookie, shrink
- Command: /mode <name> to switch personality
- Command: /history to see conversation history
- Command: /clear to clear history
- Command: /quit to exit
- Each personality responds differently to the same input
- Keep conversation context/history for the session
- Use rich package for colored output with each personality having its own color
- Fun ASCII art banner on startup
- No external AI APIs — use creative rule-based responses with a large bank of templates
$ babo sample/chatbot.babo

╔═══════════════════════════════════════════════════════╗
║  🤖  BABO CHAT  —  "Even fools can converse"  🤖      ║
╚═══════════════════════════════════════════════════════╝

You are talking to: 🧘 Philosopher
/mode to switch personality, /quit to exit

🧘 Philosopher > you: what is the meaning of babo language?

🧘 Philosopher:
  "To ask what Babo means is to already understand it.
   For in the act of describing what you want, you have
   already begun to create. The question IS the answer,
   young grasshopper. Also, it's a .babo script."

you: /mode pirate
Now talking to: 🏴‍☠️ Pirate

🏴‍☠️ Pirate > you: hello!

🏴‍☠️ Pirate:
  "Arrr! Ye've come aboard the good ship Babo!
   We don't write code here — we just describe what
   we want and the machine does the swabbin'!
   Now walk the plank... of productivity! Yarrr!"

How It Works (Internals)

Each .babo file gets its own isolated build environment:

.baboc/hello.baboc/
├── babo               # Generated entry point (Python, executable)
├── requirements.txt   # External packages with pinned versions (for pip)
├── packages.txt       # Human-readable package list
├── venv/              # Isolated Python virtual environment
│   └── lib/python3.x/site-packages/
└── metadata.json      # Build metadata (source path, timestamps, file list)

Build Process

  1. Read the .babo file
  2. Send the description to Claude Code (claude -p) with instructions to produce a complete Python program
  3. Create a Python virtual environment in the cache directory
  4. Install any external packages specified in the generated requirements.txt
  5. Execute the generated babo entry point with the venv's Python interpreter

Cache Invalidation

  • If .baboc/hello.baboc/ mtime > source .babo file mtime → cache is FRESH, run directly
  • If source .babo file is newer → cache is STALE, rebuild

Module System — Calling Other .babo Files

Babo supports a module system: any .babo program can call another .babo file, pass arguments, and capture the result. Think of it as import for natural language programs.

How to write a module-based .babo script:

When you write a .babo file that needs to call another module, simply describe the dependency in plain language — which module to call, what to pass it, and what to do with the result. The build system wires the call_babo() invocations automatically. For example:

A calculator app. Call math_ops.babo for addition and multiplication.
Call string_utils.babo to convert results to uppercase words.
Use rich to format the output as a table.

During the build, Claude Code reads this description and generates a Python program that imports runtime (a helper module automatically placed in the cache directory) and calls call_babo() to invoke the other .babo files. You never write the import or the function call yourself — the description is enough.

What happens at runtime:

calc_app.babo (venv A: rich, num2words)
    │
    ├─ from runtime import call_babo
    │
    ├─ call_babo("math_ops.babo", "7", "3", "add")      → "10"
    │   └─ system python → babo run math_ops.babo
    │       └─ math_ops.babo (venv B: stdlib only)
    │
    └─ call_babo("string_utils.babo", "SEVEN", "lower")  → "seven"
        └─ system python → babo run string_utils.babo
            └─ string_utils.babo (venv C: stdlib only)

Each .babo module runs in its own isolated virtual environment. The runtime module (copied into every cache directory during build) provides a call_babo() function that shells out to the babo CLI. Dependencies don't conflict because each module has its own venv.

Using it in generated code:

from runtime import call_babo

# Call another .babo script, pass args, get stdout back
sum_result = call_babo("math_ops.babo", "10", "3", "add")
print(sum_result)  # "13"

# The target .babo is resolved relative to the calling script
greeting = call_babo("../greet.babo", "Alice")

How parameters are determined:

You don't specify how arguments flow between modules — Claude Code figures it out from your description. If you write "Call math_ops.babo for addition and pass the user's two numbers", Claude generates code that wires sys.argv[1] and sys.argv[2] into the call_babo() call. If you write "use the previous result and pass it to string_utils.babo", Claude chains the output of one module as input to the next. The wiring is inferred from intent — describe what should connect to what, and the generated code handles how.

Example: A multi-module calculator

Three .babo files working together. The main app never implements math or string utilities itself — it delegates everything to the other modules via call_babo().

sample/math_ops.babo — A reusable math library:

A reusable math operations module. Accept two numbers as arguments and an operation name.
Usage: math_ops <num1> <num2> <operation>
Operations: add, sub, mul, div, pow, mod
Output just the numeric result, nothing else.

sample/string_utils.babo — A reusable string library:

A reusable string utility module. Accept a string and an operation name.
Usage: string_utils <text> <operation>
Operations: upper, lower, reverse, length, capitalize
Output just the result, nothing else.

sample/calc_app.babo — The main app that orchestrates both modules:

A calculator application that uses other .babo modules.
Call sample/math_ops.babo for all math operations via call_babo().
Call sample/string_utils.babo for string formatting via call_babo().

For "fancy" operation: compute sum and product using math_ops.babo,
then produce a rich-formatted output showing both input numbers,
their computed results, and the numbers in words via string_utils.babo.
Use the rich package for beautiful output formatting.
$ babo sample/calc_app.babo 7 3 fancy

╭────────────────────────────────╮
│    ✨  FANCY CALCULATOR  ✨    │
╰────────────────────────────────╯

         📥 Input Numbers
╭─────────────────┬──────────────╮
│ Number 1        │ 7.0          │
│ Number 2        │ 3.0          │
│ in words        │ SEVEN, THREE │
╰─────────────────┴──────────────╯

         🧮 Computed Results
╭──────────────┬────────┬──────────────────╮
│ Operation    │ Result │ Module           │
├──────────────┼────────┼──────────────────┤
│ 7.0 + 3.0    │   10   │ math_ops.babo    │
│ 7.0 × 3.0    │   21   │ math_ops.babo    │
╰──────────────┴────────┴──────────────────╯

Each module runs in its own isolated venv, can be developed independently, and composed like building blocks.


Shebang Scripts

.babo files can run directly as executables with a shebang line:

#!/usr/bin/env babo
Print "Hello, World!" using the rich package.
$ chmod +x hello.babo
$ ./hello.babo
Hello, World!

Bootstrapping

Babo can describe and rebuild itself. babo.babo is a .babo file containing a specification of the entire Babo CLI — feed it to babo and it produces a working clone. This isn't a parlor trick: it means .babo scripts are specifications that outlive any particular AI model. When a better model arrives, re-run the same script and the implementation improves.

Read more about bootstrapping and why it matters


Why "Babo"?

"Babo" (바보) means "fool" in Korean. Named it that because a truly universal language should be so simple that even a fool — or a tired student at 3 AM — could use it.

It's also a recursive acronym: Babo Always Builds Output.

But mostly it's a reminder: technology should serve everyone, not just experts. If you can describe what you want, you can build it.


Requirements

  • Python 3.10+
  • Claude Code (claude CLI must be installed and in PATH)
  • Internet connection (for Claude Code API calls during builds)

License

MIT License. See LICENSE file.


"Beautiful idea. Wrong century. Come back when the machines can think." — Professor Lim, 1997

"We're back, Professor. The machines learned to think. We brought the assignment — only 29 years late." — The Babo Team, 2026