← 返回首页
docs: Add Feast-powered AI agent example with MCP, persistent memory,… · feast-dev/feast@705df00 · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Commit 705df00

Browse files
authored
docs: Add Feast-powered AI agent example with MCP, persistent memory, and blog post (#6253)
* docs: Add Feast-powered AI agent example with MCP and persistent memory Signed-off-by: ntkathole <nikhilkathole2683@gmail.com> * docs: Memory as infra checkpoint Signed-off-by: ntkathole <nikhilkathole2683@gmail.com> --------- Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
1 parent b36acb7 commit 705df00

12 files changed

Lines changed: 2012 additions & 1 deletion

File tree

‎docs/SUMMARY.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
* [Retrieval Augmented Generation (RAG) with Feast](tutorials/rag-with-docling.md)
5656
* [RAG Fine Tuning with Feast and Milvus](../examples/rag-retriever/README.md)
5757
* [MCP - AI Agent Example](../examples/mcp_feature_store/README.md)
58+
* [Feast-Powered AI Agent](../examples/agent_feature_store/README.md)
5859

5960
## How-to Guides
6061

‎docs/getting-started/genai.md‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,17 @@ Implement semantic search by:
8989
2. Converting search queries to embeddings
9090
3. Finding semantically similar documents using vector search
9191

92+
### AI Agents with Context and Memory
93+
94+
Feast can serve as both the **context provider** and **persistent memory layer** for AI agents. Unlike stateless RAG pipelines, agents make autonomous decisions about which tools to call and can write state back to the feature store:
95+
96+
1. **Structured context**: Retrieve customer profiles, account data, and other entity-keyed features
97+
2. **Knowledge retrieval**: Search vector embeddings for relevant documents
98+
3. **Persistent memory**: Store and recall per-entity interaction history (last topic, resolution, preferences) using `write_to_online_store`
99+
4. **Governed access**: All reads and writes are subject to the same RBAC, TTL, and audit policies as any other feature
100+
101+
With MCP enabled, agents built with any framework (LangChain, LlamaIndex, CrewAI, AutoGen, or custom) can discover and call Feast tools dynamically. See the [Feast-Powered AI Agent example](../../examples/agent_feature_store/) and the blog post [Building AI Agents with Feast](https://feast.dev/blog/feast-agents-mcp/) for a complete walkthrough.
102+
92103
### Scaling with Spark Integration
93104

94105
Feast integrates with Apache Spark to enable large-scale processing of unstructured data for GenAI applications:
@@ -167,9 +178,11 @@ The MCP integration uses the `fastapi_mcp` library to automatically transform yo
167178
The fastapi_mcp integration automatically exposes your Feast feature server's FastAPI endpoints as MCP tools. This means AI assistants can:
168179

169180
* **Call `/get-online-features`** to retrieve features from the feature store
181+
* **Call `/retrieve-online-documents`** to perform vector similarity search
182+
* **Call `/write-to-online-store`** to persist agent state (memory, notes, interaction history)
170183
* **Use `/health`** to check server status
171184

172-
For a complete example, see the [MCP Feature Store Example](../../examples/mcp_feature_store/).
185+
For a basic MCP example, see the [MCP Feature Store Example](../../examples/mcp_feature_store/). For a full agent with persistent memory, see the [Feast-Powered AI Agent Example](../../examples/agent_feature_store/).
173186

174187
## Learn More
175188

@@ -181,6 +194,8 @@ For more detailed information and examples:
181194
* [Milvus Quickstart Example](https://github.com/feast-dev/feast/tree/master/examples/rag/milvus-quickstart.ipynb)
182195
* [Feast + Ray: Distributed Processing for RAG Applications](https://feast.dev/blog/feast-ray-distributed-processing/)
183196
* [MCP Feature Store Example](../../examples/mcp_feature_store/)
197+
* [Feast-Powered AI Agent Example (with Memory)](../../examples/agent_feature_store/)
198+
* [Blog: Building AI Agents with Feast](https://feast.dev/blog/feast-agents-mcp/)
184199
* [MCP Feature Server Reference](../reference/feature-servers/mcp-feature-server.md)
185200
* [Spark Data Source](../reference/data-sources/spark.md)
186201
* [Spark Offline Store](../reference/offline-stores/spark.md)

0 commit comments

Comments
 (0)

Footer

© 2026 GitHub, Inc.