Zedd-KBAn AI that knows who's asking.
A company knowledge base whose AI answers only from what each person is cleared to see.
- Status
- Archived · 2025
- Built for
- Permit.io AI Access Control Challenge
- Built in
- 5 days · May 2025
- Platforms
- Web · API
- Built with
- Python · FastAPI · Pinecone
1 / 3
cat why.md
Why it exists
Point an AI at a company's documents and it will happily repeat anything to anyone. Zedd-KB adds the missing question: who is asking? Documents carry security levels, people carry roles, and the assistant answers only from what that person is allowed to read.
Answers by clearance
Every document is tagged with a security level, and the assistant draws only on files the asker is cleared for.
Bring your documents
Upload PDF, Word, Markdown, text or CSV files and they are split into searchable pieces automatically.
Rules outside the code
Each sensitive action is checked against Permit.io policies that can change without redeploying the app.
ls screens/
In use
cat BUILD.md
How it's built
~/work/zedd-kb/BUILD.md
- A FastAPI backend with a Streamlit interface.
- Documents are chunked, embedded with Gemini and stored in Pinecone, with LangChain assembling the retrieval pipeline.
- Accounts live in MongoDB, and every upload, chat and admin call asks Permit.io for a decision first. It was built in five days, 1 to 5 May 2025.
# stack
- Python
- FastAPI
- Streamlit
- LangChain
- Gemini
- Pinecone
- MongoDB
- Permit.io