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

Multi merge sort, or when optimizations aren't

https://nibblestew.blogspot.com/2026/04/multi-merge-sort-or-when-optimizations.html
1•ingve•1m ago•0 comments

Hacker News Daily Audio Digest for Commuters

https://code2cast.com/org/hackernews/podcasts/hn-daily-digest
1•willbrazil•2m ago•1 comments

Printed neurons communicate with living brain cells

https://news.northwestern.edu/stories/2026/4/printed-neurons-communicate-with-living-brain-cells
1•robbomacrae•4m ago•0 comments

I collect first sale stories from founders

https://firstsalestories.com
1•jyriso•4m ago•0 comments

There Are Three Aardvarks (2024)

https://freakytrigger.co.uk/wedge/2024/02/there-are-three-aardvarks
1•wise_blood•6m ago•0 comments

Alchemy and Machinery: What Apple's Steve Jobs Can Teach Pronatalists

https://www.governance.fyi/p/alchemy-and-machinery-what-apples
1•guardianbob•7m ago•0 comments

How Silicon Valley Is Turning Scientists into Exploited Gig Workers

https://www.thenation.com/article/society/ai-silicon-valley-andreesen-thiel-stem/
1•ZunarJ5•9m ago•0 comments

Content vs. Curation

https://bayinformationsystems.substack.com/p/content-is-dead-the-curation-inversion
1•anax32•9m ago•0 comments

P-e-n-i-s Costume Protester Prevails in Court

https://www.courthousenews.com/penis-costume-protester-prevails-in-court/
2•ludicrousdispla•11m ago•0 comments

Ego Turns Good Engineers into Bad Teammates

https://shiftmag.dev/developers-your-ego-is-the-real-bug-in-the-system-7657/
3•choochilla4•11m ago•0 comments

Jar of NIST peanut butter for $2,050

https://www.sigmaaldrich.com/US/en/product/sial/nist2387
1•wglass•13m ago•0 comments

Let's talk about AI slop in open source

https://archestra.ai/blog/only-responsible-ai
2•motakuk•13m ago•0 comments

How (and why) we rewrote our production C++ front end infrastructure in Rust

https://blog.nearlyfreespeech.net/2026/04/17/how-and-why-we-rewrote-our-production-c-frontend-inf...
1•mjyut•15m ago•0 comments

Name in Landsat

https://science.nasa.gov/mission/landsat/outreach/your-name-in-landsat/
1•tzury•15m ago•0 comments

Cycles of disruption in the tech industry: with Kent Beck and Martin Fowler

https://newsletter.pragmaticengineer.com/p/cycles-of-disruption-in-the-tech
1•taubek•22m ago•0 comments

How to write to /dev/rdiskX without root: a look at macOS authopen

https://tech.dreamleaves.org/posts/how-to-write-to-dev-rdiskx-without-root-a-look-at-macos-authopen/
1•joshguthrie•26m ago•0 comments

I Got Tired of Shipping in Silence, So I Built DopaAI

https://www.indiehackers.com/post/i-got-tired-of-shipping-in-silence-so-i-built-dopaai-cec5e3f2ea
1•gingfuu__•27m ago•0 comments

Robbers hold 25 hostage at Naples bank before fleeing through hole in floor

https://www.theguardian.com/world/2026/apr/16/armed-robbers-hostages-naples-bank-flee-hole-floor-...
2•Coral-Tiny•32m ago•0 comments

Agents make you insanely productive, except if you are knowledge worker

https://mrprompty.com/
2•ViktorPetrov•33m ago•1 comments

A History of Teapots and Unix

https://discuss.systems/@thalia/116417242648384997
1•signa11•36m ago•0 comments

Qwen3.6 35B A3B is THE ONE The Local LLM Champ on OpenCode benchmark dashboard [video]

https://www.youtube.com/watch?v=vlo5cxH5CXM
1•grigio•37m ago•0 comments

DockLock Pro – Stop macOS Dock from Jumping Screens

https://docklockpro.com/
1•usui•42m ago•0 comments

OpenAI's GPT-5.4 Pro reportedly solves an open Erdős problem in two hours

https://the-decoder.com/openais-gpt-5-4-pro-reportedly-solves-a-longstanding-open-erdos-math-prob...
2•voisin•43m ago•0 comments

Wikipedia: AI or Not Quiz

https://en.wikipedia.org/wiki/Wikipedia:AI_or_not_quiz
1•alibarber•45m ago•0 comments

ReSyn: A Generalized Recursive Regular Expression Synthesis Framework

https://arxiv.org/abs/2603.24624
1•PaulHoule•45m ago•0 comments

2-day-old GitHub account added AI-generated dependency to Mailgen (2.5k stars)

https://github.com/eladnava/mailgen/pull/86
3•foray1010•48m ago•3 comments

Anti-Amyloid Antibodies for Alzheimer: You Know

https://www.science.org/content/blog-post/anti-amyloid-antibodies-alzheimer-you-already-know
3•u1hcw9nx•53m ago•1 comments

Tesla is facing up to $14.5B in lawsuits – and it's only getting worse

https://electrek.co/2026/04/16/tesla-facing-up-to-14-billion-lawsuits-deep-dive/
6•breve•56m ago•1 comments

The Feeling of Power – Isaac Asimov

https://hex.ooo/library/power.html
3•MSFT_Edging•57m ago•3 comments

Floating Point Fun on Cortex-M Processors

https://danielmangum.com/posts/floating-point-cortex-m/
2•hasheddan•58m ago•0 comments