frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Decide – Jev decisions in the shell, scripts, and agent skills

https://github.com/vsekhar/decide
1•vsekhar•43m ago
All software makes decisions. Code handles the deterministic ones. Decision models like Jev handle the judgement calls.

A decision model takes context and questions with a fixed set of choices, and returns answers with a calibrated probability. No prose, nothing to parse. Decision models are 200x faster and 400x cheaper than LLMs making comparable judgements.

I wanted to play around with decision models in more places and without writing code or manually calling APIs. I wanted scripts to read like natural language and agents to be able to pick up the tool and use it after simply reading the help output.

  brew install vsekhar/tap/decide
  decide --set-config --model typesafe:jev-latest --api-key
  API key: <paste your API key>

  decide "Is Atlanta the capital of Georgia?"
  yes

  # Choose from among options
  decide "What kind of weather is typical in Florida?" \
      --option rainy \
      --option sunny \
      --option snowy
  sunny

  # Provide context (32k context window)
  decide --context @ticket.txt \
      "Which team handles this ticket?" \
        --option shipping \
        --option billing \
        --option returns
  billing

  # Pick a level, least to most, explain each to the model
  decide --context @ticket.txt \
      "How urgent is this ticket?" \
        --level not_urgent="Customer feedback or feature request" \
        --level somewhat_urgent="Customer problem, not blocked" \
        --level urgent="Customer blocked"
  somewhat_urgent

  # Multiple questions in one call, name questions for easier parsing
  decide --context @ticket.txt \
      "Which team handles this ticket?" \
        --name team \
        --option shipping \
        --option billing \
        --option returns \
      "How urgent is this ticket?" \
        --level not_urgent \
        --level somewhat_urgent \
        --level urgent \
      "Should we issue a refund?"
  team=billing
  somewhat_urgent
  yes

  # Script-friendly exit codes
  if decide --context "$body" "Is this message spam?" -q; then
    mv "$file" spam/
  fi
Other features:

- Confidence: gate on the model's confidence in its answer with --min-confidence and --fallback

- Question files: load questions from a file, useful for detailed questionnaires under version control

- Scriptable: 0 is decided or yes, 1 is no, 2 is unsure, 10 is your mistake, 11 is network/model problem

- Agent skill: agents can get cursory information about files quickly and cheaply before or instead of reading them (example skill included in the repo) - token efficient, no MCP

- Statistics and distribution: output the model's confidence and probabilities across your choices

- JSON: read context as JSON objects, write decisions as JSON objects

- Streaming: decide once per line from stdin using --each (for JSONL pipelines)

- Economical: two orders of magnitude cheaper than LLMs (Jev: $0.042/Mtok input, free output)

- Fast: typical latency of 200ms end-to-end (400 token context with 5 questions)

- Scalable: unlimited questions per call, processed in parallel

Limitations:

- Typesafe or OpenRouter API key required

- macOS 26+ pre-built via Homebrew; macOS 15 and Linux build from source (requires Swift 6.2)

- Jev only (so far the only publicly available decision model)

See also:

- DecisionModels (https://github.com/vsekhar/DecisionModels): Swift library for static and dynamic decision model calls, inspired by Apple's FoundationModels library, and powering decide.

- llm-typesafe (https://github.com/simonw/llm-typesafe): JSON-oriented input and output, integrated into the general purpose (and very popular) llm command by simonw which is written in Python and has 14 runtime dependencies.

Swift 6.2, Apache 2.0

What do you think about the command line model? How are you plugging decision models into your systems?

Show HN: Enterprise Postgres for AI and more, from prototype to production

https://www.pgedge.com/products/starfleet
1•bonesmoses•30s ago•0 comments

Evade Reddit tracking, keep old.reddit.com layout permanently

1•kookabburrabarr•1m ago•0 comments

Why Juicero's Press Is So Expensive (2017)

https://blog.bolt.io/juicero/
1•robin_reala•2m ago•0 comments

Show HN: Online RTSP camera simulator for testing AI vision or VMS

https://illucam.com/
1•eric_pro•2m ago•0 comments

Cory Doctorow says Hugging Face attack was just "a Python loop and a chatbot"

https://pluralistic.net/2026/09/12/god-in-the-box/#llms-are-fake
2•rototrav•4m ago•1 comments

Freelance Developer Pricing: The Framework That Stops the $11/HR Slide

https://www.misar.blog/@mrgulshanyadav/articles/freelance-developer-pricing-the-framework-that-st...
1•dxs•4m ago•0 comments

AI agent startup Instinct raises $1B Series C at $10B valuation

https://reuters.com/technology/ai-agent-firm-instinct-raises-1-billion-latest-funding-round-2026-...
1•utiiiD•4m ago•0 comments

Viral AI agent Instinct raises $1B Series C at a $10B valuation

https://techcrunch.com/2026/09/28/viral-ai-agent-instinct-raises-1b-series-c-at-a-10b-valuation/
2•htrp•5m ago•0 comments

Education Miracles [pdf]

https://statmodeling.stat.columbia.edu/wp-content/uploads/2025/11/Mississippi-MIracle-Galleys-1.pdf
2•Tomte•6m ago•0 comments

Work Diary Victory

https://blog.plover.com/2026/09/22/
3•surprisetalk•6m ago•0 comments

Show HN: LaunchPact – Get support for your Product Hunt launch

https://www.launchpact.io
1•launchpact_io•7m ago•0 comments

Show HN: Free job-market dashboard – which skills and roles postings ask for

https://nokku.payanai.com/dashboard
1•payanai•8m ago•0 comments

What if automating AI R&D triggers an intelligence explosion?

https://casp.ac/reports/intelligence-explosion
1•thm•9m ago•0 comments

Partnership and economic drivers of Gambia men with foreign tourists

https://pmc.ncbi.nlm.nih.gov/articles/PMC10021562/
2•randycupertino•10m ago•0 comments

Resurrecting Midway's Ms Gorf – The Arcade Blogger

https://arcadeblogger.com/2026/09/25/resurrecting-midways-ms-gorf/
2•rbanffy•11m ago•0 comments

Age of Invention: Salt Syndicate, Part I

https://www.ageofinvention.xyz/p/age-of-invention-salt-syndicate-part
1•Khaine•11m ago•0 comments

Jensen Huang says AI distillation is 'competition.'

https://www.cnbc.com/2026/09/28/nvidias-jensen-huang-ai-distillation-china.html
3•cramer4next•11m ago•2 comments

Debugging HTTP:Tiny Calls Deep Inside Your Stack

https://www.olafalders.com/2026/09/28/debugging-http-tiny-calls-deep-inside-your-stack/
3•oalders•12m ago•0 comments

Nvidia AI Agent Safety Stack

https://blogs.nvidia.com/blog/ai-security-agent-stack/
3•ketanbj•12m ago•1 comments

Show HN: Beside.nvim – Live preview in Neovim using leaf, glow or pandoc

https://github.com/mariocesar/beside.nvim
2•mariocesar•12m ago•0 comments

MongoDB CEO resigns "effective immediately" to join Meta, stock drops 20%

https://www.reuters.com/technology/mongodb-ceo-desai-steps-down-lead-metas-enterprise-platform-20...
5•diek•12m ago•1 comments

Bike light hacking: AAA to rechargeable lithium

https://tylerhext.com/posts/bike-light-hacking/
1•posty24•12m ago•1 comments

Nvidia boosts share buyback by record $150B

https://www.reuters.com/business/nvidia-adds-150-billion-existing-share-repurchase-plan-2026-09-28/
2•TechTechTech•13m ago•0 comments

Show HN: Knotchy – Open untrusted links in a throwaway VM under the notch

https://github.com/aculix/knotchy
2•idris3396•14m ago•0 comments

Unlimited virtual cards for everyone, for free

https://twitter.com/aayan1405/status/2104583630274310231
2•ion05•14m ago•0 comments

Microsoft silent on paying "fair share"

https://arstechnica.com/tech-policy/2026/09/microsoft-goes-quiet-after-church-groups-ask-for-1-of...
3•SockThief•15m ago•0 comments

Paramount/WBD merger conditions give the public "virtually nothing," judge told

https://arstechnica.com/tech-policy/2026/09/paramount-wbd-merger-conditions-give-the-public-virtu...
2•rbanffy•16m ago•0 comments

Containers Are No Longer a Security Boundary

https://depthfirst.com/research/containers-are-no-longer-safe
2•ibobev•17m ago•0 comments

Leaving Them Behind

https://dbushell.com/2026/09/28/leaving-them-behind/
2•ibobev•18m ago•0 comments

What Heraldry and Mon Can Teach Us About Building Visual-Identity Generators

https://benovermyer.com/blog/2026/09/japanese-vs-western-heraldry/
3•bovermyer•18m ago•0 comments