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

Making UIs like text adventure games

https://en.andros.dev/blog/b5ba872a/making-uis-like-text-adventure-games/
1•ibobev•36s ago•0 comments

Building a Hamiltonian Path Puzzle

https://www.4rknova.com//blog/2026/04/24/number-trail
1•ibobev•55s ago•0 comments

Microsoft to Stop Sharing Revenue with Main AI Partner OpenAI

https://www.bloomberg.com/news/articles/2026-04-27/microsoft-to-stop-sharing-revenue-with-main-ai...
1•helsinkiandrew•1m ago•1 comments

Show HN: News metadata dataset for media bias research

https://www.kaggle.com/datasets/neutralnewsai/nnai-news-metadata-dataset-7k
1•MarcellLunczer•3m ago•0 comments

Fructose malabsorption increases anxiety in male human and animal models

https://www.sciencedirect.com/science/article/abs/pii/S0889159125004635
1•geox•4m ago•0 comments

Crypto scam lures ships into Strait of Hormuz, falsely promising safe passage

https://arstechnica.com/security/2026/04/crypto-scam-lures-ships-into-strait-of-hormuz-falsely-pr...
2•rbanffy•5m ago•0 comments

The next phase of the Microsoft-OpenAI partnership

https://blogs.microsoft.com/blog/2026/04/27/the-next-phase-of-the-microsoft-openai-partnership/
2•mfiguiere•7m ago•0 comments

In Memoriam: Car Hoare – Communications of the ACM

https://cacm.acm.org/news/in-memoriam-c-a-r-hoare/
1•furcyd•7m ago•0 comments

Atlas, A desktop command hub for juggling many local Git repos

1•amrebada•7m ago•0 comments

Otterwiki – minimalistic wiki powered by Python, Markdown and Git

https://otterwiki.com/
1•amai•7m ago•0 comments

CIA ran MK-Ultra experiments on prisoners of war declassified docs confirm

https://theintercept.com/2026/04/26/mk-ultra-korean-war-prisoner-experiments/
1•Teever•8m ago•0 comments

Show HN: DAG-chat – DAG-based AI chat app with branch and merge

https://github.com/ZM-BAD/DAG-chat
1•zm_bad•9m ago•0 comments

Swissing a Table

https://philpearl.github.io/post/swissing_a_table/
1•birdculture•9m ago•0 comments

Silicon Valley has forgotten what normal people want

https://www.theverge.com/tldr/915176/nft-metaverse-ai-weirdos
3•robtherobber•10m ago•0 comments

We Are (Still) Living in the Long Boring

https://freddiedeboer.substack.com/p/we-are-still-living-in-the-long-boring
1•flail•11m ago•0 comments

Bohrdom (Game by Cole Allen)

https://store.steampowered.com/app/945530/Bohrdom/
1•nonfamous•11m ago•0 comments

OpenAI CEO Apologizes for Not Flagging Mass Shooting Suspect to Police

https://www.wsj.com/us-news/law/openai-ceo-apologizes-for-not-flagging-mass-shooting-suspect-to-p...
1•fortran77•12m ago•1 comments

Tim Cook Is Leaving. Good

https://routerjockey.com/tim-cook-is-leaving-good/
2•tonhe•12m ago•1 comments

AI Chatbots: Last Week Tonight with John Oliver [video]

https://www.youtube.com/watch?v=Ykvf3MunGf8
2•cdrnsf•14m ago•0 comments

Tokenmaxxing and the search for AI metrics that matter

https://leaddev.com/ai/tokenmaxxing-and-the-search-for-ai-metrics-that-matter
2•tonkkatonka•16m ago•1 comments

OpenAI shakes up partnership with Microsoft, capping revenue share

https://www.cnbc.com/2026/04/27/openai-microsoft-partnership-revenue-cap.html
2•mfiguiere•16m ago•0 comments

Ubuntu Linux Will Begin Landing AI Features Throughout the Next Year

https://www.phoronix.com/news/Ubuntu-AI-Features-2026
4•goldenarm•16m ago•3 comments

A bank robber's cellphone gave him away. Now the case is at the Supreme Court

https://apnews.com/article/supreme-court-geofence-warrants-unreasonable-searches-constitution-a61...
2•smurda•17m ago•0 comments

Running Local LLMs Offline on a Ten-Hour Flight

https://deploy.live/blog/running-local-llms-offline-on-a-ten-hour-flight/
2•darccio•17m ago•0 comments

Super Zsnes

https://www.youtube.com/watch?v=r5twUkvYFpA
2•thomond•17m ago•0 comments

Show HN: I ported OmniAID image detection model to Apple's Neural Engine

https://apps.apple.com/us/app/slop-or-not-ai-fake-detector/id6744578596
3•woadwarrior01•20m ago•0 comments

Derek Sivers: Why I gave my company to a charitable trust

https://sive.rs/wds
1•theorchid•22m ago•0 comments

Ralph Wiggum with Session Usage Limits

https://github.com/chrisdail/ralph-simple-smart
1•chrisdail•23m ago•0 comments

Show HN: Local RAG Pipeline with Weaviate and Ollama

https://www.storyblok.com/mp/how-to-build-a-rag-pipeline-with-weaviate-and-ollama
1•edodusi•24m ago•0 comments

Why Retrieval-Augmented Generation Still Gets Meaning Wrong [pdf]

https://github.com/therealitydrift/semantic-fidelity-lab/blob/main/03_Research_and_Papers/SFL_Fai...
1•scaledsystems•25m ago•0 comments