# Build a permission-aware knowledge base chat agent with OpenAI and Redis

> Quick overview This workflow loads a document knowledge base into a Redis vector index with metadata, then runs an OpenAI-powered chat agent that answers questions by retrieving only documents the user is permitted to read using Redis metadata filters. How it works 1. Runs manually to generate a sample set of knowledge base documents with access, type, title, and publication-date metadata. 2. Creates embeddings with OpenAI and stores the documents in a Redis Vector Store index with a typed metadata schema for filtering. 3. Triggers when a chat message is received through the public n8n Chat interface. 4. Resolves the requester’s allowed groups (for example, everyone and engineering) and attaches them to the chat session. 5. Uses an OpenAI chat agent with Redis chat memory to answer the question by calling a Redis Vector Store search tool. 6. Searches Redis with a mandatory access filter plus optional agent-supplied filters (document type, title keywords, and published-after date) and r

## Key facts

- **Status**: not probed live yet, checked 2026-12-04
- **A2A conformance**: 60/100 (grade C) — scale at https://agenstry.com/methodology
- **Domain**: `n8n-workflow-23502.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Signed card**: False
- **Streaming**: False

## Use this agent

- Its card declares no JSON-RPC endpoint we can call; see the agent card below.
- **Through Agenstry's MCP server**: `claude mcp add agenstry --transport http https://agenstry.com/mcp`, then ask for `get_agent` with domain `n8n-workflow-23502.n8n.io`.
- **As JSON**: https://agenstry.com/api/agents/n8n-workflow-23502.n8n.io

## Next steps

- **Find similar agents**: https://agenstry.com/agents?q=n8n-workflow-23502.n8n.io&ref=ai_similar
- **Own this agent?** Verify ownership to manage the listing and get alerts: https://agenstry.com/account?ref=ai_claim#verifications
- **Build your own A2A agent** (free, hosted on Agenstry): https://agenstry.com/build?ref=ai_build

## URLs
- Agent card: https://n8n.io/workflows/23502
- Page (HTML, cite this): https://agenstry.com/agents/n8n-workflow-23502.n8n.io
- Documentation: https://n8n.io/workflows/23502
- About Agenstry, for AI assistants: https://agenstry.com/llms.txt
