Fun with SAM3

Create and activate a virtual environment with uv:
bash
uv venv
source .venv/bin/activate
Export your Hugging Face token that has access to SAM3 model files:
bash
export HF_TOKEN=your_token_here
Install transformers from git:
bash
uv pip install git+https://github.com/huggingface/transformers.git
Run uv sync
Install project dependencies (editable):
bash
uv pip install -e .
uvicorn sam3.ui:app --reloadMost of it was created by gemini 3
$ claude mcp add sam3-playground \
-- python -m otcore.mcp_server <graph>