Skip to content
Agent locations
On this page

AI PROVIDERS · LOCATIONS

Choose where your agents run

AI Agent Location controls where PersonaStack runs the agent assigned to a provider connection. Choose a location that can reach the model endpoint and the services your task needs.

Before you start

Open the connection under AI Providers. If you plan to use your own infrastructure, first connect its Kubernetes cluster in the app. A saved provider cannot use a cluster that is missing from its available locations.

Hosted or your own cluster

The model service and agent location are different settings. Selecting your own cluster does not move a cloud provider’s model into that cluster. It controls where the agent makes requests and uses its tools.

Worker status on your cluster

Worker status comes from the worker Pod and its main container. Cluster-agent does not require node or node-Lease access for these observations. For an existing installation, ask a cluster administrator to run its current Manual update command. It waits for the agent rollout before removing its obsolete node-Lease grants. Kubernetes can retain the last reported Pod status while a node is unreachable, so a displayed running status does not guarantee that the worker is currently reachable.

Remove a Kubernetes cluster connection

Open Integrations → Kubernetes Clusters. Choose Delete Cluster on the connection and review the confirmation. When PersonaStack accepts removal, the cluster leaves the list and its integration slot is freed. Every provider that used it has an empty AI Agent Location. Personas keep their provider assignments. Cleanup of Kubernetes resources can continue after the connection leaves the list.

Open each affected connection in AI Providers. Choose and save a replacement location before starting new work. If you connect the cluster again, select the new connection explicitly.

Run managed agents on this Mac

These steps apply when your version of PersonaStack for macOS offers Run agents on this Mac. Use a supported Apple Silicon Mac. The current default setup requires at least 16 GiB of physical memory. The app also checks CPU and disk requirements. Other app versions and ordinary browsers can still use their available hosted or connected-cluster locations.

This location runs PersonaStack-managed agents in an app-managed virtual machine on your Mac. The app prepares Kubernetes for you. You do not need Terminal, Homebrew, a separate container app, or Kubernetes configuration for the normal setup.

  1. Sign in to the intended account and workspace in PersonaStack for macOS.
  2. Open Integrations → Kubernetes Clusters and choose Run agents on this Mac. Use this route to enroll a Mac for an existing OpenAI connection. For other provider forms that offer Set up this Mac, you can also start there.
  3. Choose Set up this Mac. If macOS requires background approval, allow PersonaStack in System Settings → General → Login Items & Extensions. Return to setup and choose Check again or Set up this Mac as offered. Then review the native dialog’s virtual CPUs, allocated RAM, sparse virtual disk maximum, minimum physical RAM, and initial runtime download. These are conservative setup requirements. The disk grows as it is used. Worker images need additional downloads and disk space. Confirm with Set Up This Mac when ready, then follow the progress.
  4. Choose Continue when local preparation finishes. Wait for Ready. This Mac is connected and can run agents. A completed download or a running local runtime alone does not confirm this connection.
  5. Return to the provider’s AI Agent Location. Choose this Mac and save the provider. Setup from a provider form preserves your draft and proposes this Mac after Use this Mac. You still choose whether to save.

If setup fails, its error stays visible. Read the stated cause before choosing Try again when offered.

One macOS user’s installation initially belongs to one account, server, and workspace. Switching the app to another account or workspace does not transfer that installation. Return to its original scope to manage its saved connection. If a saved connection still uses the Mac’s name, a fresh setup may use an available variant such as Studio Mac (2).

Keep the Mac awake, signed in to macOS, and connected while agents work. Authorized background work can continue after the app quits or you sign out of PersonaStack. Sleep or network loss can interrupt work. Inspect its result before retrying.

Agent files live inside the app-managed runtime disk. This location does not mount your Mac’s ordinary folders or provide desktop control. It also does not move the AI model onto your Mac. Desktop Control is a separate connection. HermesAgent and OpenClaw use their own installed profiles.

Stop, reconnect, or remove this Mac

The menu-bar icon’s Agents on This Mac menu provides Check Status, Stop, Resume, and Remove Local Data… without a signed-in setup page. Read the permanent-deletion confirmation before removing data. The native removal confirmation defaults to Cancel and pressing Return cancels it. A later Start new blank setup creates a fresh installation. It does not restore the removed files.

Before uninstalling PersonaStack for macOS

Save any agent files you need before removing local hosting or uninstalling the app. Removing this local runtime permanently deletes its virtual machine, agent disk, and downloaded runtime files.

For manual app removal, first choose Agents on This Mac → Remove Local Data… in the menu bar. Wait for removal to finish. Then quit PersonaStack and move the app to Trash. Moving the app straight to Trash does not confirm that its local runtime was removed.

Supported Homebrew uninstall uses the app’s cleanup command before package removal. If cleanup cannot be confirmed, the uninstall stops. Keep the app installed, read the error, and retry. Local data removal does not require signing in or enabling background work. Standalone CUA and your native external-agent profiles remain separate.

App updates may wait while local setup or the runtime is active. Follow the offered Stop and Update confirmation if you want to interrupt local work. Stop retains agent files.

1. Save the agent location

  1. Complete the provider’s credential and model steps where required.
  2. Open AI Agent Location.
  3. Select the hosted location or connected cluster you intend to use.
  4. Save the provider.
  5. Open a dependent persona and check the location shown beneath its provider name.

On a saved OpenAI connection, choose the location under Configuration. Read the move warning before choosing Save changes. Choose Discard changes to keep the current location. If the move would remove an enabled working disk, review the separate confirmation before proceeding.

New PersonaStack-run personas default to Keep files between runs on for Hosted and supported Kubernetes locations. You can turn it off in Storage on either location. Assigning or editing a provider keeps an existing off setting. Hosted uses an automatic 20GB disk when enabled. Legacy workers need RWX storage for persistence. Where the shared runtime is enabled, its home supports RWO or RWX. With storage off, workers use temporary files. Conversations are stored separately. Read Keep working files between runs before changing storage.

The location belongs to the shared provider connection. To move just one persona, assign it a different connection with the intended location.

Saving a location change on an existing provider does not test the connection or stop current work. Dependent personas use the saved location when they next start a new worker. Follow any confirmation shown for the change before saving.

Before changing a cluster namespace

A namespace edit is blocked while that Kubernetes connection still owns a browser session, a retained browser profile, or browser cleanup that has not finished. This keeps the browser's storage at its original location.

To continue, turn off Use a Web Browser for the personas using that cluster. This deletes their browser profiles, including website logins and cache, after their browsers stop. Wait for browser cleanup to finish before trying the namespace edit again. Changing Keep Files Between Runs does not clear this browser storage.

Updating credentials without changing the namespace keeps the browser location. Browser access that has never created a session or profile does not by itself block a namespace edit. See A cluster namespace change is blocked if the edit still fails.

Move one persona to another location

Open Persona Settings and choose the provider connection with the intended location. File-loss confirmation applies when the move removes an enabled working disk. Keep needed files before confirming. With Keep Files Between Runs off, the next worker uses temporary files at the new location. Your saved conversation stays available.

You can save the new provider while the persona is working. Active chat and background runs finish at their original location with access to their working files. Disk cleanup waits until those runs finish. The next agent start uses the latest saved provider and its location. Your Pause setting stays the same.

For an unexpected error, follow its recovery action. If the saved result is uncertain, refresh and check the selected provider before making another change. Include any displayed request reference when you ask for help.

2. Connect an Ollama server

Ollama requires your own Kubernetes agent location. Select that location first. Enter an Ollama server URL that is reachable from the cluster. The model dropdown lets you look up available models. You do not need to repeat connection or model verification before saving edits to an existing Ollama provider.

A URL that works in your laptop’s browser may not be reachable from the cluster. Inside an agent, localhost refers to its container, not your Mac. A model endpoint running on your Mac must be reachable from the selected agent location. Use the server address available on that runtime’s network. Complete optional authentication headers only when your Ollama endpoint requires them.

3. Route a private compatible endpoint

For OpenAI Compatible, enable Route provider traffic through a Kubernetes cluster when the endpoint is private or reachable only from that network. Choose the Route cluster. This mode runs the worker in the selected cluster so it can reach that endpoint there.

If the location is unavailable

When the selected location prevents startup, Chat shows Couldn’t start. Check the AI provider’s agent location. Open Details for the reported reason and the run ID when available. Open the persona’s assigned connection in AI Providers and check its AI Agent Location.

If a saved cluster goes offline, the provider keeps that AI Agent Location. Its status and the affected personas show the location problem. A new start can fail with the cluster’s specific reason and repair action. Restore Cluster Agent on the same connection. When that location is ready again, try the task using the saved provider.

If the error says AI provider has an invalid agent location, open that provider and save an available location. A removed location stays empty until you make a new selection.

Persona Settings shows a Cluster Agent Upgrade Required wrench link when its current error requires an update to your cluster agent. The link sits below the error and above the chat button. Choose it to open Kubernetes Clusters and follow the selected cluster’s update instructions. Ask your cluster administrator for help if you cannot update it.

Once the provider is saved, choose the capabilities your persona needs and try a small task.

Need a hand? Contact the PersonaStack team.

Search documentation

Type a word or phrase to find a guide.

Documentation