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

Comments

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

How Trump Decided to Go to War

https://www.nytimes.com/2026/03/02/us/politics/trump-war-iran-israel.html
1•jbegley•17s ago•0 comments

Show HN: PEP 827 – TS-like type manipulation in Python

https://peps.python.org/pep-0827/
1•1st1•38s ago•0 comments

How would a AI first company will manage costs after the AI Bubble bursts?

1•not_that_d•1m ago•0 comments

Ask HN: Do current events scare you?

1•general_reveal•1m ago•0 comments

Hacktivists claim to have hacked Homeland Security to release ICE contract data

https://techcrunch.com/2026/03/02/hacktivists-claim-to-have-hacked-homeland-security-to-release-i...
1•WaitWaitWha•1m ago•0 comments

All claims of extraterrestrial life must pass these 7 hurdles

https://bigthink.com/starts-with-a-bang/claims-extraterrestrial-life-7-hurdles/
1•PaulHoule•2m ago•0 comments

Dr. StrangeClaw or: how I learned to stop worrying and love the AI

https://www.chrisfarris.com/post/dr_strangeclaw/
1•Corrado•2m ago•0 comments

Cartly: An iOS Receipt Tracking Demo Built on Mnexium

1•Mnexium•2m ago•0 comments

Show HN: Memgraph-agent – NER+PageRank memory for AI agents, $0 LLM cost

https://github.com/yangyihe0305-droid/memgraph-agent
1•yangyihe0305•3m ago•0 comments

Show HN: Know Your SMD Footprints

https://www.pikkoloassembly.com/footprints/
1•pikkoloassembly•3m ago•0 comments

Microgpt Lab

https://ko-microgpt.vercel.app/
1•tmsln•4m ago•0 comments

On-Policy Prediction with Approximation

https://chizkidd.github.io//2026/02/27/rl-sutton-barto-notes-ch009/
1•ibobev•4m ago•0 comments

What Crystals Older Than the Sun Reveal About the Start of the Solar System

https://www.quantamagazine.org/what-crystals-older-than-the-sun-reveal-about-the-start-of-the-sol...
1•ibobev•4m ago•0 comments

Show HN: 58% cost by replacing file reads with a dependency graph on AI Coding

1•nicola_alessi•5m ago•1 comments

What makes a game tick? Part 9 – Data Driven Multi-Threading Scheduler

https://mropert.github.io/2026/02/27/making_games_tick_part9/
1•ibobev•5m ago•0 comments

Completing the formal proof of higher-dimensional sphere packing

https://www.math.inc/sphere-packing
1•salkahfi•5m ago•0 comments

Show HN: license checker for npm projects

https://github.com/Chrilleweb/licop
3•chrillemn•6m ago•0 comments

Treasury terminates Anthropic AI use after Trump's order

https://www.axios.com/2026/03/02/treasury-trump-ai-anthropic-pentagon
4•biffles•8m ago•0 comments

Show HN: Gapless.js – gapless web audio playback

https://github.com/RelistenNet/gapless.js
1•switz•8m ago•0 comments

Go is the best language for agents

https://getbruin.com/blog/go-is-the-best-language-for-agents/
5•karakanb•8m ago•0 comments

KGet 1.6.0

https://github.com/davimf721/kget
2•Ghoulmf7221•8m ago•1 comments

"Poisoned Wells," the largest study of website blocking in India to date

https://twitter.com/Squeal/status/2028317140605100499
3•madmanweb•8m ago•1 comments

In The Pentagon Battle with Anthropic, We All Lose

https://www.thefp.com/p/in-the-pentagon-battle-with-anthropic
3•speckx•9m ago•0 comments

"That Shape Had None" – A Horror of Substrate Independence (Short Fiction)

https://starlightconvenience.net/#that-shape-had-none
2•casmalia•11m ago•0 comments

Anonymous Credentials: An Illustrated Primer

https://blog.cryptographyengineering.com/2026/03/02/anonymous-credentials-an-illustrated-primer/
2•sedatk•12m ago•0 comments

Show HN: Smart-commit-rs – A zero-dependency Git commit tool in Rust

https://github.com/gtkacz/smart-commit-rs
1•gtkacz•13m ago•0 comments

Ask HN: Self Sustaining Codebases

1•rs545837•13m ago•0 comments

Home of Astrophotography

https://app.astrobin.com/
2•manulins•14m ago•0 comments

Show HN: Ccbridge – A CLI to Orchestrate Claude Code and Codex

https://github.com/marko3190/ccbridge
1•marko3190•15m ago•0 comments

Show HN: War.direct – Real-time conflict intelligence dashboard for the Iran war

https://war.direct
1•Urbaneye•15m ago•0 comments