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

推荐订阅源

B
Blog
C
Check Point Blog
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
SecWiki News
SecWiki News
有赞技术团队
有赞技术团队
Latest news
Latest news
D
DataBreaches.Net
Blog — PlanetScale
Blog — PlanetScale
Project Zero
Project Zero
H
Help Net Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
G
GRAHAM CLULEY
Engineering at Meta
Engineering at Meta
T
Threat Research - Cisco Blogs
腾讯CDC
P
Proofpoint News Feed
L
LINUX DO - 热门话题
C
Cisco Blogs
P
Palo Alto Networks Blog
Vercel News
Vercel News
P
Privacy International News Feed
爱范儿
爱范儿
Scott Helme
Scott Helme
L
Lohrmann on Cybersecurity
MyScale Blog
MyScale Blog
K
Kaspersky official blog
B
Blog RSS Feed
美团技术团队
Microsoft Security Blog
Microsoft Security Blog
O
OpenAI News
博客园 - 叶小钗
量子位
T
Tenable Blog
C
Cybersecurity and Infrastructure Security Agency CISA
J
Java Code Geeks
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Hacker News: Ask HN
Hacker News: Ask HN
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
L
LINUX DO - 最新话题
F
Fortinet All Blogs
N
News | PayPal Newsroom
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
博客园 - 【当耐特】
N
News and Events Feed by Topic
V
Visual Studio Blog
Google DeepMind News
Google DeepMind News
Last Week in AI
Last Week in AI

Show HN

GitHub - steveking-gh/firmion: Firmion is DSL and engine for firmware image generation. GitHub - villagesql/villagesql-skills: Agent skills for VillageSQL - gemini-cli-extension; claude-code-plugin GitHub - flightdeckhq/flightdeck: Observability and control plane for AI agents. CSP Radar GitHub - Light-Heart-Labs/DreamServer: Turn your PC, Mac, or Linux box into an AI server. LLM inference, chat UI, voice, agents, workflows, RAG, and image generation. GitHub - Diplomat-ai/diplomat-agent-ts: What can your TypeScript AI agent do to the real world? Scan your code. See which tool calls have zero checks Code Block Selector - Visual Studio Marketplace Prometheus dependency graph — interactive showcase | Riftmap Show HN: I made a vi-like modal keyboard plugin for Figma GitHub - run-llama/liteparse: A fast, helpful, and open-source document parser GitHub - dalemyers/Roar: A macOS CLI tool for notifications GitHub - district-solutions/open-agent-tools-coder: Enables small-to-large self-hosted ai models to use local source code when running tool-calling agentic workloads. We actively data mine 20,900+ (2+ TB) popular github repos using large and small ai models to create reuseable: json, markdown and parquet files for local-first tool-calling models. GitHub - progapandist/stripeek: A local TUI proxy for real-time Stripe API debugging, built for navigating complex payloads fast. GitHub - sir1st/hermes-desktop: All-in-one cross-platform desktop app for Hermes Agent — bundles Python + hermes-agent + hermes-web-ui GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: Generate Claude Code Workflows using Spec Driven Development approach GitHub - nixys/nxs-universal-chart: The Helm chart you can use to install any of your applications into Kubernetes/OpenShift Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code. GitHub - tamerh/enju: Coordinating Humans, AI Agents, and Compute as Peers on a Shared Workflow Graph Show HN: Continuity-auth – Respect-weighted rate limits for the open web GitHub - luml-ai/luml: AI lifecycle platform where engineers and agents track experiments, train models, and ship to production. GitHub - mrdanielcasper/CoreTex: A UNIX-inspired, biomimetic, flat-file AI harness and knowledge engine. GitHub - clemg/pierre-github: Pierre's diffs.com and trees.software for Github GitHub - lyriks-io/unspaghettit: Behavior-driven AI development without prompt spaghetti. GitHub - sofumel/claude-handoff-revive: Resume Claude Code work after rate/usage/context limits without replaying the prior transcript. Auto-saves at 90%/95% usage. Plugin-installable, 10 languages. GitHub - dotexorg/saferpc: Typed, end-to-end encrypted RPC over any bidirectional channel. GitHub - BeeZeeAgent/beezee: Agent harness orchestration Legato Next.js Boilerplate for Internal Tools · CoreUI GitHub - clark-labs-inc/clark-hash: Clark Hash, 32x smaller searchable sketches for embeddings GitHub - ZeroPointRepo/youtube-mcp: The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free. Typing Mastery — climb toward 100+ WPM, deliberately GitHub - Andebugulin/Awareen GitHub - fayzan123/claude-workflow-composer: Visual desktop app for composing multi-agent coding workflows. Drag agents, attach skills and MCPs, wire handoffs, export to .claude/ GitHub - harshaneel/humanize: Best static AI text humanizer. Two research-grounded skills that work in any LLM (Claude, ChatGPT, Gemini, Codex): humanize beats perplexity-based detectors, ai-check produces forensic scoring with evidence-quoted flags. Nine levers, 50+ peer-reviewed sources, 2024-2026 detection literature. GitHub - StackOneHQ/stack-nudge GitHub - nodes-app/swift-markdown-engine: A native AppKit Markdown editor for macOS, built on TextKit 2 and bridged to SwiftUI. We hardened an LLM agent. Each defense we added made it more exploitable. GitHub - alkait/WhatsKept: Agent-queryable WhatsApp history from an iOS backup — a single Go binary. GitHub - octelium/cordium: Open-source, general-purpose sandbox platform for devs and AI agents that provides identity-based secure access to infrastructure without credentials. WAR.GOV/UFO Microfilm5 GitHub - scosman/videowright: Build animated explainer videos with your coding agent GitHub - dipankar/dscode: The code editor you can take apart. GitHub - zoharbabin/web-researcher-mcp: MCP server (Go) for AI assistants: web search, content extraction, academic/patent/news research. Multi-provider routing, 4-tier scraping, search lenses. Works with Claude, Cursor, and any MCP client. GitHub - ruvnet/RuView: π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video. GitHub - scanaislop/aislop: Catch the slop AI coding agents leave in your code: narrative comments, swallowed exceptions, as-any casts, dead code, oversized functions. 50+ rules across 7 languages (TypeScript, JavaScript, Python, Go, Rust, Ruby, PHP). Sub-second, deterministic, no LLM at runtime. MIT-licensed. GitHub - kouhxp/cheap-im: CPU-only voice agent approximating Thinking Machines' Interaction Models demo GitHub - unprovable/OrchidMantis: Orchid Mantis — standalone framework for Zero-Knowledge Proofs of eXploit (ZKPoX). GitHub - MarcellM01/TinySearch: Shrink the web for your local LLMs! GitHub - TangibleResearch/Halgorithem: A Algo designed to detect AI Hallucitions GitHub - DO-SAY-GO/freelang: I love freelang GitHub - CarpseDeam/Aura-IDE: An AI coding harness that shaped itself - Planner/Worker agents, repo awareness, surgical edits, validation, recovery, and safe diff approvals. GitHub - chojs23/concord: A feature-rich TUI client for Discord GitHub - tommyjepsen/awesome-ux-skills: UX & AI Product designs skills you can use today in Claude Code GitHub - aerf-spec/aerf: Agent Evidence Receipt Format (AERF) — an open specification for tamper-evident, independently verifiable records of AI agent actions. GitHub - kklimuk/docx-cli: CLI for AI agents (Claude, Codex) to read, edit, and comment on .docx files with full format fidelity. GitHub - Jwrede/tokentoll: Catch LLM cost changes in code review. Infracost for LLM spend. GitHub - samchon/ttsc: A `typescript-go` toolchain for compiler-powered plugins and type-safe execution + 500x faster lint integrated into compiler GitHub - Higangssh/homebutler: 🏠 Manage your homelab from chat. Single binary, zero dependencies. GitHub - olalie/tapmap: See where your computer connects and what stands out on a live world map. GitHub - Diplomat-ai/diplomat-agent: What can your AI agent do to the real world? Scan your code. See which tool calls have zero checks GitHub - Bajusz15/beacon: Open-source agent for secure remote access, monitoring, and deploys across home-lab and self-hosted machines like Raspberry Pi, N100, or any Linux server. Open web based TTY or tunnel Home Assistant and other local services securely without opening ports. BigTech AI News - Chrome 应用商店 GitHub - vinhnx/VTCode: VT Code is an open-source coding agent with LLM-native code understanding and robust shell safety. Supports multiple LLM providers with automatic failover and efficient context management. GitHub - michaelaz774/decision-engine: A decision operating system for startup founders, powered by Claude Code. Synthesizes wisdom from 25+ legendary founders and investors into interactive AI-driven decision frameworks. GitHub - Chrilleweb/dotenv-diff: Validate environment variable usage in your codebase GitHub - Lumen-Labs/brainapi2: BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications. GitHub - familiar-software/familiar: Let AI watch you work. Familiar lets your AI update its memory, skills, and knowledge by watching your screen. GitHub - skorotkiewicz/rudo: A small, elegant dock for Wayland GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. make sidebar/address bar rounded corner toggleable
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 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