frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Pixelagent – Build your Stateful Agent Framework in 200 lines of code

https://github.com/pixeltable/pixelagent
30•pierrebrunelle•1mo ago

Comments

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

Show HN: MailTion – AI-Powered Email Marketing for Businesses

https://mailtion-waitlist.vercel.app
1•jawwadjamiu•43s ago•0 comments

Ask HN: How to combine work, entrepreneurship and having a life

1•Nadssat•2m ago•0 comments

The Rise and Fall of the Knowledge Worker

https://jacobin.com/2025/07/knowledge-workers-ai-globalization-deindustrialization/
1•chobeat•3m ago•0 comments

Upwork Suspended My Account Without Reason

1•kerimn•7m ago•0 comments

Zuck Races to Build Godlike AI, Women and People of Color Aren't Invited

https://gizmodo.com/as-zuck-races-to-build-godlike-ai-women-and-people-of-color-arent-invited-2000628303
5•Bluestein•7m ago•0 comments

Why U.S. Geothermal May Advance, Despite Political Headwinds

https://e360.yale.edu/features/united-states-geothermal-republican-spending-bill
1•jbotz•7m ago•0 comments

Superpowers are real–these people are living proof

https://www.nationalgeographic.com/science/article/superpowers-real-human-abilities-genetics
5•Bluestein•8m ago•0 comments

Show HN: Sage-AI – AI-Powered Writing Assistant

https://sage-ai-waitlist.vercel.app
1•jawwadjamiu•9m ago•0 comments

Ask HN: What are some non-standard ways to reduce the size of executable files?

1•FerkiHN•12m ago•0 comments

Show HN: A simple old school news website

https://news.unixpods.dev
1•dd_xplore•15m ago•0 comments

Better Software Conference (Casey Muratori on OOP)

https://www.twitch.tv/bettersoftwareconference
2•creikey•21m ago•0 comments

Show HN: Free YouTube Tag Generator to Improve Video SEO

1•rahulbstomar•30m ago•0 comments

Building a Distributed Cache for S3

https://clickhouse.com/blog/building-a-distributed-cache-for-s3
1•subset•30m ago•0 comments

Bad Actors Are Grooming LLMs to Produce Falsehoods

https://americansunlight.substack.com/cp/168074209
3•nsoonhui•35m ago•0 comments

The Open Source AI Definition 1.0

https://opensource.org/ai
2•doener•37m ago•0 comments

Leave Russia

https://leave-russia.org/
7•austinallegro•42m ago•0 comments

Invisible Text

1•alizefeeney•53m ago•0 comments

Jonathan Blow – Jai Demo and Design Explanation

3•gethly•53m ago•0 comments

Separation of storage and compute without a performance tradeoff

https://neon.com/blog/separation-of-storage-and-compute-perf
1•davidgomes•1h ago•0 comments

Development in Progress

https://consilienceproject.org/development-in-progress/
1•arunkd13•1h ago•0 comments

Damn Small Link Forwarder (DSLF) – rust based bit.ly replacement

https://github.com/vpetersson/dslf
2•mvip•1h ago•0 comments

Systemd's Nuts and Bolts – A Visual Guide to Systemd

https://medium.com/@sebastiancarlos/systemds-nuts-and-bolts-0ae7995e45d3
2•ssernikk•1h ago•1 comments

Attended Windsurf's Build Night 18 hours before founders joined Google DeepMind

1•schwentkerr•1h ago•0 comments

Malware Found in Official GravityForms Plugin Indicating Supply Chain Breach

https://patchstack.com/articles/critical-malware-found-in-gravityforms-official-plugin-site/
3•taubek•1h ago•0 comments

Google Glass Wasn't a Failure. It Raised Crucial Concerns

https://www.wired.com/story/google-glass-reasonable-expectation-of-privacy/
8•Bluestein•1h ago•0 comments

Milgram shock-study imaginal replication: how far do you think you would go?

https://link.springer.com/article/10.1007/s12144-025-07962-1?
3•XzetaU8•1h ago•0 comments

One California worker dead, hundreds arrested after cannabis farm raid

https://www.reuters.com/legal/government/one-california-worker-dead-hundreds-arrested-after-cannabis-farm-raid-2025-07-11/
3•perihelions•1h ago•0 comments

Science Fiction, the Future, and Now: Some Mid-Life Reflections

https://fafnir.journal.fi/article/view/156305/101846
4•jruohonen•1h ago•1 comments

Show HN: XUtil – 40+ fast, privacy-friendly developer tools (no ads, no fluff)

https://xutil.in
3•RohitPModani•1h ago•0 comments

Longevity Might Be All in Your Head

https://nautil.us/longevity-might-be-all-in-your-head-1223517/
2•XzetaU8•1h ago•0 comments