frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Alberta food banks adopt grocery-style model to give families more choice

https://www.cbc.ca/news/canada/edmonton/alberta-food-banks-shift-to-grocery-store-model-9.7293418
1•speckx•27s ago•0 comments

Show HN: User Town – your SaaS metrics as a living 3D city

https://www.theusertown.com/
1•khemraj2796•1m ago•0 comments

MCP-Bench: Benchmarking Tool-Using LLM Agents with Complex Real-World Tasks 2025

https://arxiv.org/abs/2508.20453
1•janandonly•2m ago•0 comments

Self-hosted, distributed Durable Objects and Workers

https://celld.dev/
2•mirzap•2m ago•0 comments

How Elasticsearch's semantic field indexes and searches

https://www.elastic.co/search-labs/blog/semantic-field-multimodal-search-elasticsearch
2•eatonphil•2m ago•0 comments

Should You Send an Uber to Pick Her Up

https://www.esquire.com/lifestyle/sex/a73337596/should-you-send-your-date-an-uber/
2•Balgair•3m ago•0 comments

USB-C is a complete mess [video]

https://www.youtube.com/watch?v=DkcP6reSTEw
1•surprisetalk•3m ago•0 comments

DuckDuckGo's Smart Glasses Have No Camera, No AI, and No Electronics

https://petapixel.com/2026/08/05/duckduckgos-smart-glasses-have-no-camera-no-ai-and-no-electronics/
2•dxs•4m ago•0 comments

Show HN: I built Readplace on iOS – save links from any "share" button on iPhone

https://apps.apple.com/us/app/readplace/id6777107238
1•fagnerbrack•4m ago•1 comments

Crickets as Pets

https://en.wikipedia.org/wiki/Crickets_as_pets
1•Michelangelo11•5m ago•0 comments

Endlessdoors Is Phoning Home. Pick Up

https://www.vulncheck.com/blog/zbt-endlessdoors
1•speckx•5m ago•0 comments

Starting and iterating on a Kaggle competition in Google Antigravity

https://andlukyane.com/blog/kaggle-antigravity-s6e7
2•Artgor•5m ago•0 comments

'Game of Thrones' George RR Martin speaks out about depression amid book delays

https://www.theguardian.com/books/2026/aug/05/getting-old-is-no-fun-game-of-thrones-author-george...
3•bookofjoe•7m ago•1 comments

FDA makes Lipfendra poster child of CNPV program for first PCSK9 pill

https://www.fiercepharma.com/pharma/fda-makes-lipfendra-poster-child-cnpv-pilot-merck-charts-long...
3•brandonb•8m ago•0 comments

Italy to place all 27 of its major cities on highest heat alert

https://www.theguardian.com/environment/2026/aug/05/italy-heatwave-major-cities-highest-heat-alert
4•ndsipa_pomu•8m ago•0 comments

Email Bulk Sender Requirements (Google/Yahoo /Microsoft) [video]

https://www.youtube.com/watch?v=TRwAO0Td_qA
2•c0nrad•9m ago•0 comments

What's behind the $4B funding cut for California's high-speed rail?

https://www.cbsnews.com/news/california-high-speed-rail-train-procurement-newsom/
2•peter_stokes•9m ago•0 comments

Public Service Decline and the Populist Right: Evidence from England's NHS [pdf]

https://catherinedevries.eu/NHS.pdf
2•pseudalopex•10m ago•0 comments

Five Rust teams adopt LLM rules to protect human code review

https://runtimewire.com/article/rust-teams-adopt-llm-contribution-policy
2•ryanmerket•11m ago•0 comments

Read HN twice a day for the last decade. Here's my list of S-Tier HN links

3•vivzkestrel•11m ago•0 comments

Wordle but small AI mini challanges

https://shorts.bridge-jobs.com/
2•SaazM•11m ago•0 comments

Has the New Cocaine Arrived?

https://www.playboy.com/read/politics/they-say-its-better-than-coke-its-also-more-addictive
2•speckx•12m ago•0 comments

KIDS Act would put Washington in charge of how we can communicate online

https://expression.fire.org/p/the-kids-act-would-put-washington
2•timr•12m ago•0 comments

Show HN: What if one fund held tokenized Gold, tech stocks and digital assets?

https://wealtii.com/funds/wealtii-tech-digital-asset-growth-fund
14•zayd7861•12m ago•0 comments

Show HN: ResizeKit – Browser-only image resizer for developer asset packs

https://resizekit.app
1•mhova•13m ago•0 comments

Google Assistant will disappear from your phone next month

https://www.theverge.com/tech/975516/google-assistant-android-phones-tablets-shutdown
2•Brajeshwar•13m ago•0 comments

Show HN: AgentTerm – open tools to replace the terminal for any coding-agent CLI

https://github.com/albertwujj/agent-term
2•aywu•14m ago•0 comments

Spend More Time Talking to Humans

https://www.honeycomb.io/blog/spend-more-time-talking-to-humans
2•gpi•14m ago•0 comments

The Winners of Trump's A.I. Safety Plan

https://www.nytimes.com/2026/08/05/business/dealbook/winners-trump-ai-policy.html
4•sbulaev•16m ago•0 comments

Moving Forward from Hot Fable Summer

https://alexstamos.com/p/moving-forward-from-hot-fable-summer
2•secalex•16m ago•0 comments
Open in hackernews

Show HN: OpenEvolve – open-source implementation of DeepMind's AlphaEvolve

8•codelion•1y ago
I've built an open-source implementation of Google DeepMind's AlphaEvolve system called OpenEvolve. It's an evolutionary coding agent that uses LLMs to discover and optimize algorithms through iterative evolution.

Try it out: https://github.com/codelion/openevolve

What is this?

OpenEvolve evolves entire codebases (not just single functions) by leveraging an ensemble of LLMs combined with automated evaluation. It follows the evolutionary approach described in the AlphaEvolve paper but is fully open source and configurable.

I built this because I wanted to experiment with evolutionary code generation and see if I could replicate DeepMind's results. The original system successfully improved Google's data centers and found new mathematical algorithms, but no implementation was released.

How it works:

The system has four main components that work together in an evolutionary loop:

1. Program Database: Stores programs and their metrics in a MAP-Elites inspired structure

2. Prompt Sampler: Creates context-rich prompts with past solutions

3. LLM Ensemble: Generates code modifications using multiple models

4. Evaluator Pool: Tests programs and provides feedback metrics

What you can do with it:

- Run existing examples to see evolution in action

- Define your own problems with custom evaluation functions

- Configure LLM backends (works with any OpenAI-compatible API)

- Use multiple LLMs in ensemble for better results

- Optimize algorithms with multiple objectives

Two examples I've replicated from the AlphaEvolve paper:

- Circle Packing: Evolved from simple geometric patterns to sophisticated mathematical optimization, reaching 99.97% of DeepMind's reported results (2.634 vs 2.635 sum of radii for n=26).

- Function Minimization: Transformed a random search into a complete simulated annealing algorithm with cooling schedules and adaptive step sizes.

Technical insights:

- Low latency LLMs are critical for rapid generation cycles

- Best results using Gemini-Flash-2.0-lite + Gemini-Flash-2.0 as the ensemble

- For the circle packing problem, Gemini-Flash-2.0 + Claude-Sonnet-3.7 performed best

- Cerebras AI's API provided the fastest inference speeds

- Two-phase approach (exploration then exploitation) worked best for complex problems

Getting started (takes < 2 minutes)

# Clone and install

git clone https://github.com/codelion/openevolve.git

cd openevolve

pip install -e .

# Run the function minimization example

python openevolve-run.py

examples/function_minimization/initial_program.py \

  examples/function_minimization/evaluator.py \

  --config examples/function_minimization/config.yaml \

  --iterations 50
All you need is Python 3.9+ and an API key for an LLM service. Configuration is done through simple YAML files.

I'll be around to answer questions and discuss!

Comments

codelion•1y ago
I actually managed to replicate the new SOTA for circle packing in unit squares as found in the alphaevole paper - 2.635 for 26 circles in a unit square. Took about 800 iterations to find the best program which itself uses an optimisation phase and running it lead to the optimal packaging in one of its runs.
helsinki•1y ago
How many tokens did it take to generate the 800 versions of the code?
codelion•1y ago
Checked my openrouter stats, it took ~3M tokens but that involved quite a few runs of various experiments.