Lisp Development with AI Agents: High Costs and Technical Challenges

AI Agent Performance with Lisp vs. Other Languages
A DevOps engineer using OpenRouter with Goose CLI for AI agentic development discovered significant differences in AI performance between programming languages. While working on an RSS reader format conversion tool in Lisp, he encountered multiple challenges that made development expensive and inefficient compared to Python or Go.
Technical Implementation Details
The engineer initially tried to have AI agents interact with the Lisp REPL using tmux commands: tmux capture-pane -t 0.0 -p | tail -n 1. This approach consumed excessive tokens, required sleep commands, and involved parsing tmux output. Claude showed some progress but still struggled, while cheaper models like DeepSeek and Qwen performed poorly despite working adequately for other tasks.
To improve the situation, he created tmux-repl-mcp, a Python tool that provides a more straightforward REPL interface. Instead of complex tmux interactions, agents could simply run execute_command in the REPL and receive output directly. He chose Python because his existing Goose configuration used uvx for tool installation and management.
Cost and Performance Comparison
The difference between Lisp and Python development with AI was dramatic. With Python, he could write all code and tests in a day or two using cheap models, requiring only semi-manual debugging. With Lisp, even after implementing tmux-repl-mcp, he spent $10 in 30 minutes with Claude, and the signal-to-noise ratio remained poor compared to Python.
Key observations from the experience:
- AI generates code on a path of least resistance, defaulting to common patterns like QuickLisp even when instructed to use alternatives like OCICL
- The high-latency request-response nature of AI APIs conflicts with REPL development workflows
- Languages with high internet volume (Go, Python) are orders of magnitude easier and cheaper for AI-assisted development
- AI has converted language popularity into real cost savings per million tokens
The engineer noted that regardless of language, his role remained similar: acting as an opinionated product owner managing the AI. However, the experience lacked the usual enjoyment of writing Lisp directly, leading him to consider rewriting the project in Go for better AI compatibility.
📖 Read the full source: HN AI Agents
👀 See Also

OpenClaw Superpowers: A library of 31 skills addressing security, cost, and reliability pain points
A developer has released openclaw-superpowers, a library of 31 plug-and-play skills for OpenClaw. The library addresses common issues like runaway API costs, security vulnerabilities, and context loss, with installation via a single command.

Atuin v18.13 adds AI shell commands, faster search daemon, and PTY proxy
Atuin v18.13 introduces three major features: an AI-powered English-to-Bash helper called atuin ai, a faster search daemon with in-memory indexing, and a PTY proxy called hex that enables popup rendering without clearing terminal output.

Gemma-4 26B-A4B with Opencode Runs Efficiently on M5 MacBook Air
A 32GB M5 MacBook Air can run the Gemma-4-26B-A4B-it-UD-IQ4_XS model at 300 tokens/second prompt processing and 12 tokens/second generation in low power mode, using only 8W of power without getting warm or noisy.

TUI Studio: Visual Terminal UI Design Tool in Alpha
TUI Studio is a Figma-like visual editor for designing terminal user interfaces with drag-and-drop components, real-time ANSI preview, and planned export to six frameworks including Ink, BubbleTea, and Textual. Currently in alpha with non-functional exports, it's available for macOS, Windows, and Docker.