frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Neuron – Independent Rust crates for building AI agents

https://secbear.github.io/neuron/
1•secbear•2h ago
The core of every agent framework is the same ReAct loop. It's commodity code. What actually matters is everything around that loop — how you manage context windows, how you pipeline tool execution, how you handle durability and replay. These are hard problems with real design trade-offs, and yet every framework bundles them into one monolith where you buy all of it or none of it.

neuron is the layer below frameworks. It defines trait boundaries — `Provider`, `Tool`, `ContextStrategy` — and ships working implementations of each as independent crates. You get four context compaction strategies without pulling a single provider. You get the Anthropic provider without the tool registry. You get MCP support without the agent loop. The analogy is `serde` and `serde_json`: one crate defines the traits, the others implement them, and you compose what you need.

v0.3 is 12 crates. Three providers (Anthropic, OpenAI, Ollama), composable tool middleware with a `#[neuron_tool]` proc macro, four context compaction strategies, an agent loop with cancellation and parallel tool execution, full MCP support across both stdio and Streamable HTTP, sessions, guardrails with sandboxing and permission policies, and a dedicated OpenTelemetry crate following the GenAI semantic conventions. Rust 2024 edition, native async traits.

Adding a provider is adding a crate. The existing provider crates serve as templates — implement the `Provider` trait from `neuron-types`, wire up streaming, and you have a first-class citizen in the ecosystem. The same goes for context strategies, tool middleware, and session backends. More provider and integration crates are on the roadmap, but the architecture is specifically designed so that you or your agent can add them without waiting on me.

That last point is deliberate. The repo ships with `CLAUDE.md`, `llms.txt`, and architecture docs written to be machine-readable. An LLM agent can pull the codebase, understand the trait boundaries, and start building against them. If you're using Claude Code or similar tools to scaffold new integrations, neuron is optimized for that workflow.

Looking for feedback on the crate boundaries and API surface. The docs site walks through the reasoning behind specific trade-offs — why axum-style middleware instead of tower, why `DurableContext` wraps side effects rather than observing them, why the flat `Message` struct instead of variant-per-role.

Repo: https://github.com/SecBear/neuron Crates: https://crates.io/crates/neuron

Sonic Attack on a Silent Vigil

https://earshotngo.substack.com/p/sonic-attack-on-a-silent-vigil
1•moxifly7•45s ago•0 comments

Re-thinking candidate take-homes in the AI Era: transcripts over code

https://rootly.com/blog/re-thinking-candidates-take-homes-in-the-ai-era-transcripts-over-code
1•jjtang1•1m ago•0 comments

1Password Raising Prices ~33%

3•iamben•3m ago•0 comments

Workaholic open source developers need to take breaks

https://www.theregister.com/2026/02/23/open_source_devs_column/
1•CrankyBear•3m ago•0 comments

Tritone Substitution

https://www.johndcook.com/blog/2026/02/23/tritone-sub/
1•ibobev•5m ago•0 comments

Giant Steps

https://www.johndcook.com/blog/2026/02/23/giant-steps/
1•ibobev•5m ago•0 comments

Formal determination of deidentification under California law

https://www.johndcook.com/blog/2026/02/23/copy-and-paste-law/
1•ibobev•5m ago•0 comments

Takeaways of building an MCP Server for my app

https://tagstack.io/blog/mcp-for-tagstack
1•greatNespresso•5m ago•0 comments

The Double Standard Is Killing AI Adoption in Your Team

https://blog.codeminer42.com/the-double-standard-is-killing-ai-adoption-in-your-team/
1•edigleysson•7m ago•0 comments

Show HN: OpenLingo – Connecting Sonnet 4.6 to a Duolingo-like interface

https://github.com/pretzelai/openlingo
1•ramonga•8m ago•0 comments

Show HN: Lattice – Track what top AI labs are publishing daily

https://www.layerthelatestinalattice.com
1•FlynnLachendro•8m ago•1 comments

Show HN: MasqueradeORM – Memory Efficient Node ORM: Just Write Classes

https://github.com/MasqueradeORM/MasqueradeORM
1•masqueradeorm•9m ago•1 comments

Frontier LLM Leaderboard

https://www.onyx.app/llm-leaderboard
1•RohoSwagger•9m ago•0 comments

Nearby Glasses

https://github.com/yjeanrenaud/yj_nearbyglasses
1•zingerlio•10m ago•0 comments

ICO fines Reddit £14.47M for letting kids slip past the gate

https://www.theregister.com/2026/02/24/ico_fines_reddit/
1•beardyw•11m ago•0 comments

An X-ray of 793 YC startups

https://yc-trends.vercel.app/
1•Krishnaa_•11m ago•1 comments

The Flawed V02 Max Craze

https://erictopol.substack.com/p/the-flawed-v02-max-craze
1•aloukissas•11m ago•0 comments

Quantifying tropical forest rainfall generation

https://www.nature.com/articles/s43247-025-03159-3
1•PaulHoule•13m ago•0 comments

Tactical Prompts for Building AI Systems (Code Architecture, DB Gen, RAG)

https://project-1960fbd1.doanything.app
1•aibuildersdig•14m ago•1 comments

Portraits of Ukrainians on the anniversary of Russia's full-scale invasion

https://apnews.com/photo-essay/ukraine-photo-essay-portraits-anniversary-war-d7bb463924e7cad9cfaa...
1•Betelbuddy•14m ago•0 comments

An Open Fan Differs from Turboprop and How It Beats Turbofans [video]

https://www.youtube.com/watch?v=fT7Zi_xF8Ts
1•JumpCrisscross•14m ago•0 comments

Linux Foundation Announces the Formation of the React Foundation

https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-react-found...
2•Tomte•14m ago•0 comments

I built a governance layer for multi-agent AI coding – lessons after 6 months

1•vincentvandeth•14m ago•0 comments

We built chat-with-data without text-to-SQL

https://inconvo.com/blog/how-we-built-a-chat-with-data-agent-that-doesnt-ai-generate-sql/
1•ogham•15m ago•0 comments

Corporate America's Growing Quest for Tariff Refunds

https://www.nytimes.com/2026/02/24/business/dealbook/fex-tariff-refund.html
1•JumpCrisscross•17m ago•0 comments

1Password pricing increasing 20% in March

13•otterley•17m ago•4 comments

Should Biology Put Complexity First?

https://www.sciencedirect.com/science/article/pii/S2405471225000304
1•onychomys•17m ago•0 comments

SpacetimeDB – Transactions. Zero Bottlenecks

https://spacetimedb.com/home
1•novateg•17m ago•0 comments

Why I Choose Svelte

https://mainmatter.com/blog/2026/02/24/why-choose-svelte/
2•thunderbong•17m ago•0 comments

Why Bluey Doesn't Sound Like a Cartoon with Bluey's Sound Designer [video]

https://www.youtube.com/watch?v=2z6hd2dCv_w
1•abetusk•18m ago•0 comments