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

That was Tim, this is Ternus: Some first thoughts on Apple's CEO transition

https://sixcolors.com/post/2026/04/that-was-tim-this-is-ternus-some-first-thoughts-on-apples-ceo-...
1•tambourine_man•2m ago•0 comments

JetBlue Responds to Accusations of Using Surveillance Pricing After Viral Tweet

https://gizmodo.com/jetblue-responds-to-accusations-of-using-surveillance-pricing-after-viral-twe...
1•c420•8m ago•0 comments

OpenSecurityTraining2: Learning Paths

https://www.ost2.fyi/Learning-Paths.html
1•2bluesc•13m ago•0 comments

Giant Mac mini cluster powers Overcast podcast transcripts without the cloud

https://appleinsider.com/articles/26/04/07/giant-mac-mini-cluster-powers-overcast-podcast-transcr...
1•brigham•16m ago•0 comments

Climate Caused the US Civil War

https://unchartedterritories.tomaspueyo.com/p/climate-caused-the-us-civil-war
1•gmays•17m ago•2 comments

Journey to the Heart of the Techno-Barbarism Machine

https://calexandersmith.substack.com/p/in-the-claws-of-the-machine
2•indigodaddy•24m ago•0 comments

How to Make a Fast Dynamic Language Interpreter

https://zef-lang.dev/implementation
8•pizlonator•27m ago•0 comments

Trolling with AI is too much fun(2024)

https://old.reddit.com/r/aiwars/comments/18ovtyp/trolling_with_ai_is_too_much_fun/
1•rolph•30m ago•0 comments

Agentfill – a "polyfill" for complete AGENTS.md support in Claude, etc.

https://agentfill.dev/
1•nevir•31m ago•0 comments

Kimi, Author of the Menard

https://linch.substack.com/p/fine-tuning-borges
1•paulpauper•39m ago•0 comments

Will Price Transparency Cure America's High Healthcare Costs?

https://nicholasdecker.substack.com/p/will-price-transparency-cure-americas
1•paulpauper•39m ago•1 comments

Vibe coding upstart Lovable denies data leak, throws HackerOne under the bus

https://www.theregister.com/2026/04/20/lovable_denies_data_leak/
2•omer_k•40m ago•0 comments

I tried the pixel-flavored Coke, and it Bytes

https://www.theverge.com/23014905/coke-byte-pixel-flavored-soda-review-fortnite-metaverse
2•paulpauper•41m ago•0 comments

Milei's New Order Is Running into Argentina's Old Problems

https://www.wsj.com/world/americas/mileis-radical-new-order-is-running-into-argentinas-old-proble...
1•doener•48m ago•0 comments

Microsoft's GitHub grounds Copilot account sign-ups amid capacity crunch

https://www.theregister.com/2026/04/20/microsofts_github_grounds_copilot_account/
1•omer_k•53m ago•1 comments

A pro-worker experiment in private equity

https://www.npr.org/2026/04/08/nx-s1-5776833/private-equity-pete-stavros-employee-ownership
2•marojejian•57m ago•1 comments

HelloESP: A Website,Hosted on an ESP32

https://helloesp.com/
2•thunderbong•59m ago•0 comments

LLM from scratch (32l) – Interventions: updated instruction fine-tuning results

https://www.gilesthomas.com/2026/04/llm-from-scratch-32l-interventions-instruction-fine-tuning-tests
1•gpjt•1h ago•0 comments

A major US court case could help fix the ills of Citizens United

https://www.theguardian.com/commentisfree/2026/apr/19/citizens-united-super-pacs
3•foolswisdom•1h ago•0 comments

Why doesn't memory work across AI tools?

https://www.ricord.ai
1•hexaclawdevs•1h ago•1 comments

Washington Rewrites the Rules of Funding Technological Innovation

https://www.wsj.com/politics/trump-government-research-funding-changes-0e5317a1
3•petethomas•1h ago•2 comments

Japan warns of increased risk of earthquakes at M8.0 or stronger

https://japantoday.com/category/national/tsunami-warning-as-major-quake-hits-northern-japan-shake...
3•teleforce•1h ago•0 comments

Brad Feld – Two Weeks of Stomping Slop

https://adventuresinclaude.ai/posts/two-weeks-of-stomping-slop
2•rmason•1h ago•0 comments

Myth-Journey Malware Analysis

http://lockboxx.blogspot.com/2026/04/dont-run-this-game-inside-myth-journey.html
1•ahokk•1h ago•0 comments

When Your Digital Life Vanishes

https://www.newyorker.com/magazine/2026/04/27/when-your-digital-life-vanishes
2•stevenwoo•1h ago•2 comments

Taylor series in the Russian civil war era Ukraine

https://elr3to.blogspot.com/2013/04/i-tamm-and-remainder-term-in-taylors.html
3•ganitam•1h ago•1 comments

Material Lab

https://materiallab.ai
1•danjlaury•1h ago•1 comments

Emails show Amazon colluded to raise prices, California authorities allege

https://www.theguardian.com/us-news/ng-interactive/2026/apr/20/amazon-sellers-price-raises-califo...
8•kmfrk•1h ago•1 comments

New Tractor with 12-Valve Cummins and Zero Electronics Goes Back to the Basics

https://www.thedrive.com/news/new-tractor-with-12-valve-cummins-and-zero-electronics-goes-back-to...
10•pkaeding•1h ago•2 comments

Spirit Airlines in Talks with Trump Administration on Government Investment

https://www.wsj.com/business/airlines/struggling-spirit-airlines-in-talks-with-trump-administrati...
4•petethomas•1h ago•0 comments