A VS Code-style chat panel backed by any major LLM provider — with RAG, function-calling skills, streaming responses, and long memory. All inside MedICS.
Bring your own API key or use a local model via Ollama. MedICS normalises all providers to a single interface.
run_in_console
Execute code in the visible Jupyter console
get_workspace_info
List workspace variable names and types
get_current_state
App state: folder, file, theme, extensions
workspace
Read/write workspace variables by name
long_memory
Persist user facts to MEMORY.md
create_skill
Scaffold and install a new agent skill
agent_memory
In-session temporary key-value store
MedICS integrates autogen-agentchat ≥ 0.7.5, enabling multi-agent orchestration, tool-use loops, and autonomous analysis pipelines.
Skills are Python callables exposed to the agent via function-calling. Scaffold a new skill with one command.
# Scaffold a new skill
medics --create-skill my_analysis_skill
from medics.skills import skill
@skill(name="my_analysis", description="Run my custom analysis on the active image.")
def my_analysis(app_context, param: str) -> str:
img = app_context.workspace["image"]
result = do_something(img, param)
return f"Analysis complete: {result}"