Field Station AI™ is a private, in-browser AI workspace for health and behavioral researchers.
Field Station AI™ runs from a single web page, index.html, and never sends chats or data anywhere. Researchers can chat with a local assistant, ask questions about attachments, transcribe audio, classify text, summarize documents, and combine messy spreadsheets without sending study data to a cloud AI service by default. Models and optional knowledge base indexes download the first time they are selected, then run locally from the user's browser cache when available. Chats can be protected with a built-in emoji/numeric PIN pad.
Field Station AI™ is designed for workflows where data may be sensitive or contain PHI. However, depending on the user's institutional policies, cybersecurity and IRB review may still be required before use with regulated data.
Want to try it first? Check out the live demo — it ships with the U-M Health Research Resource Library knowledge base bundled in (works best with Llama or larger models).
Field Station AI™ is a single, dependency-free HTML file — there is no build step, so setup is just a matter of getting hosting that file with a web server and opening it in your browser. Note: you can't just double-click index.html to open it — browsers block AI model downloads for pages opened directly from disk, so it needs to be served over HTTP (localhost is fine). Follow these simple steps to run it:
- Download or clone this repository.
- Serve the folder over HTTP (web server):
- To run locally, double-click the
run-*script for your operating system, or serve the folder in python withpython -m http.server 8010. The run scripts will automatically open your web browser, pointing it to: http://localhost:8010/ - To run on a web server, create a directory in your web root called FieldStationAI, and copy the
index.htmlfile there. Then visit your website and add /FieldStationAI/ at the end of the URL.
- Select a model from the dropdown and wait for it to download and compile. Once a model has been downloaded, you will not have to download it again, even if you close the application or refresh the page.
- Type a prompt, attach a file, or open Field Kit (in the top right) for task-specific tools.
- The knowledge-base (KB) badge next to the model dropdown has three states: Off (no knowledge base — answers come only from the model and any attachments), UMich Health Research Resource Library (answers take into account an index of our knowledge base, bundled in the included
efdc-kb.jsonfile), and External (answers prioritize an optional, custom knowledge base index loaded via the?kb=query parameter). Click the badge at any time to switch between whichever the different KB modes.
Optional: to point the app at your own knowledge base instead of (or in addition to) the bundled one, run python build-kb-index.py <url> to crawl a source site — it writes index.json. Pass it to the app via the ?kb= query parameter, e.g. /FieldStationAI/index.html?kb=index.json; it shows up as "External" in the badge and, if it loads successfully, takes priority over the bundled KB and the models' own answers.
Start here:
- Quick Start
- User Guide
- Field Kit Guide
- Data, Files, Attachments, and Knowledge Bases
- Security, Privacy, PHI, and Accessibility
Deevloper docs:
Full EFDC documentation is available at: EFDC Knowledge Base
For local use:
git clone https://github.com/DepressionCenter/FieldStationAI.git
cd FieldStationAI
run-linux.sh # for Linux, or run-windows.ps1 for Windows, or run-mac.command for Mac
# or alternatively, run with: python -m http.server 8010Then open the local server URL shown (the default is http://localhost:8010/).
For a custom knowledge base:
python build-kb-index.py --url "https://example.org/docs/" --out index.json --max-pages 10000 --delay 0.5Then load:
http://localhost:8010/index.html?kb=index.json
Field Station AI™ is local-first. Data entered into the browser-based app is intended to stay on the user's computer unless the user deliberately points the app to an external or network-accessible destination.
Security expectations for contributors:
- Do not commit PHI, secrets, local data exports, model caches, generated indexes with sensitive content, or generated research outputs.
- Use synthetic examples in documentation and tests.
- Do not claim HIPAA compliance from code behavior alone.
- Review workflows with institutional privacy, IRB, and Information Assurance teams when required.
- If using AI coding agents, point them to
AGENTS.md. Always verify the output and test it before sending a pull request.
Accessibility target for development:
- WCAG 2.1 AA or WCAG 2.2 AA.
- Keyboard-operable controls.
- Visible focus states.
- Labels for form fields.
- Status updates that do not rely on color alone.
- Mobile Technologies Core — the group that develops and maintains Field Station AI.
- EFDC Knowledge Base — documentation site referenced above and used as source content for the app's optional knowledge-base feature.
The Mobile Technologies Core provides investigators across the University of Michigan the support and guidance needed to utilize mobile technologies and digital mental health measures in their studies. Experienced faculty and staff offer hands-on consultative services to researchers throughout the University – regardless of specialty or research focus.
Learn more at: https://depressioncenter.org/mobiletech.
To get in touch, contact the individual developers in the check-in history.
If you need assistance identifying a contact person, email the EFDC's Mobile Technologies Core at: efdc-mobiletech@umich.edu.
Used by Field Station AI™:
- Transformers.js - Runs Hugging Face transformer models (chat, vision, classification, and embedding) directly in the browser, entirely client-side.
- Pyodide - A Python distribution compiled to WebAssembly, used to run pandas-based data-cleaning code locally in the browser sandbox.
- PapaParse - In-browser CSV/delimited-text parsing used when ingesting research data files.
- SheetJS (xlsx) - Reads and writes Excel spreadsheet files entirely client-side.
- PDF.js - Renders and extracts text from PDF documents in the browser.
- Ollama - Optional, locally-run backend the app auto-detects to offer larger language models beyond what runs directly in-browser.
- ZippyServe - A zero-dependency local web server. It lets you test single-page apps quickly. It serves directories, zips, HTML, and Markdown. It provides the run-* scripts to allow starting Field Station AI locally without installing a full web server. DOI: 10.5281/zenodo.21613944.
Used by the knowledge-base crawler:
- Requests - A simple and elegant HTTP library for making web requests in Python.
- Beautiful Soup (bs4) - A Python library for parsing HTML and XML documents.
- Sentence Transformers - A Python framework for generating semantic embeddings and sentence-level vector representations.
- NumPy - A foundational numerical computing library for Python, used for array and vector operations.
- typing_extensions - Backports and extensions for Python typing features to support compatibility across Python versions.
Copyright © 2026 The Regents of the University of Michigan
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/gpl-3.0-standalone.html.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You should have received a copy of the license included in the section entitled "GNU Free Documentation License". If not, see https://www.gnu.org/licenses/fdl-1.3-standalone.html
If you find this repository, code or paper useful for your research, please cite it.
Mongefranco, Gabriel (2026). Field Station AI™. University of Michigan. Software. https://github.com/DepressionCenter/FieldStationAI
DOI: 10.5281/zenodo.21617547
Copyright © 2026 The Regents of the University of Michigan

