frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Pixelagent – Build your Stateful Agent Framework in 200 lines of code

https://github.com/pixeltable/pixelagent
30•pierrebrunelle•11mo ago

Comments

jweisspxl•11mo ago
Pixelagent: Agent Engineering Blueprint https://www.youtube.com/watch?v=BS6PRsnxkBA
SafeDusk•11mo ago
Exciting to see a fellow builder in the space! Love how memory management and observability is built-in.

Today, I just re-implemented Google's AlphaEvolve for Perlin noises using my own minimal agentic framework (https://toolkami.com/alphaevolve-toolkami-style/), will probably steal a trick or two from you.

pierrebrunelle•11mo ago
Congrats! Take whatever you want :)

Yes: Memory, observability, versioning, and lineage being built-in is a derivative of unifying orchestration and storage: https://docs.pixeltable.com/docs/datastore/computed-columns.

bosky101•11mo ago
Your readme doesn't mention any example of multiple agents. We don't need another wrapper to anthropic/openai/*. Without being able to select between multiple tools/agents - you only need 2 lines of code to achieve llm calls, and another 2 lines for state management.

That said the interface is more idiomatic that others agent frameworks that show up here.

It also wasn't clear where the last N messages is being persisted. Db/file/adapters/?

Good luck!

pierrebrunelle•11mo ago
Thanks!

https://github.com/pixeltable/pixelagent/tree/main/examples/... for multiple tools/agents. A tool is just a UDF. You can have as many as you want.

The goal of this reference agent SDK is to showcase the flexibility of Pixeltable (the underlying unified storage and orchestration system) that is Open Source and Apache 2.0.

This is where storage is defined: https://github.com/pixeltable/pixelagent/blob/main/pixelagen.... These are very simple examples.

Here's how an Agentic Reddit bot would work for instance: https://github.com/pixeltable/pixeltable/tree/main/docs/samp...

RamblingCTO•11mo ago
I'll just leave this here: https://github.com/The-Pocket/PocketFlow 100 lines of code agent lib that's not tied to a commercial offering
pierrebrunelle•11mo ago
I like PocketFlow. You beat me on the # of lines of code! But does it provide parallelization, caching, orchestration, versioning, observability, lineage, multi-modal support?

As you just showed, building an agent SDK is easy, so what's interesting to me is tackling:

- Infrastructure Sprawl: Juggling separate systems for vector search, state tracking, multimodal data handling, and monitoring leads to fragmented workflows and high operational costs. - State Management Nightmares: Reliably tracking agent memory, tool calls, and intermediate states across potentially long-running, asynchronous tasks is incredibly difficult. - Multimodal Integration Pain: Integrating and processing images, audio, video, and documents alongside text requires specialized, often disparate, tooling. - Observability Gaps: Understanding why an agent made a decision or failed requires visibility into its state and data lineage, which is often lacking.

And doing all of that while finding the right abstraction layer to leave all the application and business logic to the dev/users so they don't feel limited. It's difficult!

Besides, I don't know where you see a commercial offering? Everything is Apache 2.0/Open Source from A to Z.

RamblingCTO•11mo ago
PocketFlow is not from me, but just my current favorite ;)

I just got the feeling that the lib is tied to pixeltable, but maybe I misunderstood? Maybe that's why this is dead? pocketflow is completely standalone and the main thing is that you vibe code what you need (works awesome so far!).

I don't want to sideline the discussion about pixelagent, but here's some more about pf:

- https://the-pocket.github.io/PocketFlow/design_pattern/multi... (multi agent, queue) - https://github.com/The-Pocket/PocketFlow/tree/main/cookbook/ here are more advanced examples. Pretty easy to follow imho.

PS: re the observability, yesterday I coded tracing for pocketflow, just need to put it up on github haha

esafak•11mo ago
I don't know why Pierre's post is dead, but I wanted to ask if it is accurate to describe Pixelagent as an MCP-compatible memory layer, and what its competitors are.

If memory is the centerpiece, I suggest leading with it, rather than the ambiguous "Your AI Data Infrastructure".

pierrebrunelle•11mo ago
You can indeed turn anything that you want into an MCP server, e.g. https://github.com/pixeltable/pixeltable-mcp-server.

Pixelagent is a reference implementation for a multimodal agent framework to show that an agent class is easy to build and users should be empowered to build their own from scratch for their use cases.

Regarding Memory, to me it's just about Data Storage, Indexing, Orchestration, and Retrieval and I don't know why we should abstract Memory away from users. Memory will mean so many different things for many use cases.

Let's say you want:

- Working memory: Holds current context and immediate interaction history within the agent's context window -> this is just about passing Q&A pairs to maintain context alongside with roles.

- Episodic memory: Stores specific past experiences and interactions -> this is just about indexing past exchanges and having semantic search on it.

- Semantic memory: Organizes specific knowledge in structured formats -> this is just about building a custom logic (udf) to decide how and what to extract insight from and then retrieve it.

I've implemented them all in this example: https://github.com/pixeltable/pixelbot

Show HN: A Collatz conjecture full music generator in 800 lines of C

https://github.com/pumpkin-bit/Flux3n1
1•falkerdev•15s ago•0 comments

Mastodon's flagship server was hit by a DDoS attack

https://techcrunch.com/2026/04/20/mastodon-says-its-flagship-server-was-hit-by-a-ddos-attack/
1•niksmac•35s ago•0 comments

Show HN: Graph-based memory for local LLMs with multi-hop not just vector search

https://github.com/Lumen-Labs/brainapi2
2•Chrisszz•1m ago•0 comments

The Incident Is the Outlier

https://incidentary.com/blog/the-incident-is-the-outlier
1•ahmedmostafa16•1m ago•0 comments

Show HN: Command line tool for viewing files in color

https://soegaard.github.io/peek/
1•soegaard•1m ago•0 comments

Show HN: VibeDrop – an agent-native static host for AI-generated sites

https://vibedrop.cc/blog/agent-native-static-hosting
1•themez•2m ago•0 comments

Vanishing Culture: A New Book on the Loss of Our Digital Memory

https://blog.archive.org/2026/04/23/introducing-vanishing-culture-a-new-book-on-the-loss-of-our-d...
1•salkahfi•2m ago•0 comments

Watermarked LLM Outputs [pdf]

https://proceedings.mlr.press/v202/kirchenbauer23a/kirchenbauer23a.pdf
1•downboots•2m ago•0 comments

Japanese Man Jailed for Posting 'Godzilla' Spoilers Online

https://gizmodo.com/japan-spoilers-trial-godzilla-minus-one-copyright-law-2000749000
1•randycupertino•2m ago•0 comments

Show HN: I'm tracking 197 known exposures of health data from UK Biobank

https://biobank.rocher.lc
1•Cynddl•3m ago•0 comments

Germany unveils strategy for becoming Europe's strongest military by 2039

https://www.defensenews.com/global/europe/2026/04/22/germany-unveils-strategy-for-becoming-europe...
1•ramonga•4m ago•0 comments

Selective Test Execution at Stripe: Fast CI for a 50M-Line Ruby Monorepo

https://stripe.dev/blog/selective-test-execution-at-stripe-fast-ci-for-a-50m-line-ruby-monorepo
1•ains•4m ago•0 comments

Raj Reddy: The Future of AI: Doomers vs. Abundance [video]

https://www.youtube.com/watch?v=ydnOSMbyyQo
1•thelastgallon•4m ago•0 comments

The Disappearance of the Public Bench

https://placesjournal.org/article/the-disappearance-of-the-public-bench/
1•cainxinth•5m ago•0 comments

Bit warden CLI nom package compromised

https://gist.github.com/N3mes1s/9c210b64760390f1ca2c451100a5ec99
1•nitnelave•5m ago•0 comments

Grasp: A simple protocol for decentralized Git

https://gitgrasp.com
1•curtisblaine•7m ago•0 comments

Flipdiscs

https://flipdisc.io
1•skogstokig•7m ago•0 comments

Pitstop – an F1 dashboard with live timing, predictions and a fan feed

https://pitstopf1.xyz
1•ottovoldemar•8m ago•0 comments

Banter is the last thing I want from a coffee machine. Yet here we are

https://www.theguardian.com/lifeandstyle/commentisfree/2026/apr/23/my-old-coffee-machine-was-grea...
1•hansmayer•9m ago•0 comments

Show HN: Agent cache for Valkey, now in Python with bundled LiteLLM pricing

https://pypi.org/project/betterdb-agent-cache/
1•kaliades•9m ago•0 comments

OpenClaw: Opioids for Chinese AI Companies

https://overnightai.substack.com/p/openclaw-is-opioid-for-chinese-ai
1•jackyli02•10m ago•0 comments

SF sets $3.4B price tag for public takeover of PG&E

https://www.nbcbayarea.com/news/local/san-francisco-pge-public-takeover/4072644/
1•kaycebasques•11m ago•0 comments

How the Internet Works

https://www.makingsoftware.com/chapters/how-the-internet-works
2•vismit2000•11m ago•0 comments

What's the Point of Hardbacks?

https://tomrowley.substack.com/p/whats-the-point-of-hardbacks
1•gmays•12m ago•0 comments

I Stumbled Upon Paul Graham's Essays – and Can't Stop Reading

2•xnslx•12m ago•2 comments

Netflix authorizes $25B stock buyback after shares slumped

https://qz.com/netflix-25-billion-share-buyback-stock-repurchase-042326
1•andsoitis•12m ago•0 comments

Lovable denies vulnerability, then blames others for said vulnerability

https://cybernews.com/security/lovable-vibe-coding-flaw-apology/
2•smurda•13m ago•0 comments

Best crypto hardware wallets in 2026

https://blog.alcazarsec.com/posts/best-crypto-hardware-wallets-2026
1•alcazar•17m ago•0 comments

LLM pricing has never made sense

https://anderegg.ca/2026/04/22/llm-pricing-has-never-made-sense
2•Brajeshwar•18m ago•0 comments

Show HN: Envsleuth – catch missing env vars before they reach production

https://github.com/k38f/envsleuth
1•k38f•19m ago•0 comments