Sigil, a new programming language for AI agents.
ROIPAD RESEARCH · PUBLIC SOURCES
Discussion evidence and market context
Snapshot 2026-11-06 10:15:57 UTC · Sources and methodology
DevOps & Infra
This public record was assigned to this market by Deep Analytics (model confidence 85%).
Market association is an analytical inference; it does not establish product fit or demand.
What the discussion sample says
0 distinct, substantive comments in the stored sample. Below the configured minimum of 20 comments; no sentiment inference published.
Related public records from semantic retrieval
Connections for further investigation, not endorsements or verified substitutes.
- Show HN: Statewright – Visual state machines that make AI agents reliable
Shared subject terms: show, agents. Retrieved by text similarity and checked for topic overlap; practical equivalence has not been established.
- Show HN: EDDI – Multi-agent AI engine where agent logic lives in JSON, not code
Shared subject terms: show, where. Retrieved by text similarity and checked for topic overlap; practical equivalence has not been established.
- Show HN: Agent-desktop – Native desktop automation CLI for AI agents
Shared subject terms: show, agents. Retrieved by text similarity and checked for topic overlap; practical equivalence has not been established.
Raw Developer Origin & Technical Request
Hacker News
Apr 6, 2026
I've been working on a new programming language for AI agents. I would love your input on what makes programming languages good for AI agents, especially syntax, compiler, and tooling that could help AI agents write code.What makes Sigil good for coding agents?I've turned conventions into compiler rules whenever possible. The compiler owns the canonical printer and every AST has one accepted textual representation. For almost every syntax feature I tried to save tokens.Order and naming conventions are enforced. No more "I think this argument is important so it should come first." Most things are alphabetical. Declarations are categorized and ordered alphabetically; parameters, effects, and record fields are alphabetical too. Types are UpperCamelCase. Everything else is lowerCamelCase, including file names.No nulls. No undefined.
Bidirectional type checking.
No shadowing.
Fat stdlib (still in progress).
`sigil debug` supports replay, stepping, watches, and breakpoints.
`sigil inspect` lets coding agents query the compiler directly, including proof surfaces.Solver-backed refinements and contracts. Different languages already choose different numeric surfaces: byte, short, smallint, unsigned integers, etc. Sigil pushes that one step further: domain constraints can also define types. `where` lets a named type carry a predicate, and `requires` / `ensures` let functions carry proof obligations across call boundaries.Here is a contrived example from the roguelite: t InventoryCount=Int where value≥0
λspendArrow(arrows:InventoryCount)=>InventoryCount
requires arrows>0
ensures result≥0
=arrows-1
Under the hood this is backed by Z3: github.com/z3prover/z3 But the surface stays ordinary Sigil syntax. There are no proof scripts and no user-facing SMT language.No imports, rooted references only. In some languages you can import code and have name clashes, so there are many ways to specify imports. Sigil eliminates all of that by only using rooted references. I think this reduces agent churn because when the model sees a line, it does not have to go hunt for an import statement.Service dependencies are declared in `src/topology.lib.sigil`, and environment bindings live in `config/.lib.sigil`.The language has special syntax for tests and they are run in parallel. Every project `src/*.lib.sigil` function must be tested, and if a function can return multiple cases, tests should exercise all of them. "World" is Sigil's model for effects. That is how mocks work: swap one effect for another and make assertions without exercising real external systems.The compiler toolchain is written in Rust, and Sigil outputs to TypeScript, with a Foreign Function Interface to Node.js. See some small projects here inerte.github.io/sigil/projects/ - the Flashcards is useful to learn about Sigil features inerte.github.io/sigil/projects/si... I did NOT type a single line of code for the compiler toolchain. It was all generated with Claude Code and Codex. I run both with permissions dangerously skipped. This actual post I hand crafted every word.There is also a toy roguelite written in Sigil. It is a work in progress, but it is proof that Sigil can support nontrivial project code. You can play with `pnpm sigil:run:roguelike`.Repository: github.com/inerte/sigilWebsi... inerte.github.io/sigil/And I would love if you can find ways to lock down LLM / user programs even more. In Sigil, there should be only one way to do anything.
Developer Debate & Comments
No active discussions extracted for this entry yet.
Frequently Asked Questions
Market intelligence mapped to Sigil, a new programming language for AI agents..
What is the technical positioning of Sigil, a new programming language for AI agents.?
What architecture is tied to Sigil, a new programming language for AI agents.?
Engagement Signals
Cross-Market Term Frequency
Counts stored text matches for foundational terms like Claude Code and Codex in analysed public discussions. These counts do not measure adoption.
Stored text matches, not adoption or market-share measurements.
- Claude Code: 171 records
- Codex: 114 records
- Rust: 103 records
- AI agents: 77 records
- tokens: 72 records
- TypeScript: 37 records
- debug: 35 records
- compiler: 28 records
- syntax: 23 records
- AST: 22 records
- inspect: 22 records
- Node.js: 19 records
- tooling: 13 records
- replay: 9 records
- contracts: 7 records
- undefined: 5 records
- naming conventions: 3 records
- stepping: 2 records
- watches: 2 records
- breakpoints: 2 records
- predicate: 2 records
- requires: 2 records
- canonical printer: 1 records
- UpperCamelCase: 1 records
- lowerCamelCase: 1 records
- nulls: 1 records
- Bidirectional type checking: 1 records
- shadowing: 1 records
- Fat stdlib: 1 records
- proof surfaces: 1 records
- Solver-backed refinements: 1 records
- domain constraints: 1 records
- ensures: 1 records
- proof obligations: 1 records
- Z3: 1 records
- SMT language: 1 records
- rooted references: 1 records
- name clashes: 1 records
- agent churn: 1 records
- Service dependencies: 1 records
- environment bindings: 1 records
- special syntax for tests: 1 records
- run in parallel: 1 records
- World model for effects: 1 records
- mocks: 1 records
- compiler toolchain: 1 records
- Foreign Function Interface: 1 records
- LLM / user programs: 1 records
SaaS Metrics