K-Dense BYOK

License: MIT Version Skills Workflows Databases Tests X LinkedIn YouTube

Your own AI research assistant, running on your computer, powered by your API keys.

K-Dense BYOK — Kady running an end-to-end single-cell RNA-seq analysis, with the project file browser, a rendered analysis report, and the live chat panel

K-Dense BYOK (Bring Your Own Keys) is a free, open-source app that gives you Kady — an AI research assistant for scientists in any field. Describe a task in plain language — analyze this dataset, review my manuscript, search the literature, build this figure — and Kady works through it in a complete research workspace. It can inspect your files, write and run analysis code, search and read sources, create figures and reports, and keep a living record of what it did.

Three things to know up front:

  • No coding experience required. You describe what you want; Kady writes and runs the code and shows you its progress as it works.
  • Your workspace stays on your computer. Projects, conversations, notebooks, and results live in ordinary folders on your machine; K-Dense does not host or store them. When you use a hosted AI model, the material needed for that request is sent directly to the provider you selected under that provider's privacy terms. Use a local Ollama model when data must not leave your machine.
  • The app is free; you pay only for AI usage. "Bring your own keys" means you connect your own AI account (a single, prepaid OpenRouter account covers every major model — a few dollars goes a long way). Every project tracks its spending, and you can set a hard spending cap. Prefer to pay nothing at all? Run free local models instead.

Beta: K-Dense BYOK is currently in beta. Many features and improvements are on the way. Star us on GitHub to stay in the loop, and follow K-Dense on X, LinkedIn, and YouTube for release notes and tutorials.

Internal benchmark

Internal benchmark comparing K-Dense BYOK with Claude Science and Biomni Lab across scientific quality and research execution

This figure compares K-Dense BYOK, Claude Science, and Biomni Lab across scientific quality and research execution in a 20-prompt benchmark. For these runs, K-Dense BYOK was configured to use Claude Opus 4.8 with the xHigh reasoning level. The benchmark was designed, run, and evaluated internally by K-Dense rather than an independent third party, so the results should be interpreted as an internal evaluation under the tested setup—not as a universal measure of platform performance.

What can it do?

Kady is designed to carry out research work, not only answer questions. You remain the scientist in charge: you can watch each step, inspect the code and files it creates, redirect it while it works, and stop a run at any time.

From a research question to usable results

  • Analyze real datasets. Ask Kady to clean data, check quality, choose and run statistical methods, compare groups, fit models, or generate publication-ready figures. It writes and runs the code inside the project, so the scripts, intermediate files, tables, figures, and reports remain available for inspection and reuse.
  • Review evidence and documents. Kady can search the web and read web pages, PDFs, GitHub repositories, and YouTube videos. It can compare papers, extract methods, audit a manuscript, summarize evidence, or follow links to supporting material. Web search works without an additional account; optional search-provider keys improve capacity.
  • Work with text, data, and images. Type or dictate a request, upload files through the project browser, attach project files to a conversation, or paste/drop images directly into a message for a vision-capable model to inspect.
  • Ask before it assumes. If a study design, comparison, output format, or other requirement is ambiguous, Kady can pause and show a short in-chat question form — including multiple choice, free text, and image input — rather than silently guessing.
  • Keep working while it works. Add up to five follow-up messages to a running conversation, steer the current analysis, or continue in another chat or project.

A scientific toolkit built in

  • 149 scientific skills cover genomics, proteomics, bioinformatics, drug discovery, chemistry, materials science, clinical research, and more. Kady activates the relevant procedures automatically, and you can browse or disable them in Settings.
  • 326 guided workflow templates across 22 disciplines turn common analyses into fill-in-the-blank starting points. Choose a workflow, supply the study details, and launch it into the active chat.
  • 229 scientific and financial data resources across 18 categories give Kady guidance for finding information in biomedical, chemical, scholarly, market, earth-science, climate, and space databases. Some resources require their own free key.
  • 21 scientific specialists can take focused assignments such as statistical review, citation checking, peer review, data analysis, or literature synthesis. Kady can delegate independent work in parallel and combine the findings, or you can call a specialist by name. Learn more.
  • A Living Lab Notebook records the reasoning trail. As Kady and its specialists work, they can log hypotheses, methods, observations, decisions, confidence, code, and linked artifacts. You can connect evidence to hypotheses, pin and comment on entries, add your own notes, view one chat or the whole project, export Markdown/JSON/a bundle with artifacts, print to PDF, and generate a manuscript-style Methods draft. Learn more.

Read and inspect scientific files without leaving the app

  • Preview 60+ scientific formats alongside everyday CSV, PDF, Markdown, image, code, and Jupyter notebook files. View interactive 3D protein and molecular structures, 2D chemical structures, spectra and chromatograms, sequence alignments, phylogenetic trees, single-cell and array data, and DICOM/NIfTI/microscopy images. See the full format list.
  • Edit text and code in place, inspect tables and notebook outputs, annotate images and PDFs, reveal files cited in chat, ask Kady to organize the project folder, and download an individual result, a folder, or the complete project as a ZIP archive.
  • Write papers in LaTeX with a split source/PDF view, automatic compilation, pdfLaTeX/XeLaTeX/LuaLaTeX support, outline and word count, inline errors, autocomplete, spell check, and two-way jumps between source and PDF. AI-assisted edits and compile fixes appear as diffs you can accept or revert.

Run several lines of work at once — and return later

  • Projects are independent research workspaces. Each project has its own files, chats, notebook, model choices, tags, archive state, and spending policy. Several projects can run at the same time, and the project directory shows which ones are running, finished, waiting for your input, blocked, or errored.
  • Use up to 10 parallel chat tabs per project. Each tab has its own conversation, model, thinking level, compute choice, attachments, draft, queue, and cost, while all tabs share the project's files.
  • Refresh without losing your place. Open projects, tabs, drafts, queued messages, panel sizes, open files, and active turns are restored after a browser refresh or browser-tab closure. A live turn reconnects to the same run and continues streaming as long as the Kady backend remains running. Completed conversations stay on disk and can be reopened from Chat history.
  • Arrange the workspace for the task. Resize or collapse the file browser and chat to focus on a figure, report, notebook, or LaTeX document; Kady remembers the layout.

Choose the right model and compute for each task

  • Use major hosted models from OpenAI, Anthropic, Google, xAI, Qwen, and others through one OpenRouter account. Change the model and reasoning level independently in each chat.
  • Run free local models with Ollama when cost or data locality matters. Local models appear in the same model picker.
  • Ask a panel of models with OpenRouter Fusion. A preset can send one question to several models and use a judge model to synthesize their perspectives into one response; the picker shows the combined price and benchmark information.
  • Move demanding computation to Modal. Select an on-demand cloud CPU or single-/multi-GPU environment for a chat. Kady persists and monitors the job, stages validated inputs, brings outputs atomically back into the local project, and reserves estimated compute cost against the project budget. Long jobs survive chat turns and backend restarts and remain controllable from the Compute tab.

Stay in control

  • See cost as work happens. Kady records model, specialist, and Modal compute costs by run and project. Set an optional hard dollar limit on any project; once reached, new paid work is blocked.
  • Watch local resource use. A compact system monitor shows CPU, memory, and GPU activity while analyses are running on your computer.
  • Manage capabilities without editing configuration files. Settings lets you add API keys, enable or disable skills, create or customize specialists, manage Fusion presets, and change appearance. Disabling a capability does not delete it.
  • Connect your existing research tools through MCP, a plug-in standard for AI assistants. Add reference managers, GitHub, databases, and other services, test the connection in the app, and make their tools available to Kady.
  • Your work is stored in ordinary local files. Projects can be backed up, moved, inspected with other software, or archived independently of the app.

Get started in 5 minutes

You need two things:

  1. A computer running macOS, Linux, or Windows 10/11.
    • On Windows, install Node.js 22+ (or winget install OpenJS.NodeJS.LTS) and Git for Windows first — Kady's agent runs its shell commands through the Git Bash that Git for Windows provides. (Prefer a Linux environment? WSL works too.)
  2. An OpenRouter API key — sign up, add a few dollars of credit, and create a key (it looks like sk-or-...). One account gives you every major AI model; no separate OpenAI/Anthropic/Google accounts needed. Or skip this entirely and use free local models.

Open a terminal (on a Mac: press Cmd+Space, type "Terminal", press Enter) and run these four lines:

git clone https://github.com/K-Dense-AI/k-dense-byok.git
cd k-dense-byok
cp .env.example .env    # then paste your OpenRouter key into the new .env file
./start.sh

On Windows (press Win, type "PowerShell" or "Terminal", press Enter):

git clone https://github.com/K-Dense-AI/k-dense-byok.git
cd k-dense-byok
copy .env.example .env    # then paste your OpenRouter key into the new .env file
.\start.cmd

In plain terms: the first two lines download the app and step into its folder; the third creates a small settings file where you paste your key (open .env with any text editor); the last starts the app.

The first start installs everything automatically (it takes a few minutes); then your browser opens to http://localhost:3000 — that address is your own computer, not a website. Press Ctrl+C in the terminal to stop the app. You can also add or change API keys anytime from the in-app Settings — no restart needed.

That's it. Create a project, drop in your data, and ask Kady for what you want — for example: "Run a differential expression analysis on counts.csv comparing treated vs control, and plot a volcano plot."

➡️ Step-by-step details, optional API keys, and troubleshooting: Installation guide ➡️ Your first session and everyday features: Basic usage

Documentation

All guides live in the docs/ folder:

Guide What it covers
Installation Full setup walkthrough, optional API keys, updating, troubleshooting
Basic usage First session, chat tabs, files, workflows, databases, costs, tips
File previews Every scientific format Kady can render — structures, spectra, imaging, arrays, and more
Living Lab Notebook Real-time record of Kady's work — structured entries, export, and PDF
Sub-agents Kady's team of 21 scientific specialists and how to customize them
Connecting external tools (MCP) Give Kady extra abilities like GitHub, reference managers, and databases
Local models with Ollama Run everything on free local models, no API keys required
Model selection How Kady builds the OpenRouter model list
OpenRouter Fusion Multi-model deliberation presets — what they are and how the integration works
Architecture How the two local services fit together (for the technically curious)
Contributing workflows Add new workflow templates to the library
Known limitations Rough edges to be aware of in the current beta

Want more?

K-Dense BYOK is great for getting started, but if you want end-to-end research workflows with managed infrastructure, team collaboration, and no setup required, check out K-Dense Web — our full platform built for professional and academic research teams.

Issues, bugs, or feature requests

If you run into a problem or have an idea for something new, please open a GitHub issue — a free GitHub account is all you need. We read every one.

About K-Dense

K-Dense BYOK is open source because K-Dense believes in giving back to the community that makes this kind of work possible.

Star history

Star History Chart