Skip to content
Permission-aware document management

One place for every document. One rule for who sees it.

Browse, search, or just ask. One access rule governs all three — and it runs on your servers.

Ingestion
Upload
Loan Agreement.pdf
reading images · no text layer

Model proposes; an administrator confirms

confidential
KhojAI
Himalaya Federal Bank
Rajeev Pandey · Credit Analyst
Clearance confidential · member
33 of 82 documents
Documents
Library
confidential
33 of 82 documents · Credit & Risk
Policy
Credit Policy 2026
internalv3
Credit Memo
Credit Memorandum — Everest Cement
confidentialv1
Guide
Remittance Product Guide
publicv2
Report
Non-Performing Loan Ratio by Quarter
confidentialv1
49 documents in these folders are not shown — above your clearance
Governance
Audit Log
ACCESS_DENIED
above clearance

Every refusal, with its reason

Four classification tiers

public, internal, confidential, restricted

Clearance and grant

your tier sets the ceiling, the grant opens the folder

One access rule

written once, used by the application and the database

Browse, search and ask

the same rule decides all three

The application

Every screen your team works in.

Twelve screens. The menu shows only the ones your role can reach.

Documents

Library

Folders you are cleared to enter. Each document shows its classification.

Discover

Search

Search everything you are cleared to read. You are told how much was held back.

AI Assistant

Ask KhojAI

Ask in plain language. The answer comes only from passages you were shown.

Ingestion

Upload

Every stage runs in the open. A person confirms the proposed classification.

Administrators only

Administration

People & Access

Clearance tiers and folder grants in one place, with the requests a refusal produces.

Administration

Invitations

Invite somebody with a clearance and their grants. No mail relay? The link comes back to you.

Administrators only

Governance

Audit Log

Every read, and every refusal with its reason.

Governance

Answer Records

Every answer leaves a record you can cite.

Governance

Retention

The schedule proposes, a separate person approves. Legal hold outranks both.

Administrators only

Governance

Recertification

Proof that access is still right, folder by folder.

Governance

Attestations

Proof that a policy was read, person by person.

Administration

Settings

Mail and security for the installation. Changes apply on the next request.

System administrators only

Access control

Clearance and grant, checked on every request.

Clearance sets the ceiling. Grants say what sits beneath it. No role overrides either.

  • Written once. The application and the database both use that same rule.
  • It runs inside the search, so documents you cannot see are never candidates.
  • They never reach the AI, so no clever question can talk it into revealing them.
  • Tests run on every change to prove browse, search and ask still agree.
Administration
People & Access
Access matrix · Payroll & Compensation
Rita Shrestha · CEO
not shared with her
restricted
Sita Gautam · HR Manager
granted the folder
restricted
Barsha Subedi · administrator
may grant it · cannot read it
internal

Identical clearance, opposite outcome. Clearance is a ceiling, never a key.

Document ingestion

What happens when you upload a document.

Every stage is shown live, and every stage leaves a record. No overnight batch.

01

Text out of the file

PDF, Word, Excel, PowerPoint, CSV, Markdown, images.

02

Pictures described

A scan with no text is read by a vision model, not skipped.

03

Classification proposed

The model proposes a tier. An administrator confirms it.

04

Indexed the way people actually search

By meaning, keyword, full text and spelling — so wording you half-remember still finds it.

Ingestion
Upload
Splitting into passages
done
Indexing by meaning
done
Indexing by keyword
done
Applying permissions

Revisions stay answerable

Old versions stay searchable but leave everyday results. A revised figure never competes with the one it replaced.

AI Assistant
Ask KhojAI
What is the limit today?
v2 · in force
20%
What was it before?
v1 · superseded
25%
What changed?
computed diff, not a passage
Search and retrieval

Search that finds the paragraph, not just the document.

Meaning, keywords and exact wording, all searched together. Nobody picks a mode.

  • Every statement links to the paragraph it came from.
  • Follow-ups are understood in context, so "and the Trishuli one?" works.
  • You are told how much was held back, never what it was.
  • Text read from a scan says so, and names its page.
Discover
Search
single obligor limit core capital
Credit Policy 2026
Credit & Risk / Policies · §4.2 Single obligor limits · p12
internal
NRB Directive 3/2025 — Single Obligor Limits
Compliance / Circulars · §2 Computation of exposure · p3
internal
3 withheld · 3 above your clearance

Type it with four typos and it still comes back first.

Audit and governance

An audit request becomes a lookup, not an investigation.

Every read, answer and permission change is written down.

Every read, and every refusal with its reason.

  • Reads, downloads, searches, questions, permission changes, emergency access — every kind of event.
  • Nothing is ever edited or removed. People with history are suspended, not deleted.
  • Filter to refusals and "who looked at this" takes seconds.
Audit Log · denials
ACCESS_DENIED
Kiran Magar — AML Compliance Report, above clearance
11:31
BREAK_GLASS
Barsha Subedi — reason recorded · owner notified
08:12
GRANT_LAPSE
external auditor grant ended on schedule
00:01
KhojAI Niyam

Checking the rules is a job of its own.

KhojAI Niyam applies your compliance rules to every record and returns a result per rule.

  • Rules are written as plain sentences by the people who own them.
  • Every result carries the rows it was reached from.
  • Licensed as an add-on, for organisations that need it.

See how KhojAI Niyam works

Niyam
Review queue
Credit file 4,182 · 6 of 6 rules
Exposure within the single obligor limit
EXPOSURE, CAP_BASE — 2 rows · 11.4% of core capital
Security valuation dated within the last 12 months
COLL_MASTER, VALN — 1 row · valued 2024-11-02, 418 days
Beneficial-ownership declaration on file
BENEF_OWNER — 0 rows returned · not read as absent
Insurance assignment recorded against the security
INS_POLICY — 1 row · expiry 2026-09-21

Niyam never closes a record. A person decides.

Deployment

Runs on your infrastructure, with your models.

Each model role points at its own endpoint. Where the thinking happens is a setting.

  • Roles: chat, fast, planner, vision, embedding. vLLM, Ollama, LiteLLM, OpenRouter or your own.
  • Move the answering model in-house first. Changing the index model means a rebuild, and a mismatch is refused.
  • PostgreSQL. Argon2id passwords, and sessions you can revoke instantly.
  • In production it refuses to start rather than run insecurely.

Deployed on your infrastructure. Not a subscription service.

Deployment
Model roles
CHAT
http://gpu-box:8000/v1 · vLLM
in-house
VISION
http://gpu-box:8000/v1 · same endpoint
in-house
EMBED
text-embedding-3-large · 1536 dims
hosted

Each role is set separately. Only the embedding role costs a rebuild.

Common questions

Common questions about KhojAI.

Where the system stands today, answered in plain terms.

Does it do SSO or MFA?
Its own accounts today: hashed passwords, instantly revocable sessions, and an identity checked against the database on every request. Adding OIDC or SAML touches one file.
Can it run as more than one replica?
Yes, on shared S3-compatible storage. Local disk keeps you to one server, because an upload lands on whichever machine served it. Downloads always pass through the application, never a temporary direct link.
How does it handle bulk ingestion?
One at a time, as it arrives, with every stage shown live. Bulk loading needs background processing, and that is next.
Can we change the classification tiers?
Yes. Tiers are configuration, not code. Each has a rank, and no two can share one — "higher than" has to mean something. You start with public, internal, confidential and restricted.
Could someone prompt-inject past the access rule?
The rule holds, and not because the prompt is clever. Your clearance goes into the search query itself, so those documents are never put in front of a model.
What happens when someone leaves or changes department?
Permissions come from group membership, recalculated the moment a grant or folder changes. Someone with audit history is suspended, never deleted.

Bring us a real set of documents.

A working session, not a slide deck. Tell us what your people need to find — and what they must not see.

How access control works

A 45-minute working session · a deployment shape on paper · a pilot against your own documents, under NDA.