Friday, March 6, 2026
Show HN: Mog, a programming language for AI agents https://ift.tt/Kv2WOgp
Show HN: Mog, a programming language for AI agents I wrote a programming language for extending AI agents, called Mog. It's like a statically typed Lua. Most AI agents have trouble enforcing their normal permissions in plugins and hooks, since they're external scripts. Mog's capability system gives the agent full control over I/O, so it can enforce whatever permissions it wants in the Mog code. This is even true if the plugin wants to run bash -- the agent can check each bash command the Mog code emits using the exact same predicate it uses for the LLM's direct bash tool. Mog is a statically typed, compiled, memory-safe language, with native async support, minimal syntax, and its own compiler written in Rust and its own runtime, also written in Rust, with `extern "C"` so the runtime can easily be embedded in agents written in different languages. It's designed to be written by LLMs. Its syntax is familiar, it minimizes foot-guns, and its full spec fits in a 3200-token file. The language is quite new, so no hard security guarantees are claimed at present. Contributions welcome! https://gist.github.com/belisarius222/203ac5edbc3306c34bf0481f451d4003 March 7, 2026 at 12:16AM
Subscribe to:
Post Comments (Atom)
Show HN: A free lever-based puzzle game https://ift.tt/0sFR4mO
Show HN: A free lever-based puzzle game I made Lever Labyrinth for a final project in my uni's game engine development class and recentl...
-
Show HN: WebApp that blows water out of your phone's speakers https://ift.tt/2VmXkOf March 16, 2021 at 08:22AM
-
Show HN: Music player for big local collections with mpd support mpz is a C++/Qt music player focused on UX, with derectory tree and playlis...
-
Show HN: Stickerbox, a kid-safe, AI-powered voice to sticker printer Bob and Arun here, creators of Stickerbox. If AI were built for kids, w...
No comments:
Post a Comment