AI Infra Agent
curl -fsSL http://47.115.175.134/mscode/install.sh | bashOptional overrides:
# Force one source instead of auto-probing.
MSCODE_INSTALL_SOURCE=github curl -fsSL http://47.115.175.134/mscode/install.sh | bash
MSCODE_INSTALL_SOURCE=mirror curl -fsSL http://47.115.175.134/mscode/install.sh | bash
# Override the mirror base URL if you host your own Caddy/Nginx mirror.
MSCODE_MIRROR_BASE_URL=http://47.115.175.134/mscode/releases curl -fsSL http://47.115.175.134/mscode/install.sh | bashcurl -fsSL https://raw.githubusercontent.com/vigo999/mindspore-code/main/scripts/install.sh | bashRequires Go 1.24.2+.
git clone https://github.com/vigo999/mindspore-code.git
cd mindspore-code
go build -o mscode ./cmd/mscode
./mscode# Set your LLM API key
export MSCODE_API_KEY=sk-...
# Run
mscodeexport MSCODE_PROVIDER=openai-completion
export MSCODE_API_KEY=sk-...
export MSCODE_MODEL=gpt-4o-mini
./mscodeIf you specifically want the Responses API path, use openai-responses.
export MSCODE_PROVIDER=anthropic
export MSCODE_API_KEY=sk-ant-...
export MSCODE_MODEL=claude-3-5-sonnet
./mscodeOpenRouter uses an OpenAI-compatible interface, so set provider to openai-completion:
export MSCODE_PROVIDER=openai-completion
export MSCODE_API_KEY=sk-or-...
export MSCODE_BASE_URL=https://openrouter.ai/api/v1
export MSCODE_MODEL=anthropic/claude-3.5-sonnet
./mscode