AIDA#

AIDA (AI Data Assistant) is a local scientific agent workbench: a chat agent with file, script, MCP, knowledge-base and workflow tools, used at APS beamlines 12-ID/9-ID. Install it with pip install aida-workbench[gui]; run it as aida (command line) or aida-gui (desktop app).

Status: 1.1.3. In daily use at APS beamlines 12-ID/9-ID. Config formats and CLI commands are stable: from here, a breaking change to either means a new major version, and every change is dated in the Changelog. See TODO.md for what is still open.

Start here

New to AIDA? Start with Installation, then Providers and secrets, then Workspaces. That’s enough to have a working chat session. The rest are opt-in features you can add as you need them.

Task-oriented setup and configuration guides, one page per subsystem. Each covers both the CLI and GUI way to configure that subsystem — most things in AIDA can be done either way. For the design rationale behind a subsystem (why it works this way), see PLAN.md; for fully commented example config files, see examples/config/.

Page

What you’ll set up there

Installation

Install AIDA, run aida doctor, understand the ~/.aida/ layout

AIDA in ten boxes — concepts, and three setups that actually do something

The ideas behind a workspace, and three setups that actually do something

GUI overview

A spatial tour of the desktop app — what’s where

Providers and secrets

LLM/embedding provider profiles (Ollama, OpenAI, Claude, ANL Argo), API keys in the OS keychain

Workspaces

Named workspaces: source/target folders, which profile/MCP servers/skills a workspace uses

Skills

Skills: single-file and folder skills, how they get switched on, shipping scripts with a skill

Safety and permissions

What AIDA is allowed to read/write/run without asking, and what always asks

MCP servers

Adding MCP servers (pyIrena, bait_mcp, web search, …), groups, per-tool permissions

Context window and limits

The model’s context window, what fills it, compaction, and the fullness indicator

Organizing conversations

User/project labels, sidebar filtering, and {user} paths

Attached documents and figures

Attachment storage and cleanup, figure tools, and scanned PDFs read by a vision model

Coding and scripting

Letting the agent run Python/shell commands, code templates, the Code Editor

Knowledge bases (RAG)

RAG: indexing your own documents so the agent can search them

pyIrena and AIDA

Using AIDA with pyIrena: one-click MCP setup, and sharing an environment between the two packages

Bernardyn and AIDA

Using AIDA with Bernardyn: one-click MCP setup for its five publication-figure tools

Axis cameras in AIDA (axis-cam-mcp)

Axis network camera stills via axis-cam-mcp: build it, test on macOS, deploy to the beamline machine

Automation: aida run, workflows, and schedules

Headless aida run, stored named workflows, and the in-app scheduler (Phase 10)

Moving and sharing a setup

Exporting your setup to another machine or a colleague, and importing one

Not implemented yet#

So you don’t go looking for them: OS-level scheduler installers (launchd/Task Scheduler/systemd) were deliberately deferred in favor of the in-app scheduler — see Workflows. Remote (HTTP) MCP servers, voice input/output, and an alternative web frontend are parked ideas, not planned work. See PLAN.md.