KonfAI Studio
A single chatbot (à la ChatGPT / Claude, specialized for medical imaging) that drives
konfai-mcp end to end. A clinician-researcher points it at their own dataset and, from the
conversation alone, onboards data, authors/reuses a model, trains, infers, visualizes results,
compares, keeps & reproduces experiments, then deploys the frozen model privately (on-prem or
100% in the browser). The compute stays on the user's site; nothing is uploaded to a third party.
This is a product surface, not a new engine. Every capability maps 1:1 onto an existing
konfai-mcp tool. The build is the web UI + a thin bridge (BFF), plus the ONNX export.
See it work
Five real sessions on real data. Each video is one continuous take, sped up but never cut.
Train from your dataset
Point Studio at your images and ask in plain words. The agent inspects the dataset, writes and validates the config, and asks before spending GPU time. Training runs with live curves and validation samples, then the held-out cases are predicted, evaluated, and opened in the viewer next to the ground truth.
https://github.com/user-attachments/assets/541ba05d-a4c0-4b20-b51a-1fa134293858
Iterate and steer, live
Launch one more run and steer it while it trains. Change the learning rate mid-run, stop the job when you decide, evaluate the same held-out cases, and compare every run on a leaderboard that flags optimistic numbers.
https://github.com/user-attachments/assets/af68ab7d-c26f-45b5-9fca-1938058a129c
Use a published model
Pick an app from the zoo and run its published weights on your own cases. GPU inference takes seconds per case, the result is scored against your reference mask, and the segmentation opens over its CT in the viewer.
https://github.com/user-attachments/assets/91310a7f-973e-4098-a23d-ef6cab072c00
Fit a challenge task
How KonfAI is used in challenge season. The agent designs a loss shaped for the task's score, writes it as a real PyTorch module, smoke tests it before any GPU hour, and plugs it into the config by classpath. It trains under a time budget, scores the result the way the challenge does, and claims nothing without a fair baseline.
https://github.com/user-attachments/assets/1c5e299e-8321-43f5-bc0e-fc5d0700bfcd
Prepare a whole dataset
The TRANSFORM workflow processes 75 volumes under a 512 MiB memory cap. The plan states, case by case, what will stream in slabs and what simply fits in memory. The whole dataset goes through in about a minute and comes back verified.
https://github.com/user-attachments/assets/b9b4c01f-7bf0-4f61-86f6-5ae8ce784534
Layout
konfai_studio/: the Python package (the BFF)server.py: FastAPI that streams the chat over SSE, serves the front, streams volumes to NiiVueagent.py: the pluggable brain (KONFAI_STUDIO_LLM):claude-code(Claude Agent SDK, default),openai(local vLLM/Ollama or any OpenAI-compatible endpoint),anthropic(Claude API)web/: the built front (index.html+assets/, git-ignored; logos are committed)
frontend/: the React + Vite source (chat panel + NiiVue viewer;npm run buildemits intoweb/)docs/: the spec and the remote-deployment guide
Run
pip install konfai-studio
konfai-studio # -> http://127.0.0.1:8730
The published wheel already ships the built front. The default brain uses your
Claude Code subscription (no API key); konfai-studio[openai] and
konfai-studio[anthropic] add the alternatives. For a local model:
KONFAI_STUDIO_LLM=openai KONFAI_STUDIO_LLM_BASE_URL=http://localhost:11434/v1 KONFAI_STUDIO_MODEL=qwen2.5:14b konfai-studio.
The same choice is in the interface: pick the backend beside the composer and Connect… takes its
server URL and key, stored 0600 under the workspaces root. The environment wins on start-up.
Develop from a checkout
The front is git-ignored, so a checkout has to build it. konfai-mcp comes first:
Studio pins it to its own setuptools_scm version, which only exists on PyPI at a
release tag.
pip install -e ./konfai-mcp # must precede studio: the pin is version-exact
pip install -e ./studio # deps: fastapi, uvicorn, fastmcp, claude-agent-sdk
npm --prefix studio/frontend install # once
npm --prefix studio/frontend run build # builds the front into konfai_studio/web/
Front hot-reload during development: npm --prefix studio/frontend run dev (proxies to the BFF).
See docs/STUDIO_SPEC.md for the design, and
docs/REMOTE.md to serve it beyond loopback.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file konfai_studio-1.8.1-py3-none-any.whl.
File metadata
- Download URL: konfai_studio-1.8.1-py3-none-any.whl
- Upload date:
- Size: 7.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
596f0a9471bf6bbf3aad6ed21faeeef0e4e2f2a287f816c20fbc77dadbb7c73b
|
|
| MD5 |
b63a8ee8227968cb166b943c8a1850b6
|
|
| BLAKE2b-256 |
7362d279e3704e685bb3d375ea1c56997b7d6da0c50d27c06eaac4ab865111a6
|
Provenance
The following attestation bundles were made for konfai_studio-1.8.1-py3-none-any.whl:
Publisher:
publish.yml on fideus-labs/KonfAI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
konfai_studio-1.8.1-py3-none-any.whl -
Subject digest:
596f0a9471bf6bbf3aad6ed21faeeef0e4e2f2a287f816c20fbc77dadbb7c73b - Sigstore transparency entry: 2518869605
- Sigstore integration time:
-
Permalink:
fideus-labs/KonfAI@e73a6af1dec4262129559886c0154a93b7b5beb3 -
Branch / Tag:
refs/tags/v1.8.1 - Owner: https://github.com/fideus-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e73a6af1dec4262129559886c0154a93b7b5beb3 -
Trigger Event:
push
-
Statement type: