Autonomous Lab
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_WEB_HOST | No | Bind address for the monitoring web UI. Default is auto-detected (`0.0.0.0` if SSH/container, else `127.0.0.1`). | |
| MCP_WEB_PORT | No | Web UI port. Defaults to `8765`. | 8765 |
| OPENAI_API_KEY | No | API key for the optional pay-per-token `openai` provider. | |
| ANTHROPIC_API_KEY | No | API key for the optional pay-per-token `anthropic` provider. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lab_meetingA | Pause briefly between lab turns to show the monitoring UI and collect optional feedback. This opens/refreshes the game-style lab monitoring UI in the browser. It pauses for a short period (default 15s) during which the user can optionally type feedback through the lab UI's feedback panel. Call this after EVERY autolab_record call during normal lab turns. LOOP PROTOCOL (normal turns): autolab_next -> (act as role) -> autolab_record -> lab_meeting -> autolab_next -> ... DO NOT use this for editorial submission waits. Use autolab_editorial instead. After this tool returns, ALWAYS call autolab_next to continue. NEVER stop the loop. |
| get_system_infoC | 獲取系統環境資訊 |
| autolab_initA | Initialize an Autonomous Lab project. Creates .autolab/ directory with state, profiles, and meeting log. Creates paper/ directory with LaTeX template. Creates working directories: data/, scripts/, figures/, results/. Opens the game-style monitoring UI in the browser. If an existing project is found, returns a warning and suggests calling autolab_resume instead. Set force_new=True to overwrite. |
| autolab_resumeA | Resume an interrupted Autonomous Lab session. Call this when the AI agent was disconnected, the process crashed, or a new conversation is started for an existing project. This tool:
After this returns, follow the MANDATORY NEXT STEPS to re-enter the loop. |
| autolab_nextB | Get the next role prompt for the Autonomous Lab session. Reads the current state to determine whose turn it is (PI or Trainee), assembles context (idea, profiles, meeting history, file listings), and returns a detailed role prompt. The AI should then follow the returned prompt exactly, acting as the specified role (PI or Trainee). MANDATORY LOOP PROTOCOL — the lab NEVER stops: |
| autolab_recordA | Record a completed turn. Non-blocking — updates state and returns immediately. The monitoring UI (opened by autolab_init) auto-refreshes to show progress. User feedback is optional and picked up in the next autolab_next call. This tool:
Call this AFTER completing your role actions (as PI or Trainee). CRITICAL LOOP PROTOCOL — you MUST follow the MANDATORY NEXT STEPS in the return message:
|
| autolab_consultA | Invite a domain expert for a one-time consultation during a PI turn. The PI can call this to get advice from a specialist on a specific topic. The AI should then role-play as that expert and provide their insight, then continue the PI turn normally. This does NOT interrupt the loop — it's a synchronous consultation within the current PI turn. The expert appears in the monitoring UI sidebar. |
| autolab_recruitA | Recruit characters for the project team. Called by PI during the recruiting phase (iteration 0). Searches marketplace for matching characters, clones them, and initiates skill learning for missing skills. |
| autolab_skill_statusB | Return current skill certification status for all characters. |
| autolab_citeA | Look up, search, and validate citations using CrossRef API. This tool ensures that ALL citations in the paper are real, verified papers with correct metadata. Use it for:
CRITICAL RULE FOR CITATIONS:
|
| autolab_editorialA | Wait for the Editor (user) to act on the submitted manuscript. Call this in two scenarios:
This tool BLOCKS until the editor acts OR the configured timeout expires (default 30 min, configurable via editor_timeout_minutes in config.yaml, set to 0 to wait forever). When timeout expires, returns an AI Editor prompt — you must then act as editor and call autolab_editor_act. |
| autolab_editor_actA | Execute an editorial decision made by the AI editor (after timeout). Called by the AI after autolab_editorial returns an AI-editor prompt due to the human editor not responding within the configured timeout. Actions:
Returns instructions to continue the loop. |
| autolab_statusB | Get the current status of an Autonomous Lab project. Returns the current state, file listings, paper progress, and a summary of recent meetings. |
| autolab_tools_statusA | Check whether the ToolUniverse SDK is installed and available. ToolUniverse provides 1000+ scientific tools (ML models, datasets, APIs, analysis packages) from https://aiscientist.tools. Returns JSON with: installed (bool), version, enabled, api_url. |
| autolab_tools_installA | Install the ToolUniverse SDK (one-time setup). Installs the tooluniverse Python package for local tool execution. Without it, tools still work via the HTTP API at aiscientist.tools. |
| autolab_tools_configureB | Configure ToolUniverse for this project. Saves settings to .autolab/tools_config.json. |
| autolab_tools_searchA | Search ToolUniverse for scientific tools matching a query. Searches the catalog of 1000+ scientific tools including ML models, datasets, APIs, and analysis packages. Works with local SDK or via the HTTP API at aiscientist.tools. Use this to discover tools during research planning or when the PI/Trainee needs specialized capabilities. |
| autolab_create_characterA | Create a character profile for the Autonomous Lab research team. A character is a YAML persona backed by Cursor agent skills that controls how the AI behaves during research sessions. Characters can be:
Each character is a self-contained folder with this structure: Use list_skills=True or list_avatars=True to discover options first. Workflow:
|
| autolab_acquire_skillA | Search the character marketplace for a skill and acquire it. When the PI or Trainee encounters a skill gap during the loop, call this tool BEFORE attempting to build it from scratch. It checks the published character registry for any character that already has the needed skill. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 19 tools
Most tools map to distinct lifecycle stages (init, resume, next, record, editorial, editor_act) and their descriptions explicitly disambiguate near-neighbors like lab_meeting vs autolab_editorial. Some residual overlap exists: autolab_record vs lab_meeting both fire every turn, and the character/skill cluster (recruit, create_character, acquire_skill, skill_status) plus three separate 'status' tools require careful reading to choose correctly.
The dominant pattern is a clean autolab_ verb_noun snake_case convention, applied consistently across the loop, editorial, tools, and character groups. Two outliers break it: get_system_info (no prefix) and lab_meeting (different prefix), though both remain readable and unambiguous.
19 tools sit at the upper end but are justified by covering five genuinely distinct sub-domains (loop control, editorial workflow, ToolUniverse integration, citation management, character/skill management). A few could arguably be consolidated — the four autolab_tools_* calls and the three status calls could collapse — but nothing is clearly redundant.
The core research loop is fully covered end-to-end (init, resume, next, record, meeting, consult, recruit, cite, editorial, editor_act), with no dead ends in the main workflow. Minor gaps remain: no project cleanup/delete or reset beyond force_new, no character listing/publishing tool despite create_character advertising GitHub publication, and no explicit ToolUniverse tool-execution call.