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

We have no chance against this: Honda reacts to China's supplier strength

https://www.motor1.com/news/792130/honda-reacts-china-supplier-strength/
1•teleforce•11s ago•0 comments

Jellyfin Plugin for VLC Media Player: R/Jellyfin

https://old.reddit.com/r/jellyfin/comments/1sw4bys/jellyfin_plugin_for_vlc_media_player/
1•xbmcuser•12s ago•0 comments

Lawnchair Larry Flight

https://en.wikipedia.org/wiki/Lawnchair_Larry_flight
1•anyonecancode•2m ago•0 comments

GitHub's Outages Since the Microsoft Acquisition

https://old.reddit.com/r/github/comments/1rnvhs9/githubs_historic_downtime_scraped_and_plotted/
2•MrBuddyCasino•2m ago•0 comments

Researchers say we're talking less

https://www.theverge.com/science/918753/researchers-talking-less
1•vednig•3m ago•0 comments

The Demonization of Male Ambition – Lisa Britton

https://lisabritton.substack.com/p/the-demonization-of-male-ambition
1•bilsbie•5m ago•0 comments

Meta buys AWS Graviton Arm cores in a CPU land grab

https://www.servethehome.com/meta-buys-tens-of-millions-of-aws-graviton-arm-cores-in-a-cpu-land-g...
3•teleforce•7m ago•0 comments

The Fall of the Theorem Economy

https://davidbessis.substack.com/p/the-fall-of-the-theorem-economy
2•mathgenius•13m ago•0 comments

Minimal offline Wikipedia with all text, and proper math rendering

https://github.com/ttsiodras/offline-wikipedia-via-slobby-and-mathjax
2•ttsiodras•14m ago•0 comments

Sabastian Sawe Shatters the 2-Hour Barrier at 2026 London Marathon

https://www.letsrun.com/news/2026/04/15930-sabastian-sawe-shatters-the-2-hour-barrier-at-2026-lon...
2•hasheddan•17m ago•0 comments

<hyper-frame> – embed the Internet, no restrictions

https://www.hyper-frame.art/?hit
1•keepamovin•21m ago•0 comments

Ask HN: What to Expect in 2030s?

3•alexander2002•23m ago•2 comments

A populist wave is rising to end the 'captive' repair economy

https://www.cnbc.com/2026/04/25/right-to-repair-consumer-prices-affordability-economy-elections.html
4•pseudolus•28m ago•0 comments

The 'smart wall' the US is building on the border

https://english.elpais.com/usa/2026-04-26/reinforced-walls-and-detection-technology-the-smart-wal...
2•geox•29m ago•0 comments

Ask HN: Has Claude Opus 4.7 nerfed?

2•souravroy78•30m ago•0 comments

Getting Started [with Retro Computing]

https://smallcomputercentral.com/articles/getting-started/
1•AlexeyBrin•30m ago•0 comments

Claude Code Hooks Reference

https://code.claude.com/docs/en/hooks
2•firasd•32m ago•0 comments

Two runners finish marathon in under 2 hours, a world first

https://www.dw.com/en/sawe-smashes-2-hour-mark-setting-record-at-london-marathon/a-76943171
2•keiferski•32m ago•0 comments

1B in, 20B out. Apple stays out of the war

https://alphasense.cc/signals/apple-ai/
1•langtang1996•35m ago•1 comments

Documented source code for The Sentinel on the BBC Micro

https://thesentinel.bbcelite.com
1•jimmcslim•35m ago•1 comments

The Half-Life of a Moat (Part 1)

https://semistructured.substack.com/p/the-half-life-of-a-moat-part-1
1•kmdupree•37m ago•0 comments

A 17th Century astrolabe once owned by Indian royalty heads for auction

https://www.bbc.com/news/articles/c8x7kw9lp8do
1•breve•38m ago•0 comments

Thoughts about Moments in Claude Mythos System Card

https://old.reddit.com/r/BetterOffline/comments/1sgxc77/thoughts_about_strange_moments_in_claude_...
3•kmdupree•39m ago•0 comments

EsoBench: Learning a Novel Esolang via Iterative Execution Feedback

https://caseys-evals.com/esobench
1•kmdupree•40m ago•0 comments

'I know what I saw' – Scotland's history of big cat sightings

https://www.bbc.com/news/articles/cdxk5525792o
1•breve•41m ago•0 comments

This is How We Get Moral A.I. Companies

https://www.nytimes.com/2026/04/26/opinion/ai-company-good-altruism.html
2•trauco•41m ago•0 comments

Trace Codex Session Easily

https://github.com/PixelPaw-Labs/codex-trace
1•ywian•44m ago•0 comments

Show HN: Ctxbrew – Ship and Use LLM-friendly library context

https://github.com/artem-mangilev/ctxbrew
1•mangilev•45m ago•0 comments

Is it worth parallelizing your GitLab/GitHub pipeline? (Not yet another AI post)

https://softwareefficiency.wordpress.com/2026/04/26/is-it-worth-parallelizing-your-gitlab-github-...
1•denshadeds•47m ago•1 comments

Tosijs-UI's new composable icon system

https://loewald.com/blog/2026/4/26/tosijs-icon-system
1•podperson•52m ago•1 comments