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

Anthropic tested removing Claude Code from the Pro plan

https://arstechnica.com/ai/2026/04/anthropic-tested-removing-claude-code-from-the-pro-plan/
1•celadevra_•3m ago•0 comments

S&box – Game engine built on Source 2 and .NET from creators of Garry's Mod

https://github.com/Facepunch/sbox-public/
1•vyrotek•8m ago•0 comments

Share X 20.0

https://getsharex.com/changelog#v20.0.0
1•pentagrama•10m ago•0 comments

Habitual coffee intake shapes the microbiome, modifies physiology and cognition

https://www.nature.com/articles/s41467-026-71264-8
4•scubakid•22m ago•0 comments

New Blood CEO Dave Oshry on Indie Strategy: "We Pump New Blood into Old Genres"

https://80.lv/articles/new-blood-ceo-dave-oshry-on-indie-strategy-we-pump-new-blood-into-old-genres
3•doppp•22m ago•0 comments

Shelter Aid

https://apps.apple.com/us/app/shelter-aid/id6762375916
2•starboyy•27m ago•1 comments

Mullvad to add feature that forces all iOS traffic through the VPN tunnel

https://cyberinsider.com/mullvad-to-add-feature-that-forces-all-ios-traffic-through-the-vpn-tunnel/
3•Cider9986•28m ago•1 comments

AI run store in SF can't stop ordering candies and paying women less.

https://sfist.com/2026/04/21/ai-store-manager-paying-female-employees-less-cant-stop-ordering-can...
3•fragmede•29m ago•0 comments

Study shows removing exposure to plastic from our food chain yields quick result

https://www.abc.net.au/news/2026-04-23/plastic-packaging-body-chemicals-study/106594194
1•xbmcuser•31m ago•0 comments

The Surveillance Accountability Act

https://www.surveillanceaccountability.com
2•Cider9986•33m ago•0 comments

French police look at claim of sensor tampering to win weather bets

https://www.theguardian.com/world/2026/apr/23/hairdryer-or-lighter-french-police-look-at-claim-of...
2•geox•33m ago•0 comments

Control Workspace Intelligence for generative AI features [AI defaults on]

https://knowledge.workspace.google.com/admin/gemini/control-workspace-intelligence
1•lancewiggs•36m ago•0 comments

Ask HN: What are the best developer tools built around Markdown?

1•dhruv3006•37m ago•0 comments

Mahjong: A Visual Guide

https://themahjong.guide/
1•iamwil•46m ago•1 comments

DeepSeek V4 is out. the best open-source on coding. here's the breakdown

3•Alisaqqt•46m ago•0 comments

Ada's Technical Books in Seattle will close

https://www.seattletimes.com/entertainment/books/capitol-hill-bookstore-adas-will-close-fuel-coff...
2•so-cal-schemer•48m ago•1 comments

Free API for real-time Australian emergency data (27 feeds, all 8 states)

https://emergencyapi.com
1•JackDemps•49m ago•0 comments

The Toroidal Momentum Engine: A Workable Version of Infinity

https://zenodo.org/records/19572243
4•SCAQTony•49m ago•0 comments

Mini ML Blog

https://mni-ml.github.io/
2•SoulMan•51m ago•0 comments

Nvidia's B200 costs around $6,400 to produce

https://epoch.ai/data-insights/b200-cost-breakdown
3•KnuthIsGod•52m ago•0 comments

Privacy Setup for Android 16 with GrapheneOS

https://xn--gckvb8fzb.com/privacy-setup-for-android-16-with-grapheneos/
2•HotGarbage•53m ago•0 comments

Equity for Europeans

https://lucumr.pocoo.org/2026/4/23/equity-for-europeans/
3•Tomte•53m ago•0 comments

If AI existed in 2011 would we still have the modern web

https://webmatrices.com/post/if-ai-existed-in-2011-would-we-still-have-the-modern-web
1•bishwasbh•58m ago•0 comments

Is possible a language easy as py, fast as C, more secure than Rust?

1•jerryzhang66•59m ago•1 comments

Harnesses Explained: The Inner and Outer Workings of the Coding Agent Harness

https://codagent.beehiiv.com/p/harnesses-explained
3•paulcaplan•1h ago•1 comments

Turn messy chats into structured TODOs and notes automatically

https://noteithub.com
1•pardisapporify•1h ago•0 comments

DeepSeek V4 Flash

https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash
8•S0y•1h ago•0 comments

DeepSeek 4 Launched

https://deepseek4.hk/
9•mariopt•1h ago•4 comments

In Defense of Blub Studies

https://www.benkuhn.net/blub/
2•jonnonz•1h ago•0 comments

Need Help Please

1•activist_mel•1h ago•1 comments