nowfound

AI · March 9, 2026

TM

The Mog Programming Language

Hi, Ted here, creator of Mog. - Mog is a statically typed, compiled, embedded language (think statically typed Lua) designed to be written by LLMs -- the full spec fits in 3,200 tokens. - An AI agent writes a Mog program, compiles it, and dynamically loads it as a plugin, script, or hook. - The host controls exactly which functions a Mog program can call (capability-based permissions), so permissions propagate from agent to agent-written code. - Compiled to native code for low-latency plugin execution -- no interpreter overhead, no JIT, no process startup cost. - The compiler is written in…

The Mog Programming Language launched on March 9, 2026 with 163 votes, #202 of 23,380 launches that month and more than 95% of that year's launches.

Visit moglang.org ↗Alternativestop 1% of March 2026

In plain words

Mog is a statically typed, compiled language designed for AI agents to write and execute their own code as plugins and scripts. It compiles to native code with no interpreter overhead, and the host application controls which functions Mog programs can call through capability-based permissions. The language specification fits in 3,200 tokens to keep it simple for LLMs to generate, and the compiler is written in safe Rust for auditability. Mog is MIT licensed.

written from the facts on this page · September 2026

From the sources

Mog language guide: full language tutorial and reference.

What if an AI agent could modify itself quickly, easily, and safely? Mog is a programming language designed for exactly this. Mog is a statically typed, compiled, embedded language (think statically typed Lua) designed to be written by LLMs – the full spec fits in 3200 tokens. An agent hook that runs after context compaction. All I/O functions are provided by the host: import pulls in host-defined types, and optional capabilities degrade gracefully. import agent ; // Agent, Message, Role types optional log ; // silently ignored if not provided // post-compaction hook: re-inject key context that may have been lost pub fn on_post_compaction (session : agent . Session) { log .info (…from moglang.org

In the maker’s words, at launch

Hi, Ted here, creator of Mog. - Mog is a statically typed, compiled, embedded language (think statically typed Lua) designed to be written by LLMs -- the full spec fits in 3,200 tokens. - An AI agent writes a Mog program, compiles it, and dynamically loads it as a plugin, script, or hook. - The host controls exactly…

Does a similar job

all alternatives →
  • MOL – A programming language where pipelines trace themselvesFeb 2026 · github.com · ▲38

    Hi HN, I built MOL, a domain-specific language for AI pipelines. The main idea: the pipe operator |> automatically generates execution traces — showing timing, types, and data at each step. No logging, no print debugging. Example: let index be doc |> chunk(512) |> embed("model-v1") |> store("kb") This auto-prints a trace table with each step's execution time and output type. Elixir and F# have |> but neither auto-traces. Other features: - 12 built-in domain types (Document, Chunk, Embedding, VectorStore, Thought, Memory, Node) - Guard assertions: `guard answer.confidence > 0.5 : "Too low"` -…

  • Bolt – A super-fast, statically-typed scripting language written in C2025 · github.com · ▲261

    I've built many interpreters over the years, and Bolt represents my attempt at building the scripting language I always wanted. This is the first public release, 0.1.0! I've felt like most embedded languages have been moving towards safety and typing over years, with things like Python type hints, the explosive popularity of typescript, and even typing in Luau, which powers one of the largest scripted evironments in the world. Bolt attempts to harness this directly in the lagnauge rather than as a preprocessing step, and reap benefits in terms of both safety and performance. I intend to be…

  • A dependently-typed programming language with static memory management2020 · github.com · ▲456

    A functional programming language with static memory management - vekatze/neut

  • Mocha2025 · getmocha.com · ▲482

    Build full-stack apps without coding. But this time it works

  • Han – A Korean programming language written in RustMar 2026 · github.com · ▲208

    A few weeks ago I saw a post about someone converting an entire C++ codebase to Rust using AI in under two weeks. That inspired me — if AI can rewrite a whole language stack that fast, I wanted to try building a programming language from scratch with AI assistance. I've also been noticing growing global interest in Korean language and culture, and I wondered: what would a programming language look like if every keyword was in Hangul (the Korean writing system)? Han is the result. It's a statically-typed language written in Rust with a full compiler pipeline (lexer → parser → AST →…

  • TinyGo – LLVM-based Go compiler for microcontrollers2018 · github.com · ▲177

    Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM. - tinygo-org/tinygo

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 · 17d 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, March 2026

the whole month →
  • AI-native CRM that builds itself and does work for you

    AI · Mar 2026 · lightfield.app

  • Tobira.ai▲728

    A network where AI agents find deals for their humans

    AI · Mar 2026 · tobira.ai

  • Switch from ChatGPT to Claude with import memory feature

    AI · Mar 2026 · claude.com

  • Littlebird remembers everything across your meetings, messages, docs, and apps, then takes action so you can recall any detail and never lose context.

    AI · Mar 2026 · littlebird.ai

  • Your AI Coworker that proactively executes tasks

    AI · Mar 2026 · viktor.com

  • Jupid▲659

    File your taxes with Claude Code

    Commerce · Mar 2026 · jupid.com