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•1y ago

Comments

jweisspxl•1y ago
Pixelagent: Agent Engineering Blueprint https://www.youtube.com/watch?v=BS6PRsnxkBA
SafeDusk•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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

Emergence World: A Laboratory for Evaluating Long-Horizon Agent Autonomy

https://www.emergence.ai/blog/emergence-world-a-laboratory-for-evaluating-long-horizon-agent-auto...
1•Anon84•2m ago•0 comments

Deep Dive into Kubernetes Gateway API

https://www.romaglushko.com/blog/k8s-gateway-api/
2•karakoram•9m ago•0 comments

"At Meta, 90% of my coworkers were Chinese, non-Chinese were routinely excluded"

https://twitter.com/jeremybernier/status/2058243373161722185
3•qwertyuiop_•9m ago•0 comments

Practical Uses of Monads in Haskell

https://nauths.fr/en/2026/05/28/practical-use-of-monads.html
2•karakoram•9m ago•0 comments

Show HN: AionDbB

https://github.com/ayoubnabil/aiondb
3•K9987plus•14m ago•1 comments

Ruby Client for the Model Context Protocol (MCP)

https://github.com/zarpay/manceps
2•mooreds•19m ago•0 comments

Show HN: Web-based wc3 warlocks brawl

https://warlocks.app/
2•razum9•20m ago•0 comments

World Cup Sponsorships: Online Communities Changing the Game

https://graphika.com/posts/world-cup-sponsorships-online-communities-changing-the-game
2•mooreds•20m ago•0 comments

Markdown Tables Generator – Tablesgenerator.com

https://www.tablesgenerator.com/markdown_tables
3•wingmanjd•20m ago•1 comments

US healthcare still stupidly expensive, with pathetic outcomes, study finds

https://arstechnica.com/health/2026/05/us-healthcare-still-stupidly-expensive-with-pathetic-outco...
3•rbanffy•20m ago•1 comments

HarnessKit – Manage skills/MCP/hooks/plugins/memory across all your Agents

https://github.com/RealZST/HarnessKit
3•cyberditto•21m ago•0 comments

New solar desalination breakthrough makes fresh water without toxic brine

https://www.sciencedaily.com/releases/2026/05/260530053418.htm
2•rmason•23m ago•0 comments

ChatGPT for Google Sheets Exfiltrates Workbooks

https://www.promptarmor.com/resources/gpt-for-google-sheets-data-exfiltration
2•hackerBanana•26m ago•0 comments

In northern Ukraine, it was boy vs. Russian drone. The boy won

https://www.washingtonpost.com/world/2026/05/15/russian-drones-hunt-ukrainians-human-safari-boy-f...
7•rmason•28m ago•2 comments

Show HN: GEDD – Find what your AI agent gets wrong (before your users do)

https://github.com/aws-samples/sample-GEDD
2•balasvce19855•30m ago•0 comments

Benchmarking TurboQuant with MLX on Apple Silicon

https://www.youtube.com/watch?v=pRsAr51iTnI
2•tcp_handshaker•33m ago•0 comments

Minecraft YouTubers explain passive investing [video]

https://www.youtube.com/watch?v=NM6tmqJil7I
2•Cider9986•33m ago•0 comments

C is older than my mom

3•alonsovm44•33m ago•3 comments

Patching my guitar amp's firmware

https://mforney.org/blog/2026-05-28-patching-my-guitar-amps-firmware.html
4•birdculture•35m ago•0 comments

Show HN: Missed Connections Site Replacing Craigslist

https://ivmissed.com/SF
2•Loyae•36m ago•0 comments

The Agentic Mesh: Cognitive Automation at Scale

https://blog.owulveryck.info/2026/05/31/the-agentic-mesh-cognitive-automation-at-scale.html
2•owulveryck•36m ago•0 comments

California Academy of Sciences is a world class museum. Here’s how it dies

https://www.sfchronicle.com/opinion/openforum/article/california-academy-sciences-museum-22280835...
3•thebigship•37m ago•0 comments

April in Servo: new Android UI, focus, forms, security fixes, and more

https://servo.org/blog/2026/05/31/april-in-servo/
2•dabinat•38m ago•0 comments

Researchers let AI models run a simulated society

https://fortune.com/2026/05/28/ai-model-simulation-claude-chatgpt-grok-gemini/
3•ilkkao•41m ago•0 comments

Two Kinds of Programs: Closed Worlds and Open Worlds

https://blog.sturdystatistics.com/posts/open_world/
2•kianN•42m ago•0 comments

The Pewdiepie Agent Framework

https://pewdiepie-archdaemon.github.io/odysseus/#features
3•christkv•43m ago•1 comments

After decades on Linux, FreeBSD gave me a reason to switch operating systems

https://www.zdnet.com/article/freebsd-linux-review/
2•rodrigo975•44m ago•1 comments

100 Officers Hunt Down Armed Cop Killer [video][20 mins]

https://www.youtube.com/watch?v=BH4k_jllNks
2•Bender•44m ago•0 comments

Euro-Office Alternative to Microsoft Office and Google Docs, Launches June 9

https://www.zdnet.com/article/euro-office-a-sovereign-cloud-based-office-suite-google-microsoft-a...
5•abdelhousni•49m ago•0 comments

Monal IM 6.4.21 released – open-source Jabber/XMPP client for macOS and iOS

https://monal-im.org/
2•neustradamus•50m ago•0 comments