frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

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

A Convergence of Health Crises Under Robert F. Kennedy Jr. Leadership

https://bluepressjournal.substack.com/p/us-faces-multipronged-public-health
1•WinstonWendell•3m ago•0 comments

FDA panel supports broadening access to peptides popular on the gray market

https://www.npr.org/2026/07/23/nx-s1-5903202/fda-peptides-restrictions
1•andsoitis•4m ago•0 comments

Real Linux for your smartphone: Ubuntu Touch release 24.04-2.0 and 24.04-1.4

https://ubports.com/blog/ubports-news-1/ubuntu-touch-24-04-2-0-and-24-04-1-4-release-4007
1•readyblue•6m ago•1 comments

Messy Jobs: The Work That AI Cannot Reach

https://messyjobs.ai/
1•rafaelc•7m ago•0 comments

The Silurian Hypothesis (2020)

https://www.theparisreview.org/blog/2020/01/23/the-silurian-hypothesis/
2•andsoitis•9m ago•0 comments

Wikiview: Graph-based browsing of Wikipedia images

https://wikiview.net
1•qifzer•13m ago•0 comments

Micron urges White House to reject Apple's blacklist memory plan

https://appleinsider.com/articles/26/07/25/micron-urges-white-house-to-reject-apples-blacklist-me...
1•walterbell•13m ago•0 comments

The AI Productivity Illusion

https://www.hardresetmedia.com/p/the-ai-productivity-illusion
1•quick_brown_fox•14m ago•0 comments

Your Best Work Leaves No Trace: Why We Reward the Fix and Replace the Prevention

https://chrhenning.com/blog/2026/we-reward-the-fix-not-the-prevention/
1•chrhenning•14m ago•0 comments

My web version of Mars MIPS, now have builtin C compiler

https://webmars.nfiles.top/
1•nenepbl•15m ago•1 comments

Stripe in talks to acquire OpenRouter in potential $10B deal, WSJ reports

https://finance.yahoo.com/technology/ai/articles/stripe-talks-acquire-openrouter-potential-215104...
3•nlpnerd•19m ago•3 comments

Reality Bites Elon Musk and His Tesla, SpaceX Believers

https://www.wsj.com/finance/stocks/reality-bites-elon-musk-and-his-tesla-spacex-believers-1b639591
3•1vuio0pswjnm7•20m ago•1 comments

Show HN: Collecte MTL – Montreal waste collection schedules (web and iOS)

https://collectemtl.ca/
2•scastiel•20m ago•0 comments

Show HN: T-Shirt Weather. See the multi-day forecast for any city on a world map

https://tshirtweather.fyi
1•lowkeyokay•20m ago•0 comments

Chinese Discoveries Thru History

https://en.wikipedia.org/wiki/List_of_Chinese_discoveries
1•zoom6628•21m ago•1 comments

Trump administration admits clean energy grants were canceled based on politics

https://www.clickondetroit.com/news/politics/2026/07/25/trump-administration-admits-grants-for-cl...
2•zzzeek•23m ago•0 comments

KFC delivery to Ukraine's front line

https://xcancel.com/antibot/captcha
1•tim333•23m ago•0 comments

A shell colon does nothing. Use it anyway.

https://refp.se/articles/your-shell-and-the-magic-colon
3•olexsmir•24m ago•1 comments

Harddrive Is Probably Full

https://www.marginalia.nu/log/a_139_hdd/
2•ilreb•24m ago•0 comments

Corporate America Has Suddenly Decided to Stop Blowing Money on AI

https://www.wsj.com/business/china-us-ai-model-costs-53a12e96
6•1vuio0pswjnm7•24m ago•1 comments

If another advanced civilization lived on Earth before us, would we know?

https://www.cnn.com/2026/07/25/climate/silurian-hypothesis-another-civilization-before-humans
1•breve•27m ago•0 comments

Codeberg is blocking LLM generated code

https://codeberg.org/Codeberg/org/compare/17bdb39b0c1ecd0e423f3ba592650ce57fcdfbf5..71149c7fc95cc...
2•yofabr•28m ago•0 comments

Show HN: I built sticky notes that connects to Apple Calendar and Reminders

https://www.noticky.app/en
1•leotryhard•30m ago•0 comments

Conversation Is Being Recorded. They All Are

https://www.wsj.com/lifestyle/workplace/ai-recording-apps-wearables-granola-39727559
1•Elefante•30m ago•0 comments

What are you getting paid in? (2024)

https://www.approachwithalacrity.com/p/what-are-you-getting-paid-in
2•Redoubts•35m ago•1 comments

Hans Moravec Was Right About AI. What He Thinks Comes Next

https://nymag.com/intelligencer/article/hans-moravec-interview.html
1•ripe•36m ago•1 comments

Bitchat Is Now on Radicle

https://radicle.network/nodes/rosa.radicle.network/rad%3Az2v9tRJz1oknFAqCSY5W5c76nVvm6
1•h1watt•39m ago•0 comments

The Rust on ESP Book

https://docs.espressif.com/projects/rust/book/
1•AlexeyBrin•42m ago•0 comments

Using government procurement for greener AI

https://datasociety.net/research-library/greening-ai-in-the-public-sector-an-introductory-handboo...
1•shelbel•42m ago•0 comments

wsp: Multi-Repo Workspace Manager

https://github.com/jganoff/wsp
1•nonrecursive•47m ago•0 comments