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 safe Rust so the entire toolchain can be audited for security. Even without a full security audit, Mog is already useful for agents extending themselves with their own code. - MIT licensed, contributions welcome.Motivations for Mog:1. Syntax Only an AI Could Love: Mog is written for AIs to write, so the spec fits easily in context (~3200 tokens), and it's intended to minimize foot-guns to lower the error rate when generating Mog code. This is why Mog has no operator precedence: non-associative operations have to use parentheses, e.g. (a + b) * c. It's also why there's no implicit type coercion, which I've found over the decades to be an annoying source of runtime bugs. There's also less support in Mog for generics, and there's absolutely no support for metaprogramming, macros, or syntactic abstraction.When asking people to write code in a language, these restrictions could be onerous. But LLMs don't care, and the less expressivity you trust them with, the better.2. Capabilities-Based Permissionsl: There's a paradox with existing security models for AI agents. If you give an agent like OpenClaw unfettered access to your data, that's insecure and you'll get pwned. But if you sandbox it, it can't do most of what you want. Worse, if you run scripts the agent wrote, those scripts don't inherit the permissions that constrain th
FL score
out of 100
Verdict
high confidence
Competition
10
competitors found, emerging market, funded players
Trend
No signal yet
A new programming language designed for AI agents to write securely and performantly, but faces significant build complexity and adoption risks for a solo builder.
The pain
The gap
Build angle
Strengths
- Addresses a clear, specific, and growing pain point in AI agent security and performance.
- Unique 'AI-first' language design addresses LLM frustrations directly.
- Capabilities-based security model provides a strong differentiator.
- The market for AI agents is rapidly expanding, indicating future demand.
- Creator has deep expertise in language design.
Risks
- Extremely high build complexity for a solo builder to create a new language and compiler.
- Significant challenge in driving adoption for a new programming language.
- Monetization model beyond open-source is not yet clear.
- Requires substantial education and community building.
- Funded competitors are active in the broader AI development space, though not directly in Mog's specific niche.
Next steps
- **Proof-of-Concept & Benchmarking:** Build a minimal, functional Mog compiler and runtime. Create clear benchmarks demonstrating superior security and performance for a simple AI-authored task compared to Python/Lua sandboxing.
- **Targeted Validation:** Find 5-10 AI agent developers or teams facing the exact security/performance problems Mog solves. Get their feedback on the core concept and early benchmarks.
- **Monetization Exploration:** While open-source, identify a clear path to generating revenue (e.g., enterprise support, premium tooling, hosted runtime, integration services) by understanding what developers would pay for.
- **Community Building:** Start sharing technical insights and progress in relevant AI agent developer communities (e.g., Reddit r/MachineLearning, AI developer forums, Discord servers) to gauge initial interest and gather early adopters for the open-source project.
Fly Labs Method
Is the pain real, is there a gap, is it the right time, can one person build it.
- Problem clarity
- 26
- Solution gap
- 18
- Willingness to pay
- 16
- Buildability
- 9
Mog addresses a clear, specific, and severe problem in AI agent development: enabling secure, performant, and reliable self-extending capabilities. Its unique AI-centric design offers a promising whitespace, but the buildability for a solo founder is highly challenging.
Value Equation
Dream outcome and how likely it feels, against the time and effort it costs.
A high potential idea in a growing market with clear value, but faces significant build complexity and competitive pressure from established AI tools/models.
One-Person Business
Curiosity pull, identity fit, and a path from free value to paid for a solo creator.
A technically deep problem with a clear creator fit, but the complexity of building a language and the niche audience present significant challenges for solo execution and widespread adoption.
Viral Frameworks
Hook strength, shareability, and how cheaply it can be tested.
Mog presents a clear value proposition for a specific audience in a growing market, but it carries high risks related to adoption of a new language and a challenging path to business model validation.
Builder Lens
Evidence the problem exists, timing, defensibility, and a model that fits on a napkin.
Mog addresses a clear, future-critical need for AI agent developers, with strong demand and a specific target user, but requires strong evidence of AI performance and a narrow, monetizable starting point.
Why this verdict
Five lenses, one composite. How scoring works
The angle
This weekend
- **Proof-of-Concept & Benchmarking:** Build a minimal, functional Mog compiler and runtime. Create clear benchmarks demonstrating superior security and performance for a simple AI-authored task compared to Python/Lua sandboxing.
- **Targeted Validation:** Find 5-10 AI agent developers or teams facing the exact security/performance problems Mog solves. Get their feedback on the core concept and early benchmarks.
- **Monetization Exploration:** While open-source, identify a clear path to generating revenue (e.g., enterprise support, premium tooling, hosted runtime, integration services) by understanding what developers would pay for.
- **Community Building:** Start sharing technical insights and progress in relevant AI agent developer communities (e.g., Reddit r/MachineLearning, AI developer forums, Discord servers) to gauge initial interest and gather early adopters for the open-source project.
Who is already there, emerging market
A programming language that starts with Python and adds features like static typing and memory safety for increased speed and robustness, designed for AI development.
Pricing: Not explicitly stated on the website, but it's positioned as a developer tool from Modular, which offers various AI development platforms and services.
- PelVisit
A new language created specifically for AI agents, inspired by Lisp, Elixir, and Haskell, focusing on safer control flow and natural language conditions.
Pricing: Not available on the provided source.
- AngelScriptVisit
A statically typed, embeddable scripting language with features like classes and memory management, designed for flexibility and performance.
Pricing: Free (single .zip download available).
- BuzzVisit
A lightweight statically typed scripting language that aims to offer type-safe embeddable scripting as an alternative to Lua.
Pricing: Not specified; mentioned in a Hacker News discussion.
World's first agentic AI vibe coding platform that builds full-stack web & mobile apps with English as the programming language.
Pricing: Offers a 10% discount with code PH10 for monthly/yearly plans (actual pricing not specified on the snippet).
An autonomous coding agent built for complex long-horizon tasks, turning a feature description into a fully tested implementation.
Pricing: Not specified.
An AI coding editor and CLI that allows coding with AI across a wide range of LLMs, bundled with a Chat LLM subscription.
Pricing: $10 a month for the entire Chat LLM bundle, which includes Code LLM.
APIs and tools for building AI products, including fast and efficient models like GPT-5.4 mini and nano, built for real-world AI workloads including coding.
Pricing: GPT-4o runs $2.50 input / $10.00 output per million tokens. GPT-5.4 nano is the lowest cost option, and GPT-5.4 mini is twice as fast.
- DeepSeek CoderVisit
An open-source LLM optimized for programming-related applications, showcasing strong performance in code generation, completion, and debugging across multiple programming languages.
Pricing: Very low cost and decent output for reasoning/summarizing through OpenRouter or DeepSeek API.
- Code Llama (Meta)Visit
A state-of-the-art large language model designed for code generation and natural language tasks related to code, available in foundational, Python-specialized, and instruction-tuned versions.
Pricing: Free for self-hosting.
What they charge
Recent news
'AI tools are now able to transcend their initial training': Researchers taught GPT-5 to learn an obscure programming language on its own
ITPro, March 17 2026
Programming Languages Required for Agentic AI Guide
KnowledgeHut, March 16 2026
How AI learned a complex coding language nobody taught it
Earth.com, March 12 2026
The Best Open-Source LLMs in 2026
BentoML, March 04 2026
AI Agent Funding Surges—Missed by TechCrunch
Yutori, September 25 2025
Market signals
The market for programming languages designed for or optimized for LLMs and AI agents is a rapidly growing niche within the broader AI and software development market. The global market for AI agents alone is projected to grow from $7.84 billion in 2025 to $52.62 billion by 2030, indicating significant expansion. There have been numerous recent funding rounds for AI agent companies, with significant investments in startups focusing on AI agent infrastructure and specialized AI models for various industries. Key trends include the emergence of 'LLM-first' languages, designed for machine authorship rather than human authorship, and a strong focus on explicit semantics and modular structures to improve AI-generated code reliability.
What frustrates people
- LLMs often struggle with less popular or niche languages, making many mistakes with their type inferencing rules.
- LLMs do not perform well with languages or frameworks that have undergone significant API changes.
- AI coding tools often require a huge amount of oversight by developers and are trained on specific programming languages.
- Ensuring AI-generated responses are accurate, consistent, and easy to integrate into larger development workflows is a challenge.
- Generic answers, repeated prompting, limited memory, and weak transparency are common complaints with some AI models.
Semble – Code search for agents that uses 98% fewer tokens than grep
Hey HN! We (Stephan and Thomas) recently open-sourced Semble. We kept running into the same problem while using Claude Code on large codebases: when the agent can't find something directly, it falls back to grep, reading full files or launching subagents. This uses a lot of tokens, and often still misses the relevant code. There are existing tools for this, but they were either too slow to index on demand, needed API keys, or had poor retrieval quality.Semble is our solution for this. It combines static Model2Vec embeddings (using our latest static model: potion-code-16M) with BM25, fused via RRF and reranked with code-aware signals. Everything runs on CPU since there's no transformers involved. On our benchmark of ~1250 query/document pairs across 63 repos and 19 languages, it uses 98% fewer tokens than grep+read and reaches 99% of the retrieval quality of a 137M-parameter code-trained transformer, while being ~200x faster.Main features:- Token-efficient: 98% fewer tokens than grep+read- Fast: ~250ms to index a typical repo on our benchmark, ~1.5ms per query on CPU (very large repos may take longer)- Accurate: 0.854 NDCG@10, 99% of the best transformer setup we tested- MCP server: drop-in for Claude Code, Cursor, Codex, OpenCode- Zero config: no API keys, no GPU, no external servicesInstall in Claude Code with: claude mcp add semble -s user -- uvx --from "semble[mcp]" sembleOr check our README for other installation instructions, benchmarks, and methodology:Semble: https://github.com/MinishLab/sembleBenchmarks: https://github.com/MinishLab/semble/tree/main/benchmarksModel: https://huggingface.co/minishlab/potion-code-16MLet us know if you have any feedback or questions!
AI
Postgres extension for BM25 relevance-ranked full-text search
Last summer we faced a conundrum at my company, Tiger Data, a Postgres cloud vendor whose main business is in timeseries data. We were trying to grow our business towards emerging AI-centric workloads and wanted to provide a state-of-the-art hybrid search stack in Postgres. We'd already built pgvectorscale in house with the goal of scaling semantic search beyond pgvector's main memory limitations. We just needed a scalable ranked keyword search solution too.The problem: core Postgres doesn't provide this; the leading Postgres BM25 extension, ParadeDB, is guarded behind AGPL; developing our own extension appeared daunting. We'd need a small team of sharp engineers and 6-12 months, I figured. And we'd probably still fall short of the performance of a mature system like Parade/Tantivy.Or would we? I'd be experimenting long enough with AI-boosted development at that point to realize that with the latest tools (Claude Code + Opus) and an experienced hand (I've been working in database systems internals for 25 years now), the old time estimates pretty much go out the window.I told our CTO I thought I could solo the project in one quarter. This raised some eyebrows.It did take a little more time than that (two quarters), and we got some real help from the community (amazing!) after open-sourcing the pre-release. But I'm thrilled/exhausted today to share that pg_textsearch v1.0 is freely available via open source (Postgres license), on Tiger Data cloud, and hopefully soon, a hyperscalar near you:https://github.com/timescale/pg_textsearchIn the blog post accompanying the release, I overview the architecture and present benchmark results using MS-MARCO. To my surprise, we were not only able to meet Parade/Tantivy's query performance, but exceed it substantially, measuring a 4.7x advantage on query throughput at scale:https://www.tigerdata.com/blog/pg-textsearch-bm25-fu
AI
Consus (YC F24) – LLM gateway for companies handling sensitive data
Hey Hacker News! I'm Eric, the founder of Consus. We route all AI requests to ITAR restricted and controlled unclassified information (CUI) compliant infrastructure. Consus itself satisfies ITAR restrictions, and we recently completed our FedRAMP equivalency audit against the 410 FedRAMP High controls. FedRAMP High is the U.S. government’s strictest security baseline for cloud services handling sensitive unclassified data. A breach of this data could cause severe or catastrophic harm. Achieving FedRAMP equivalency, or authorization, is required before processing CUI information.Demo: https://youtu.be/6MYxJe6P4oYAerospace and defense is experiencing rapid growth. Unfortunately, most companies are struggling to use AI because of necessary data protections & compliance risk. These companies can move even faster if they could use the AI tools that most other industries take for granted.I spent most of my career prior to Consus in aerospace & defense. I launched national security payloads at SpaceX, and was an early employee at Castelion. I’ve watched first hand how compliance red-tape makes it difficult for companies to adopt new technologies and trust vendors that touch their sensitive data. For example, I worked with a satellite manufacturer that doesn’t allow any AI tools, even for non-sensitive work.Even as AI has become extremely useful over the past 9-12 months, I was surprised by how many aerospace & defense companies refused to touch it. They could see how it could be helpful, but they were scared about model providers training on their data, violating an ITAR rule, or risk losing new business because of a failed cyber assessment. These are all rational fears.There were a lot of ways to solve some/all of these problems, but we focused on building a compliant AI inference layer that can "plug" into any AI tool or workflow. Just as OpenRouter integrates with most tools, Consus can connect to tools like ChatGPT or Clau
AI
Questions about this idea?
FlyBot reads the scoring and gives you a second opinion on “The Mog Programming Language”.