FFFF GitHub - adeelahmad/lense at 67ea3d3227e1da3cccd91e4eef284c61e828e324 · GitHub
[go: up one dir, main page]

Skip to content
adeelahmadPublic

About

Lens: intelligence for your agent. Safe, secure and cost-effective. Your live data as a cited knowledge graph for agents over MCP and REST, on your own hardware.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Lens

An archive for recorded speech and video. Lens transcribes recordings in batches, recognises speakers by voice within a namespace, extracts people, organisations and topics into a knowledge graph, makes everything searchable, and publishes recordings as IIIF. It also offers an assistant that answers with citations to the exact moment in a recording.

  • Sources: audio and video from watched folders on S3, Dropbox, Google Drive, OneDrive, SFTP, SMB, WebDAV or local disks, plus uploaded or pasted transcripts (txt, md, docx, pdf, srt, vtt, json and more).
  • Processing: transcription (SenseVoice, faster-whisper, mlx-whisper), diarisation and voice IDs, entities, chapters and keywords, LLM summaries and templated outputs, and for video: shots, text on screen and (opt-in) faces.
  • Exploring: full-text search with stemming, a speaker registry with merge and undo, an entity index and graph explorer, collections, batch runs with cost estimates, and chat scoped to what each person may read.
  • Publishing: an embeddable transcript player, static reports, and IIIF Presentation 3 with Content Search, Change Discovery and the Authorization Flow.
  • Multi-user: roles per namespace (viewer, editor, owner), API tokens, share links, and an audit log.

Stack

fastapi_backend/ FastAPI API (/api/v1), the processing engine, and the lens CLI and workers
nextjs-frontend/ Next.js web app with NextAuth (Auth.js v5) and a typed client generated from the API's OpenAPI schema
SurrealDB all data: documents, graph edges, full-text indexes, the job queue

Quick start

make run          # builds once and runs everything (Docker)
make setup-code   # the first-admin setup code

Open http://localhost:3000 and create the first admin with the setup code. For hot reload while working on the code, make dev (the API docs are then at http://localhost:8000/docs); see Get started.

Documentation

Start with Get started, then:

Built on the Next.js FastAPI Template (MIT).

About

Lens: intelligence for your agent. Safe, secure and cost-effective. Your live data as a cited knowledge graph for agents over MCP and REST, on your own hardware.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0