Skip to main content

KonfAI Studio

KonfAI Studio: the agent authors an MR→CT synthesis run (write_workflow_config → validate → run_train) while the live training feed, multi-run loss curves, and model-output samples stream beside the chat, all local, offline, nothing leaves the machine.

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 (56 today). The build is the web UI + a thin bridge (BFF), plus the ONNX export.

Layout

  • konfai_studio/: the Python package (the BFF)
    • server.py: FastAPI that streams the chat over SSE, serves the front, streams volumes to NiiVue
    • agent.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 build emits into web/)
  • 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.

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

konfai_studio-1.8.0-py3-none-any.whl (7.6 MB view details)

Uploaded Python 3

File details

Details for the file konfai_studio-1.8.0-py3-none-any.whl.

File metadata

  • Download URL: konfai_studio-1.8.0-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

Hashes for konfai_studio-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5da900fafbe8a3765687a562fbb2351a6a5c8db38b26e76b888fb3f8fd53257
MD5 22d10c5f7936fe36b8a004c57c921b3d
BLAKE2b-256 8a2246e578fa7355133afdd199931e7605dac39074f4efceeafb7949d02b01ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for konfai_studio-1.8.0-py3-none-any.whl:

Publisher: publish.yml on fideus-labs/KonfAI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.8.1

1 file

This release

1.8.0 This release

1 file

1.7.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page