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

Fermi.gg – Daily game based on the "Fermi estimation" technique

https://fermi.gg
1•epaga•1m ago•0 comments

Everything Feels Fake – Here's Why: The Power Elite Playbook [video]

https://www.youtube.com/watch?v=P33-rjgOXzg
1•enemyz0r•6m ago•0 comments

How to Unslop a Commit?

1•blackbit•10m ago•0 comments

Plain Text Sports

https://plaintextsports.com/
1•tosh•11m ago•0 comments

ProductFight – Productfight.lol

2•thegeekybaniya•11m ago•0 comments

Ask HN: What do your agents do?

1•exyo•11m ago•0 comments

New wild cat species discovered – with only one known living member

https://www.bbc.com/news/articles/c6x2zgv9rr4ro
1•drgo•12m ago•0 comments

The Filename`IBHashImageName` Breaks iOS[video]

https://www.youtube.com/watch?v=Dt4o7hz0B60
1•sharma-arjun•15m ago•0 comments

The Front Page of the Internet Is Up for Grabs

https://idiallo.com/byte-size/the-front-page-of-the-internet
1•garo-pro•15m ago•0 comments

VIPR RNA-guided DNA recognition by noncontiguous geometric triplex formation

https://www.science.org/doi/10.1126/science.aei3472
1•gone35•16m ago•0 comments

Cloudron 10 – A decade of self-hosting

https://blog.cloudron.io/cloudron-10-a-decade-of-self-hosting/
2•gramakri2•19m ago•0 comments

Why Beyond Just RAG?

https://medium.com/@NikoZero11/your-rag-pipeline-doesnt-need-more-retrieval-it-needs-better-decis...
1•Savanjj•20m ago•0 comments

She's Leaving Me Because I Never Called Her Beautiful

https://etechx.co.ke/shes-leaving-me-because-i-never-called-her-beautiful
1•jameszx•20m ago•0 comments

Sometimes, It Takes Too Long Before the Sun Rises

https://etechx.co.ke/sometimes-it-takes-too-long-before-the-sun-rises
1•jameszx•20m ago•0 comments

Open Source / ClosedSource / ClaudeSource?

1•mtnielsendk•25m ago•0 comments

Jev vs. Luna for AI Observability

https://fatliverfreddy.substack.com/p/a-different-kind-of-model-for-ai
1•fatliverfreddy•26m ago•0 comments

The Making of Roger Scruton

https://firstthings.com/the-making-of-roger-scruton/
1•prismatic•26m ago•0 comments

Asking Authors About Their Own Papers (TMLR)

https://medium.com/@TmlrOrg/asking-authors-about-their-own-papers-3d2e04e5dee0
1•u1hcw9nx•29m ago•1 comments

Running Doom on Linux inside TinyEmu inside Docker inside WASM inside Electron

https://deepclause.substack.com/p/running-doom-on-risk-v-linux-inside
1•schmuhblaster•29m ago•0 comments

OpenTelemetry everywhere: Migrating a metrics platform at scale

https://www.cncf.io/blog/2026/09/17/opentelemetry-everywhere-migrating-a-metrics-platform-at-scale/
1•iamsyr•33m ago•0 comments

Former Labour deputy leader Tom Watson joins Palantir

https://www.theguardian.com/politics/2026/sep/18/former-labour-deputy-leader-tom-watson-joins-pal...
2•edward•33m ago•0 comments

Free Unlimited AI Text to Speech – No Sign Up

https://www.aitexttospeech.net/
2•wsm123456•36m ago•0 comments

P2panda – Building blocks for P2P apps

https://p2panda.org/
2•Ey7NFZ3P0nzAe•37m ago•1 comments

Zcode-silent-workspace-snapshot-upload

https://blog.ferstar.org/posts/zcode-silent-workspace-snapshot-upload/
1•xiebaiyuan•37m ago•0 comments

The More It Says, the More You Pay: A Black-Box Audit of Token Inflation in LLM

https://arxiv.org/abs/2609.20370
1•sbulaev•38m ago•0 comments

Here’s How an OpenAI Model Went Rogue and Hacked Hugging Face

https://www.hacktron.ai/blog/here-is-how-openai-model-hacked-huggingface
1•aeroscissorz1•38m ago•0 comments

I made a stupid simple app that charges me real money if I give up on focusing

https://quitcost.com/
1•pekingzcc•41m ago•0 comments

LLMs respond differently to harmful prompts when AI watermarking is used

https://arstechnica.com/security/2026/09/ai-text-watermarking-can-make-models-more-vulnerable-to-...
1•joozio•42m ago•0 comments

Smart devices can testify against you: How data from robots is used in court

https://www.the-independent.com/tech/robot-vacuum-fitbit-smart-device-data-trial-b3052060.html
1•Markoff•44m ago•0 comments

GPT-6 Astra solves 1918 ciphertext message from WW1

https://twitter.com/deredleritt3r/status/2100608983492862201
3•punnerud•45m ago•0 comments