Use a table pipeline as a reusable function
Convert a table with computed columns into a callable function for multi-agent workflows and pipeline composition.
Create an AI agent that remembers important information across conversations.
Agents · Notebook · Updated
Colab runs it in your browser. If it calls a model provider, it asks for that provider's API key in a cell.
This pattern is inspired by Pixelbot and Pixelmemory.
pip install pixeltable openai
OPENAI_API_KEYopenai.chat_completions()pxt.create_table()@pxt.query@pxt.udfadd_embedding_index()similarity()insert()add_computed_column()# Add embedding index for semantic search on contentmemories.add_embedding_index(column='content',string_embed=embeddings.using(model='text-embedding-3-small'),)
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Convert a table with computed columns into a callable function for multi-agent workflows and pipeline composition.
Create lookup functions that query tables by key—for customer records, product catalogs, or financial data.
Enable LLMs to call functions and tools, then execute the results automatically.
Build the six architectural patterns of agentic AI (prompt chaining, routing, parallelization, tool use, evaluator-optimizer, orchestrator-worker) and the ReAct and planning strategies as Pixeltable tables and computed columns.