frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Aver – a language designed for AI to write and humans to review

https://github.com/jasisz/aver
2•jasisz•1h ago
I’ve been building Aver around a simple question:

If AI is going to write more of the first draft, what should the source look like for the human reviewer?

Aver is an experimental statically typed language and toolchain for AI-written, human-reviewed code.

My bet is that source code should carry more than implementation. In most projects, implementation survives in the code, but intent lives in docs, decisions live in ADRs or tickets, and expected behavior lives in tests that may or may not stay close to what they describe.

Aver tries to make those parts first-class: explicit method-level effects in function signatures; ? strings for machine-readable function intent; decision blocks for design choices and tradeoffs; colocated verify blocks for pure functions; deterministic record/replay for effectful flows; aver context for compact contract-level module export; aver compile to Rust; and aver proof to Lean 4 for mechanical proof checking of the pure subset.

A small pure example:

  fn charge(account: String, amount: Int) -> Result<String, String>
      ? "Pure charge validation and transaction-id creation."
      match amount
          0 -> Result.Err("Cannot charge zero")
          _ -> Result.Ok("txn-{account}-{amount}")

  verify charge
      charge("alice", 100) => Result.Ok("txn-alice-100")
      charge("bob", 0)     => Result.Err("Cannot charge zero")
A reviewer can see at a glance what the function is for (`?`) and a machine-checkable example of expected behavior (`verify`).

An effectful wrapper looks like this:

  fn chargeAndPrint(account: String, amount: Int) -> Result<Unit, String>
      ? "Effectful wrapper around charge."
        "Prints the transaction id on success."
      ! [Console.print]
      result = charge(account, amount)
      match result
          Result.Ok(txn) ->
              Console.print(txn)
              Result.Ok(Unit)
          Result.Err(err) ->
              Result.Err(err)
The `!` makes side effects part of the signature rather than hidden inside the implementation.

Aver is intentionally opinionated: no exceptions, no null, no `if`/`else`, no loops, no closures. Branching goes through `match`, failure through `Result`, absence through `Option`, and side effects are explicit.

The repo includes small examples, but also `projects/workflow_engine`, which is my attempt at a medium-sized auditable application core with app/domain/infra split, replayable effectful flows, and verify-driven pure logic.

This is still early. I’m not claiming everyone should replace mainstream languages with Aver.

The narrower question I’m testing is whether making intent, decisions, checks, and effect boundaries machine-readable inside the source makes AI-produced code easier to review, constrain, and trust.

I’d especially like feedback on whether this feels like a language worth existing, or whether the same idea should just be conventions and tooling on top of an existing language.

Comments

jasisz•1h ago
Author here.

Aver is an experimental statically typed language for AI-written, human-reviewed code.

What’s different is that intent (`?`), explicit effects (`!`), design decisions (`decision`), and behavior checks (`verify`) are part of the source itself rather than split across code, comments, docs, and tests.

If you want to evaluate it quickly, I’d suggest these places:

- medium-sized example: https://github.com/jasisz/aver/tree/main/projects/workflow_e...

- Lean proof export for the pure subset: https://github.com/jasisz/aver/tree/main/docs/lean.md

- examples of effectful programs / replay: https://github.com/jasisz/aver/tree/main/examples/services

The main question I’m testing is whether this deserves to be a language, or whether the same idea should just be tooling and conventions on top of an existing language.

Boosting Android Performance: Introducing AutoFDO for the Kernel

https://android-developers.googleblog.com/2026/03/BoostingAndroid%20PerformanceIntroducingAutoFDO...
1•fastest963•56s ago•0 comments

What Makes a Successful Standard?

https://sphericalcowconsulting.com/2026/02/24/what-makes-a-successful-standard/
1•mooreds•5m ago•0 comments

Upcoming Vote on Chat Control: Renew Deal Is Worse Than Rejected Draft Report

https://www.patrick-breyer.de/en/upcoming-vote-on-chat-control-new-sd-epp-and-renew-deal-is-worse...
2•latexr•5m ago•0 comments

Mouth Taping for Sleep: Does It Work? (2025)

https://www.sleepfoundation.org/snoring/mouth-taping-for-sleep
1•mooreds•5m ago•0 comments

The Corporate Miscreants Driving the Affordability Crisis

https://newrepublic.com/post/207422/corporate-miscreants-driving-affordability-crisis
1•mooreds•6m ago•0 comments

The Fort Strength Training Wearable Tracks Your Sets (2026)

https://www.wired.com/story/fort-strength-training-wearable-launch/
1•joozio•6m ago•0 comments

Show HN: YC W26 AgentMBOX agent self-onboarding mailboxes

https://agentmbox.com
1•jpzk•6m ago•0 comments

1kB Club

https://1kb.club/
1•TigerUniversity•6m ago•0 comments

Covenant-72B: Pre-Training a 72B LLM with Trustless Peers Over-the-Internet

https://twitter.com/tplr_ai/status/2031388295972929720
1•rzk•7m ago•0 comments

WinGet abused to deliver malicious payloads

https://blog.compass-security.com/2026/03/winget-desired-state-initial-access-established/
1•uneven9434•9m ago•0 comments

Remembra – Open-source semantic memory for AI agents

https://github.com/remembra-ai/remembra
1•remembradev•10m ago•0 comments

NVSentinel: Nvidia's open-source GPU resilience system for Kubernetes

https://github.com/NVIDIA/NVSentinel/
1•mchmarny•10m ago•1 comments

Show HN: gists.sh – Beautiful Viewer for GitHub Gists

https://gists.sh
1•linuz90•11m ago•2 comments

Give your AI agents reversibility and governance before they touch your host

https://github.com/markamo/envpod-ce
2•markamo•16m ago•1 comments

Crow Attack Tracker

https://giscourses.net/crowtrax/crowtrax.html
1•TigerUniversity•19m ago•0 comments

Show HN: Jottit – Publish in seconds, reviving my 2007 project with Aaron Swartz

https://jottit.org
2•simonbc•19m ago•1 comments

Utility

https://github.com/loperfido/utility
1•loperfido•20m ago•0 comments

Simple End-to-end encrypted file sharing for iOS

https://stash-app.xyz/
1•alepacheco-dev•22m ago•0 comments

Show HN: MoodPulse App – a simple app to track your mood in seconds

https://apps.apple.com/us/app/moodpulse-app/id6760206782
1•powerwild•24m ago•1 comments

Computer History Museum Apple at 50 03/11/26 at 7pm Pacific

https://computerhistory.org/events/apple-at-50/
1•oldnetguy•25m ago•0 comments

Levitation – Mobile agent manager for Google Antigravity (open source)

1•gustavogb•26m ago•0 comments

AI investment agents modeled on Warren Buffett and 17 other legends

https://github.com/sophieamoure2026-ui/neuforge-legends
2•TitanSignal•27m ago•1 comments

Evolving the Node.js Release Schedule

https://nodejs.org/en/blog/announcements/evolving-the-nodejs-release-schedule
2•tbassetto•28m ago•0 comments

How tool use works in Claude Code

https://www.claudecodecamp.com/p/how-tool-use-actually-works-in-claude-code
1•Anon84•30m ago•1 comments

Why simulating a cell cycle took years, multiple GPUs and 6 days per run

https://phys.org/news/2026-03-simulating-entire-cell-years-multiple.html
1•teleforce•30m ago•0 comments

Parametricity, or Comptime Is Bonkers

https://noelwelsh.com/posts/comptime-is-bonkers/
1•noelwelsh•31m ago•0 comments

The Faultless Way of Programming

https://dl.acm.org/doi/fullHtml/10.1145/3698322.3698340
1•rramadass•31m ago•0 comments

Tell HN: Click on 'I'm Feeling Lucky' on Google for the first result directly

3•throwaway_7678•32m ago•1 comments

Valve GDC2026: "5,863 games earned $100k+ in 2025 on Steam."

https://old.reddit.com/r/Games/comments/1rqn0jj/valvegdc2026_5863_games_earned_100k_in_2025_on/
1•haunter•32m ago•0 comments

Ask HN: What methods were used to make coding agents so good?

2•jotadambalakiri•33m ago•0 comments