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

UN chief tells Trump 'war is not a game show' after US bombs civilian targets

https://www.independent.co.uk/news/uk/politics/iran-war-trump-un-us-civilians-b2951408.html
1•hkhn•33s ago•0 comments

Thomistic prompt chain jailbreaks Gemini self-recognition-12 steps, no code

https://www.youtube.com/watch?v=IeGkdDygfe4
1•jcamlin•4m ago•0 comments

Void: Video Object and Interaction Deletion

https://arxiv.org/abs/2604.02296
1•jonbaer•5m ago•0 comments

Trump budget seeks $1.5T in defense spending alongside cuts in domestic programs

https://apnews.com/article/trump-2027-annual-budget-congress-defense-f95715d838be17afd9799208cd31...
1•clausewitz•6m ago•0 comments

Native Americans shaped gambling and probability long before the Old World

https://libarts.source.colostate.edu/how-native-americans-shaped-gambling-and-probability/
1•gnabgib•8m ago•0 comments

Show HN: Libgoc – Go-like CSP-style HTTP client/server library for C

https://github.com/divs1210/libgoc/blob/main/HTTP.md
1•divs1210•10m ago•0 comments

Native Americans had dice 12,000 years ago

https://www.nbcnews.com/science/science-news/native-americans-dice-games-probability-study-rcna26...
2•delichon•11m ago•0 comments

Delve removed from YC portfolio website

https://web.archive.org/web/20260301045026/https://www.ycombinator.com/companies/delve
1•cyrusradfar•13m ago•1 comments

Under the Skin of America's Humanoid Robots: Chinese Technology

https://www.wsj.com/tech/under-the-skin-of-americas-humanoid-robots-chinese-technology-27dd4fdf
1•qwikhost•14m ago•0 comments

Chinese chip firms hit record high revenue driven by the AI boom and U.S. curbs

https://www.cnbc.com/2026/04/03/chinese-chip-firms-record-revenue-ai-boom-us-curbs.html
1•qwikhost•16m ago•0 comments

Show HN: Meetrics – Track anything, correlate anything, ask your data questions

https://github.com/sergeybok/meetrics-support/blob/main/BLOG/CANCER.md
1•sergeybok•17m ago•0 comments

How Far Would You Go to Learn from Werner Herzog?

https://www.nytimes.com/2026/04/03/style/werner-herzog-workshop-filmmakers.html
1•inatreecrown2•18m ago•0 comments

Show HN: DotReader – connects ideas across your books automatically

https://dotreader.info
2•efecerre•24m ago•1 comments

Wan2.7-Video Is Launched

https://wan27-video.com
1•Jenny249•32m ago•0 comments

The Sortable interface: Teaching every column type to sort itself

https://axiom.co/blog/sortable-interface
2•sharno•35m ago•0 comments

Chinese National Pleads Guilty in 65M Multinational Fraud Ring Targeting Seniors

https://www.justice.gov/usao-sdca/pr/chinese-national-pleads-guilty-65-million-multinational-frau...
3•737min•35m ago•1 comments

OpenAI Cap Table leak reveals Microsoft's 18x return

https://www.forbes.com/sites/josipamajic/2026/04/02/openai-cap-table-leak-reveals-microsofts-18x-...
4•diehunde•36m ago•0 comments

Silicon Valley Is in a Frenzy over Bots That Build Themselves

https://www.theatlantic.com/technology/2026/04/ai-industry-self-improving-bots/686686/
3•geox•37m ago•0 comments

AI Coding Tools in a Sandbox: Why Your File System Needs Protection

https://holtwick.de/en/blog/bx-sandbox
2•trauco•37m ago•0 comments

Ten Foreign Nationals Charged in an International Op Targeting Crypto Market

https://www.justice.gov/usao-ndca/pr/ten-foreign-nationals-charged-international-operation-target...
2•737min•38m ago•0 comments

The First Pre-Send SImulation AI Swarm Visualization

https://murlyn.ai/
1•dutybird•40m ago•1 comments

Show HN: Docker setup for Headscale (self-hosted Tailscale control server)

https://github.com/hwdsl2/docker-headscale
1•hwdsl2•42m ago•0 comments

Caltech Researchers Claim Compression of High-Fidelity AI Models

https://www.wsj.com/cio-journal/caltech-researchers-claim-radical-compression-of-high-fidelity-ai...
4•gmays•50m ago•0 comments

Wikidata for Developers

https://www.wikidata.org/wiki/Wikidata:For_developers
3•matthberg•55m ago•0 comments

Show HN: SoulForge, graph-powered coding agent CLI that runs headless

https://github.com/ProxySoul/soulforge
3•proxysoul•55m ago•0 comments

Vermin Supreme: When I'm President Everyone Gets a Free Pony [video]

https://www.youtube.com/watch?v=4d_FvgQ1csE
5•nomilk•55m ago•3 comments

A CLI that forces LLMs to defend their answers

https://deepwiki.com/grainulation/wheat
2•volatilityfund•56m ago•0 comments

CBP Facility Codes Sure Seem to Have Leaked via Online Flashcards

https://www.wired.com/story/cbp-facility-codes-sure-seem-to-have-leaked-via-online-flashcards/
4•couchand•57m ago•0 comments

Landdown – Simple sandboxing for shell scripts

https://git.sr.ht/~marcc/landdown
2•birdculture•57m ago•0 comments

Access Advance vs. Avanci Video: How the Streaming Programs Calculate Royalties

https://streaminglearningcenter.com/articles/access-advance-vs-avanci-video-how-the-streaming-pro...
2•breve•58m ago•0 comments