Skip to content

Using ArtesAI on the HPC

ArtesAI is FSU's institutional gateway to commercial generative AI models. It brokers access to hosted models from Anthropic (Claude) and OpenAI (GPT) through Microsoft Foundry under university agreements, so you can use them with your FSU credentials rather than a personal subscription or a departmental credit card.

Beyond the web interface, ArtesAI exposes Anthropic- and OpenAI-compatible API endpoints. This means you can point command-line coding agents such as Claude Code and OpenAI Codex at ArtesAI and use them directly on the HPC for tasks such as editing job scripts, debugging analysis code, and navigating your project files on the cluster, without the data leaving the FSU-contracted service for a personal AI account. This page walks through creating an ArtesAI API project and configuring each client.

ArtesAI is not a local model

Unlike the local models we host on the HPC, ArtesAI forwards your prompts to a cloud-hosted service. Do not send restricted or regulated data (PHI, PII, export-controlled, or otherwise sensitive research data) to ArtesAI unless you have confirmed it is approved for that data classification. Refer to the FSU AI guidance for faculty, or contact us with questions.

Note

Each API project is governed by an access profile, which determines the models and APIs available to it, and usage counts against your monthly budget. More information is at the ArtesAI service page.

Setting up an API key in ArtesAI#

To use ArtesAI on the HPC, you will need to first configure an API Project in the web interface.

First, login to https://artesai.fsu.edu. In the lower left corner, click on your name to invoke a context menu. In the context menu, select "Settings"

In the lower left corner, click on your name, then click "Settings"

Next, click on "API Projects".

Click on "API Projects"

In the "My API Projects" interface, click the "New API Project" button.

Click the "New API Project" Button

In "Create API Project" dialog, enter any name that you would like for your project, then select an Access Profile.

Enter a name and select an access profile

Once your project is created, you will see the Project Overview screen. Take note of the "API Keys" on the right side of the screen; you will use these to configure your clients below.

Take note of the Endpoint and Primary Key; you will need them for your clients

Using Anthropic Claude with ArtesAI#

To use Claude with ArtesAI, ensure you have the Claude Code CLI client installed in your home directory. Instructions are on the Claude website.

ArtesAI requires specific settings in the Claude settings.json file. If you haven't run the Claude CLI client before, you will need to create this file at the appropriate path:

1
2
3
4
5
# Linux, MacOS, and WSL:
~/.claude/settings.json

# Windows
%USERPROFILE%\.claude\settings.json

Note

On Linux and MacOS, ensure owner-only permissions:

chmod 700 ~/.claude && chmod 600 ~/.claude/settings.json

In the settings.json file, ensure the following values are set:

{
  "env": {
    "CLAUDE_CODE_USE_FOUNDRY": "1",
    "CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1",
    "ANTHROPIC_FOUNDRY_BASE_URL": "<ENDPOINT-FROM-ARTESAI-PROJECT>/anthropic",
    "ANTHROPIC_FOUNDRY_API_KEY": "<PRIMARY-KEY-FROM-ARTESAI-PROJECT>",
    "ANTHROPIC_MODEL": "claude-opus-5",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5",
    "ANTHROPIC_SMALL_FAST_MODEL": "claude-haiku-4-5"
  }
}

Substitute the endpoint URL and API key from the project overview where noted in the above code.

Warning

ArtesAI may offer newer models than at the time of writing. Refer to the Project Overview in ArteAI for available models.

Invoke Claude on the command line by running the claude command.

  Claude Code v2.1.318
  Opus 5 ยท Microsoft Foundry
  /gpfs/home/abc12a


โฏ How are you?

I'm doing well, thanks for asking โ€” ready to dig into whatever you need.

What are we working on today?

โœป Churned for 3s ยท done 1:32 PM




โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
โฏ
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
โตโต auto mode on (shift+tab to cycle)

Look for the Microsft Foundry string next to the model name. That indicates that you are using Claude through ArtesAI.

Tip

If you only want to use ArtesAI for specific projects, you can override the global Claude config by placing a .claude/settings.json file in your project folder.

For more information, refer to the Claude Code on Microsoft Foundry web page.

Using OpenAI Codex with ArtesAI#

To use OpenAI Codex with ArtesAI, ensure you have the Codex client installed in your home directory. Instructions are on the OpenAI website.

ArtesAI requires specific settings in the .codex/config.toml file and an environment variable set in your shell. If you haven't run the Codex CLI client before, you will need to create this file at the appropriate path:

# Linux, MacOS, and WSL
~/.codex/config.toml

In the config.toml file, ensure the following settings are present:

```toml hl_lines=8 model = "gpt-6-luna" # Select one of the models listed in the ArtesAI Models -> OpenAI section of the Project Overview screen model_provider = "artesai" model_reasoning_effort = "medium"

[model_providers.artesai] name = "ArtesAI" base_url = ">/openai/v1" env_key = "NEBULAONE_API_KEY" wire_api = "responses" requires_openai_auth = false

[model_providers.artesai.env_http_headers] api-key = "NEBULAONE_API_KEY"

[tui] screen_reader_detection_done = true

1
2
3
4
5
6
Substitute the endpoint URL from the project overview where noted in the above code.

Append the following to your `~/.bashrc` file:

```bash
export NEBULAONE_API_KEY='<PRIMARY-KEY-FROM-ARTESAI-PROJECT>'

Substitute the API key from the project overview where noted in the above code.

Then logout and log back in again to read the environment variable (or run source ~/.bashrc). When you run codex, it will be using ArtesAI for the connection. Confirm this by typing /status at the Codex prompt. You should see something similar to the following:

  >_ OpenAI Codex (v0.167.0)

  Server:              Local background server

  Model:               GPT-6-Luna (reasoning medium)
  Model provider:      artesai
  Directory:           ~
  Permissions:         Workspace (granular)
  Agents.md:           <none>
  Collaboration mode:  Default
  Session:             01a1b2b5-b927-72f0-96f8-3a7bee04aa0e

  Token usage:         0 total  (0 input + 0 output)
  Limits:              data not available yet

Note the Model provider: artesai in the output.

For more information, refer to the Codex with Azure OpenAI in Microsoft Foundry Models documentation page.

VS Code with Claude or Codex#

VS Code Claude and Codex extensions use their respective command line utilities' configuration files.

If you successfully used these instructions to configure one or both, you can download the VS Code extension and be using ArtesAI by default.