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 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
Usage counts against your monthly ArtesAI budget, and each API project carries its own rate limit. More information is at the ArtesAI service page.
Before you begin#
Both clients described below are command-line tools that you install in your home directory and run from a terminal. Three characteristics of our environment affect how you install and run them.
Internet access. ArtesAI is a cloud-hosted service, so the client needs outbound network access to reach it.
Compute nodes have no Internet access by default, so if you run either client
inside a Slurm job or an Open OnDemand session, load the webproxy module first:
Node.js. Both clients are published as npm packages, and each also offers a standalone installer. Refer to the vendor instructions linked in the sections below. If you install by way of npm, note that the system Node.js is v10, which is too old for either client. Install a current LTS release in your home directory using NVM, as described on our Node.js page.
Home directory space. Both clients install themselves and their dependencies under your home directory, as do npm and NVM. If an installation fails partway through, check your home directory quota.
Creating an ArtesAI API project#
To use ArtesAI on the HPC, you will need to first configure an API Project in the web interface.
First, log in 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"
Next, click on "API Projects".
In the "My API Projects" interface, click the "New API Project" button.
In the "Create API Project" dialog, enter any name that you would like for your project, then select an Access Profile. The access profile determines which models and APIs your project is permitted to reach; the Project Overview screen lists them once the project exists.
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.
Your project has both a Primary Key and a Secondary Key, and either one works. Having two lets you rotate credentials without interrupting your work: configure your clients with one key, then regenerate the other when you need a fresh credential. Use the eye icon to reveal a key, the clipboard icon to copy it, and the circular arrow to regenerate it.
Treat your API keys as passwords
Anyone holding your key can spend your ArtesAI budget. Both clients store the key in a plain-text configuration file, so:
- Never commit
settings.json,config.toml, or a shell profile containing a key to a Git repository. These clients run inside your repositories, which makes an accidental commit easy. - Keep these files in your home directory rather than in a group-writable project or scratch directory.
- If a key is exposed, regenerate it from the Project Overview screen immediately.
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:
Note
On Linux and MacOS, ensure owner-only permissions:
In the settings.json file, ensure the following values are set:
Substitute the endpoint URL and API key from the project overview where noted in the above code.
Warning
ArtesAI may offer newer models than those listed here. Refer to the Project Overview in ArtesAI for available models.
Invoke Claude on the command line by running the claude command.
Look for the Microsoft Foundry string next to the model name. That indicates that you are using Claude
through ArtesAI. If you don't see it, or if your requests return errors, refer to
Troubleshooting below.
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.
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:
In the config.toml file, ensure the following settings are present:
Substitute the endpoint URL from the project overview where noted in the above code.
Append the following to your ~/.bashrc file:
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:
Note the Model provider: artesai in the output. If you don't see it, or if your requests return errors, refer to
Troubleshooting below.
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, install the corresponding extension, and it will use ArtesAI automatically.
Configure the machine where the extension runs
Each extension reads the configuration file on the machine where its own process runs, which is not
necessarily the machine in front of you. If you connect to the cluster using the
Remote - SSH extension, the extension runs on the
HPC and reads ~/.claude/settings.json or ~/.codex/config.toml in your HPC home directory. If you run VS
Code against files on your own workstation, it reads the copy there instead. Configure whichever machine will
run the client, or both if you work in both places.
Troubleshooting#
Both clients fail in similar ways. If a client starts but every request returns an error, check the following before contacting us.
| Symptom | Likely cause |
|---|---|
401 Unauthorized or 403 Forbidden |
The key is wrong or was regenerated in ArtesAI. For Codex, also confirm the shell actually has the variable: echo $NEBULAONE_API_KEY should print your key. |
404 Not Found |
The endpoint is missing its suffix. Claude needs /anthropic appended, Codex needs /openai/v1. |
| Model not found, or the client falls back to a different model | The model name isn't offered by your project's access profile. Compare the names in your configuration against the Models list on the Project Overview screen. |
| Connection timeouts or DNS failures | No outbound Internet access. On a compute node or in an Open OnDemand session, run module load webproxy as described in Before you begin. |
| Requests succeed, then begin failing partway through a session | You may have reached your project's rate limit or exhausted your monthly budget. Check the Project Overview screen. |
If none of these apply, contact us with the client name, the model you configured, and the exact error text. Never include your API key in a support request.




