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

Everything that happens in a US airport is under duress

1•dfps•35s ago•0 comments

The world sunshine map – 3,833 flyable destinations

https://thesunshinemap.com/
1•Flightmussy•40s ago•0 comments

Elevators

https://john.fun/elevators
2•Jrh0203•2m ago•0 comments

AI Everywhere, Regulation Nowhere? Two Years of AI Policy in the UK

https://read.misalignedmag.com/ai-everywhere-regulation-nowhere-two-years-of-ai-policy-in-the-uk-...
2•lcubw•2m ago•1 comments

I built a f.lux alternative because the M5 Max firmware broke existing solutions

https://driftformac.app/
1•jackvanstone•2m ago•1 comments

Massively Parallel Postgres Backups

https://planetscale.com/blog/massively-parallel-postgres-backups
1•ksec•2m ago•0 comments

VAX/VMS 5.5 now runs in browser

http://vax.3dl.network/machines/dec/vax/ka655/
1•baron3dl•3m ago•1 comments

A second pair of eyes for electrical schematic review

https://bvcircuits.com/
1•MidavEE•3m ago•1 comments

Joint guidance on minimum elements for a software bill of materials

https://www.cyber.gc.ca/en/news-events/joint-guidance-minimum-elements-software-bill-materials
1•jruohonen•5m ago•0 comments

Proof of Impossibility

https://en.wikipedia.org/wiki/Proof_of_impossibility
1•num42•6m ago•0 comments

Scroll Mask Tailwind CSS Utilities

https://twilson.net/scroll-mask
1•eustoria•7m ago•0 comments

NodePass – Universal TCP/UDP Tunneling Solution

https://nodepass.eu/
1•eustoria•8m ago•0 comments

AFS II: Please Stop Invocating Kiss and DRY

https://devz.cl/posts/acronym-fatigue-series-dry-kiss-yagni/
1•DanielVZ•9m ago•0 comments

How to Read Mathematics? – A study guide [pdf]

https://web.mathi.uni-heidelberg.de/media/How_To_Read_Math_88bf1d2d47.pdf
4•gregorburger•9m ago•0 comments

Accept Your Fate. Don't Wear Shorts to the Office

https://www.nytimes.com/2026/07/30/opinion/office-shorts-men.html
2•anonu•9m ago•0 comments

Cursed Plugins

https://github.com/Factory-AI/cursed-plugins
1•bbor•9m ago•0 comments

SNARKs and Zero Knowledge Technology Course

https://www.youtube.com/playlist?list=PLnD_TI73e88eNr-4y4tst8FveDJxiGMQg
1•shayanbahal•11m ago•0 comments

NPM Implements Pre-Publication Malware Scanning, but Will It Work?

https://opensourcemalware.com/blog/npm-prepublication-malware-scanning
1•jruohonen•12m ago•0 comments

Ask HN: When a post of yours does well, do you know why?

1•john_builds•12m ago•1 comments

JetBrains warns of critical TeamCity remote code execution flaw

https://www.bleepingcomputer.com/news/security/jetbrains-warns-of-critical-teamcity-remote-code-e...
2•Brajeshwar•12m ago•0 comments

Anthropic and OpenAI are competing to see whose agents can go rogue harder

https://www.theregister.com/security/2026/07/31/anthropic-and-openai-are-competing-to-see-whose-a...
3•joebuckwilliams•13m ago•0 comments

Tesla Weighs China Unit Sale Ahead of SpaceX Deal

https://www.bloomberg.com/news/articles/2026-07-31/tesla-weighs-china-unit-sale-ahead-of-spacex-d...
2•chollida1•14m ago•0 comments

Show HN: Axioma – Stream and data compression engine for low-bandwidth links

https://github.com/axmstandart1-beep/axioma/tree/main
1•abbasov_murad•16m ago•0 comments

A big win for Android interoperability

https://www.openhomefoundation.org/blog/a-big-win-for-android-interoperability/
2•soheilpro•18m ago•0 comments

The most official water costs $120k a gallon

https://signoregalilei.com/2026/07/26/the-most-official-water-costs-120000-a-gallon/
2•surprisetalk•19m ago•0 comments

From Sketch to Steel: The Isometric to Iron Organic Hoodie Story

https://ddsboston.com/blogs/news/from-sketch-to-steel-the-isometric-to-iron-organic-hoodie-story
1•robert_dds•19m ago•0 comments

PyTorch Multi-Process Inference Weight Sharing via Inter-Process Communication

https://leimao.github.io/blog/PyTorch-IPC-Multi-Process-Inference-Weight-Sharing/
1•eigenBasis•21m ago•0 comments

Defrag Incremental on Steam

https://store.steampowered.com/app/4286660/Defrag_Incremental/
1•ohjeez•21m ago•0 comments

Show HN: I built a cross-browser extension that controls fingerprinting surfaces

https://privacything.com/en/
3•tomaszjanusz•21m ago•0 comments

16-bit Serial Homebrew CPU – 2023

https://www.jiristepanovsky.cz/project.php?p=23cpu
1•num42•22m ago•0 comments