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•10mo ago

Comments

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

Sparkle HDL

https://github.com/Verilean/sparkle
1•smj-edison•1m ago•0 comments

New Apple Silicon M4 and M5 HiDPI Limitation on 4K External Displays

https://smcleod.net/2026/03/new-apple-silicon-m4-m5-hidpi-limitation-on-4k-external-displays/
1•smcleod•9m ago•0 comments

Philly courts will ban all smart eyeglasses starting next week

https://www.inquirer.com/news/philadelphia/smart-glasses-ai-meta-courts-20260326.html
6•Philadelphia•15m ago•0 comments

Convert excel, word to PDF in .NET with just one line of code

https://github.com/mini-software/MiniPdf
2•shps951002•16m ago•0 comments

MLB pitches AI-powered commentary in its play-by-play app

https://blog.google/innovation-and-ai/infrastructure-and-cloud/google-cloud/mlb-scout-insights/
1•y1n0•16m ago•0 comments

SF just broke an 'out of the ordinary' weather record. Now a big shift is coming

https://www.sfgate.com/weather/article/san-francisco-weather-record-22158396.php
4•mikhael•17m ago•0 comments

Acceptance of entomophagy among Canadians at an insectarium

https://www.nature.com/articles/s41598-026-35288-w
2•PaulHoule•21m ago•0 comments

Operators, Not Agents: Engineering Structure Around LLMs

https://chrishiste.substack.com/p/operators-not-agents-engineering
2•chrishiste•22m ago•0 comments

Tierless Web Programming in the Large

https://dl.acm.org/doi/fullHtml/10.1145/3184558.3185953
2•b-man•23m ago•0 comments

Is the Future of AI Local?

https://tombedor.dev/open-source-models/
2•gmays•24m ago•0 comments

How I Run SEO for a Startup Without Engineers or SEO SaaS Tools

https://camelai.com/blog/how-i-automate-seo-with-ai-without-engineers
1•bellareed•25m ago•0 comments

As OpenClaw enthusiasm grips China, schoolkids and retirees raise 'lobsters'

https://www.reuters.com/technology/openclaw-enthusiasm-grips-china-schoolkids-retirees-alike-rais...
1•mooreds•26m ago•0 comments

Why Marriage, for So Many, Is Less Appealing

https://www.nytimes.com/2026/03/29/style/marriage-decline-delay.html
1•mooreds•27m ago•2 comments

William Rankin

https://en.wikipedia.org/wiki/William_Rankin
1•ma-r-s•27m ago•0 comments

How the Navajo Nation is tackling diabetes with a return to its ancestral diet

https://coloradosun.com/2026/03/27/how-the-navajo-nation-is-tackling-diabetes-with-a-return-to-it...
1•mooreds•27m ago•0 comments

Tsunami Stones

https://en.wikipedia.org/wiki/Tsunami_stone
2•beatthatflight•28m ago•0 comments

Batch_forge – A bare-metal Jax/Equinox runner in Rust for Mac

https://github.com/yash27-lab/batch_forge
1•yashtrying•30m ago•0 comments

The hunger for 'content' is keeping us culturally stuck

https://www.ft.com/content/0d963580-eabd-40e2-8805-776893b61cc6
3•petethomas•32m ago•0 comments

You still have to refactor, even with AI

https://www.adamhjk.com/blog/you-still-have-to-refactor-even-with-ai/
1•gpi•33m ago•0 comments

Mars or Wars?

https://i.imgur.com/UXTxD2t.jpg
4•infinitewars•34m ago•2 comments

Neovim Roadmap

https://neovim.io/roadmap/
2•y1n0•37m ago•0 comments

Something unexpected: Sunbathers live longer

https://www.health.harvard.edu/blog/heres-something-unexpected-sunbathers-live-longer-201606069738
9•bilsbie•43m ago•4 comments

Color Game – How Well Can You Remember Colors? – Dialed

https://dialed.gg/?c=UDAKRW
3•tambourine_man•49m ago•0 comments

Ask HN: A Decentralized Proof-of-Aliveness?

4•ray_v•54m ago•0 comments

CraveLab, an app that estimates how "engineered" a food is to keep you eating

https://apps.apple.com/us/app/cravelab/id6760598704
3•cravebuilder•57m ago•0 comments

Using Evidence Platform as CI/CD Security Layer

https://rearmhq.com/blog/2026-03-29-using-evidence-platform-as-cicd-security-layer/
3•taleodor•57m ago•0 comments

DoesItAgeVerify: The age verification status of Open Source Operating Systems

https://github.com/BryanLunduke/DoesItAgeVerify
5•pkaeding•1h ago•0 comments

Is Another Financial Crisis Lurking in Private Credit?

https://www.wsj.com/economy/is-another-financial-crisis-lurking-in-private-credit-cad379b1
7•JumpCrisscross•1h ago•0 comments

Adventures in Cellular Location Services

https://nickvsnetworking.com/somebodys-watching-me-adventures-in-cellular-locating/
3•birdculture•1h ago•0 comments

Infrastructure Has an Entropy Problem

https://www.planetform.io/blog/infrastructure-entropy-problem
3•rtwo_infra•1h ago•1 comments