Skip to content
Logo RIS-KI
Code
Application
Inhouse
Start 2025
AI
MIT
Logo RIS-KI
Code
Application
Inhouse
Start 2025
AI
MIT

RIS-KI is the AI search of the Munich Ratsinformationssystem (RIS). It supplements the existing keyword search at riski.muenchen.de with a semantic, agent-based search over council motions, resolutions and committee documents.


Instead of a single retrieval call, an agent based on LangGraph plans the answer in several steps: it selects tools, reformulates the question, retrieves the most relevant documents by semantic search (retrieval augmented generation), re-checks each document for relevance with justifications and only then generates an answer. Documents and motions found are displayed separately, so results remain verifiable. If no relevant documents remain, the agent proposes alternative formulations of the search.

The document base is collected from the OPARL-structured RIS interface, processed by OCR (document extraction) and stored as embeddings in PostgreSQL with the pgvector extension. The agent communication with the chat frontend follows the AG-UI open protocol. RIS-KI is currently in a public beta.

Technical details ​

  • Backend: FastAPI service in Python with a LangGraph agent and Langfuse for tracing and prompt management.
  • Data pipeline: extractor for the RIS documents and a processing pipeline communicating via Kafka.
  • Storage: PostgreSQL database with the official pgvector container image for embeddings; Redis caches agent state.
  • Frontend: Vue chat UI streaming agent behaviour to the user.

More information: https://ki.muenchen.de/ki-systeme/riski