Remote access and distributed use
Control another Ai Keeper Mac, expose a guarded service to trusted devices, pair clients, connect nodes or agents, and separate traffic with explicit lanes.
Follow the numbered steps for the everyday path. Open Advanced details for compatibility, settings, technical limits, and deeper checks. Times are estimates; large downloads and model loading can take longer.
Screenshots show the real app with illustrative sample data. They show where controls are; example answers, jobs and telemetry are not measured results. Open any image at full size to follow along.
Find one workflow
Filter this collection by name, outcome, provider, engine, channel, mode, or command.
Control a server Mac from Client mode
Use a lighter Mac as the interface while another Ai Keeper Mac owns models and engines.
Before you start
- A server Mac running Ai Keeper in Server mode.
- Its address from Share with Clients, and a Mac client pairing code created on the server just before you connect.
On the server, open Settings > Network & Sharing. Confirm Server mode. Under Who can connect set Management API and web dashboard to Local network and keep Allow Client Access on. Note the address under Share with Clients, then click Pair a Device… and, in the Mac client card, Create Code. The code works once and expires after five minutes.
On the client Mac, open the same settings page and choose the Client card. Type the address into Server URL and the code into Native Pairing Code, then click Pair Securely (or use Paste QR/Link after Copy Pairing Link on the server). Pairing fills in API Key for you. A dedicated Client product can have a fixed role.
Wait for Server certificate pinned, then click Connect. The button stays unavailable until pairing has pinned the server’s certificate; typing a key by hand is not enough.
Open Home and confirm the remote host is reachable. In Client mode the sidebar shows Home, Chat, Runtime, Server Administration, Lab, Activity and Settings. Models, Downloads, Engines, Knowledge, Agents, Extensions and Automation are reached through Server Administration instead.
Send one harmless Chat message. Use Server Administration or the server’s Runtime screen to inspect the model that actually served it.
You are done when
The client communicates with the intended host, its chat succeeds, and remote operations affect the server without creating local duplicate runtimes.
Advanced details
Remote context changes are proposed and applied using host capacity, generation and persistence. Updated servers expose dedicated restart/context operations; clients do not emulate unsupported operations with a blind Stop/Start.
A remote runtime with a living process but failed readiness is Unhealthy/degraded and remains stoppable. It is unavailable for inference even though it still owns memory.
If something looks wrong
Run a remote operation from Client Administration
Use the authenticated, certificate-pinned management catalog for host-owned features that are intentionally absent from Client mode.
Before you start
- Client mode connected to a trusted Ai Keeper Server.
- The remote operation and any required path/body values are understood.
Open Server Administration in the sidebar and click Reload. If it is empty, fix Settings > Network & Sharing before editing an operation.
Choose the owning category—Models & Downloads, Engines & Dependencies, Extensions & Tools, Agents & Workspaces, Automation, Knowledge, Media, Operations, Configuration, or Observability & Security—or search by operation name.
Open a read-only operation first. Fill every path parameter exactly and run it; inspect the status and response body.
For a mutation, review the HTTP method and edit the JSON body carefully. Deliberately submit malformed JSON once in disposable data to confirm the UI reports a validation error instead of silently sending a different payload.
Run the corrected operation, then verify its effect in the matching native hub on the Server Mac. Test disconnect/reconnect recovery before relying on the client for administration.
You are done when
The read operation succeeds, invalid input is rejected visibly, and the corrected reviewed mutation is reflected on the Server without creating a local duplicate.
Advanced details
Inference, management, WebSocket, companion, ACP and webhook services have distinct listeners and credentials. Copy the displayed connection details for the service you intend to reach.
Remote operations execute on the server Mac and use that host’s filesystem and runtime state. Never assume a client’s local path, model list or memory capacity describes the server.
If something looks wrong
Expose Ai Keeper to a trusted LAN safely
Move beyond loopback only after API authentication, management authentication, and firewall scope are ready.
Before you start
- A trusted private network.
- Strong API and management keys.
- Permission to change macOS firewall/network exposure.
Open Settings > Network & Sharing. Review the listener overview and decide whether you need inference, management, companion/ACP or another service.
Generate the appropriate key before switching that listener from This Mac to Local network. Management requires its credential even on loopback.
Switch only the intended listener. Read the restart notice and wait for it to settle. WebSocket exposure follows the management API; runtime engine listeners are listed separately.
For another Ai Keeper Mac, use the address shown under Share with Clients (the management port, 9090 by default). For an app that calls the OpenAI-compatible API, use this Mac’s network name or IP address with the proxy port, for example
http://your-mac.local:11434/v1. Never use the other device’s own localhost.Send a read-only authenticated request from the other device, then repeat without credentials and verify refusal.
Review Settings > Admin Tools > Security Audit and the operating-system/network access rules. Set the listener back to This Mac when sharing is finished.
You are done when
The authorized device succeeds, unauthenticated access fails, and the Security Audit does not report an exposed unauthenticated listener.
Advanced details
Network reach is independent for inference, management and companion/ACP. Inference proxy routes deliberately exclude backend administrative/model-load/cache/control routes.
Opening the app’s management plane is different from sharing an inference API. Remote operations can be further blocked by server web/client/tool-execution policy; a successful model call does not prove remote mutation authority.
If something looks wrong
Pair a trusted device
Create an explicit trust relationship for an iPhone, iPad, or another Mac client.
Before you start
- Both devices are under your control and can communicate.
- You can compare/scan the pairing challenge in person.
Open Settings > Network & Sharing > Pair a Device… on the server Mac and use the card for the device: Browser or Mac client (Create Code), or Phone/companion (Start the gateway if it is stopped, then Generate Pairing Code).
Enter the code on the other device within five minutes. A browser: choose Use a pairing code on the dashboard sign-in page. A Mac: type it into Native Pairing Code in its own Network & Sharing settings and click Pair Securely. A phone: scan the QR code, or type the phone’s 6-digit code under Or enter code from device and click Validate.
There is no second confirmation screen: whoever enters the code first is paired. Create a code only when the device is in front of you, and use Cancel Pairing if you made a phone code by mistake.
Pairing has no name or scope fields. A paired browser receives its own browser key, a paired Mac its own client key with the server’s certificate pinned, and a phone the companion connection.
Test one permitted read-only action. A phone then appears under Paired Devices on this screen. Paired browsers and Macs do not appear in that list; each holds a separate management key.
You are done when
Both devices report success, the server lists the expected identity/scope, and the read-only test works.
Advanced details
Browser and Mac codes expire after five minutes and work once. The Mac code is used to agree an encrypted channel; the long-lived key travels inside it and the client pins the server’s certificate fingerprint.
The phone companion gateway asks for port 8001 and moves to the next free port up to 8099 when that one is busy; the screen shows the port in use. Other devices can reach it only when Phone companion and editor agents is set to Local network.
Pairing proves identity. What a paired device can do still depends on Allow Client Access, Allow Web Access and Allow Tool Execution from Web on the server.
If something looks wrong
Connect two Ai Keeper nodes
Register reviewed worker/hybrid nodes and inspect the capabilities and current reachability reported by the host.
Before you start
- Two Ai Keeper server nodes on a trusted network.
- Distinct node names and trust material.
Open Settings > Admin Tools > Node Mesh. Read Mesh and Local Node before adding another host.
Click Register Node. Enter Name, Hostname, Address, the real service Port, Role and comma-separated Capabilities from the remote host’s configuration.
Register only a host you control or have reviewed; node metadata is not a substitute for that service’s credentials and network trust.
Review Known Nodes, each address/role and last-seen state. Compare with the remote host rather than assuming a registered row proves a completed handshake.
For inference across endpoints, use the separate Remote Model Pool setup below and test a harmless request through its alias.
For copying a local model to a reviewed node, use Replicate Model over SSH…, read its plan and verify the remote result before creating/starting a remote instance.
You are done when
The registered metadata matches the intended host, live reachability is inspectable and any routed test uses the expected endpoint.
Advanced details
Known-node discovery/registration and Remote Model Pool per-request routing are different mechanisms. A pool is a stable alias over configured instances, not shared GPU/RAM across Macs.
Replicas is a target/plan displayed by the pool. Model deployment uses an explicit SSH replication workflow; changing a desired count alone is not proof that another model was copied or started.
If something looks wrong
Choose the ACP coordination or editor harness path
Distinguish the optional app-agent coordination port from the stdio command used by external editor harnesses.
Before you start
- A trusted ACP peer or client.
- A defined agent identity and allowed message scope.
Open Settings > Admin Tools > ACP Server and read the ACP Coordination Server explanation.
For coordination of registered app agents, review the displayed Port while stopped, then choose Start. Configure permitted network reach in Network & Sharing.
Inspect Registered Agents, Stats and Message Log after a small supported coordination task.
For an external editor harness, open Settings > Coding Agents and Harness Developer Interfaces. Use the displayed
AiKeeper --acpstdio command in the editor’s supported agent setup.Review the editor-owned workspace and approval channel; test a read-only task before an approved confined edit.
Verify the concrete result and stop the optional coordination listener when it is not needed.
You are done when
The chosen app-coordination or editor-harness path reaches the intended session, reports inspectable evidence and respects its workspace/approval policy.
Advanced details
The app’s optional ACP coordination listener and stdio editor protocol are distinct entry points. Use the configured host’s actual interface rather than assuming one URL implements both.
ACP-hosted child sessions take their workspace and approval channel from the host. This is separate from exposing registered MCP tools or raw inference.
If something looks wrong
Create a server concurrency lane
Set a named lane’s priority and concurrent-work policy, then inspect its actual activity.
Before you start
- A known workflow that uses the intended lane.
- An intentional concurrency and priority policy.
Open Settings > Admin Tools > Lanes and inspect Enable Server Lanes, Stats Summary and Lane List.
Choose Add Lane. Enter Lane name, Priority and Max Concurrent; use a small concurrency while verifying behavior.
Click Add and check the saved values in the lane list. The current form does not expose target assignment or matching-rule controls.
Enable lanes when the intended integration/task is configured to use them. Run one harmless known-lane task and watch Active, Total and summary counts.
Keep the lane only when its recorded activity matches your intended workflow; inspect the owning integration if counts remain zero.
You are done when
The lane displays the intended name, priority and maximum concurrency, and a known-lane workflow changes its actual activity counters.
Advanced details
The Add Lane UI allows priority 1–10 and Max Concurrent 1–32. These are operator policy ranges, not engine/hardware capacity promises.
Lane statistics report lane-owned activity. A newly created lane with zero counters has not been proven to handle a request; proxy target routing is a separate configuration.
If something looks wrong
Reach your Mac from anywhere over Tailscale
Use a reviewed private tailnet path and verify which current service port each action shares.
Before you start
- Tailscale installed and signed in on this Mac and on the remote device.
- API-key protection already enabled — see Expose Ai Keeper to a trusted LAN safely.
- The proxy port from Settings > API & Integrations. The default is 11434.
Open Settings > Admin Tools > Remote Access. Choose Detect Tools if Tailscale is installed but unavailable; sign in through Tailscale itself.
Review Tailscale Serve for tailnet-only access and Tailscale Funnel for public internet access. Require a deliberate public-hosting policy before using Funnel.
Read the displayed hostname and current proxy port. Start Serve and the proxy Quick Actions use the live configured proxy port; WebChat and WebSocket actions use their own current ports.
Use Start Serve for the proxy, or New Tunnel when you need another service. In the custom form, set Local Port explicitly; its initial 8000 value is only a form default.
From an authorized tailnet device, open the displayed URL and send a harmless authenticated model-list request. Repeat without credentials and confirm refusal.
Review Active Tunnels, stop unneeded Serve/Funnel/tunnels and rerun the Security Audit after changing reach.
You are done when
The authorized remote request reaches the intended current service, unauthenticated access is refused and only intended tunnel surfaces remain active.
Advanced details
Network tunneling does not replace the service’s credential or server execution policy. Verify the key for the exact inference/management/control surface.
Tailscale authentication, ACLs and Funnel eligibility belong to the installed Tailscale setup. Use its current configuration and the URL returned by the app rather than constructing a hostname or trusting an old default.
If something looks wrong
Revoke access and rotate keys
Take access away from a device, a person, or a leaked key — and confirm it is actually gone rather than assuming.
Before you start
- Access to this Mac.
- A list of what you have handed out: API keys, the management key, paired devices, tunnels, channel tokens.
Decide the blast radius first. Losing a laptop means revoking everything it held; retiring one script means rotating one key. Write the list down before you start clicking.
Partial revocation is the common failure. A rotated proxy key means nothing if a paired device or an open Funnel still works.
Open Settings > Network & Sharing > Pair a Device… and use the red Remove paired device button beside any phone you no longer recognise or need; No devices paired yet is the safe resting state. This list covers phones only. A paired browser or Mac holds its own management key: list those keys with
GET /api/v1/system/api-keysand delete one withDELETE /api/v1/system/api-key/ID, sending the Management API Key (the dashboard’s Management API page can run both).Open Settings > Admin Tools > Remote Access and use Stop All Tunnels. A revoked key does not close a tunnel you left running.
Open Settings > Network & Sharing and scroll to Keys. Click Regenerate beside Proxy API Key, and type a new value into Management API Key to replace the main management key. Keys issued to single apps are under Scoped client keys on Settings > API & Integrations: switch one off or click its bin button. Ai Keeper keeps all of these itself; they do not go into the Secrets Manager.
Rotate any channel tokens and webhook secrets you issued — those are separate credentials that key rotation does not touch. See the channel and webhook walkthroughs.
Verify with the old credential, not the new one. It must now be refused.
Testing the new key only proves the new key works. Testing the old one proves the revocation happened. Run this from another device, or first turn on Require the API key for local apps too under Network & Sharing > Keys: with that switch off, this Mac answers its own requests without checking any key, so an old key would appear to work.
curl -i http://127.0.0.1:11434/v1/models \ -H "Authorization: Bearer THE-OLD-KEY"
shellRe-point the clients you still want working, one at a time, and confirm each in Activity > Requests.
Finish in Settings > Admin Tools > Audit Trail and read what the revoked party did while they had access.
You are done when
The old credential is refused, no unexpected device remains paired, No active tunnels is shown, and every client you intended to keep still works.
Advanced details
There are four kinds of credential: the Proxy API Key and scoped client keys for the API on port 11434; the Management API Key and the per-device keys created by browser and Mac pairing for port 9090; the WebSocket control-plane token; and channel or webhook tokens.
Clear beside Proxy API Key removes the key and, if the API was open to the local network, turns that off as well.
Stop All Tunnels appears under Remote Access only while a tunnel is active. Tailscale Serve and Funnel also have their own Stop Serve and Stop Funnel buttons.
If something looks wrong
Use Ai Keeper from an authenticated browser
Reach the server’s web interface, run one task and identify features that need a Host Mac handoff.
Before you start
- A Server-mode Mac with browser access intentionally enabled.
- The displayed server URL and management credential.
On the host Mac, open Settings › Network & Sharing and check Allow Web Access. For access only from the host, keep Management API and web dashboard set to This Mac. Choose Local network if another device needs to connect.
In a browser open the management address without
/api/v1:https://127.0.0.1:9090on the server itself, or the address under Share with Clients from another device. Sign in with the Management API Key, or choose Use a pairing code and enter a one-time code from Pair a Device… > Browser > Create Code.Open Home and Runtime in the browser. Check the host name and look for a ready chat model before sending a message.
Send a harmless Chat message, then check the request on the server. Browser Chat includes supported media choices, jobs, uploads, cancellation and Gallery outputs.
Use the sidebar for other pages. Some names differ from the Mac app (models are under Library). Open Host Controls to see which features must be done in the Mac app.
To use a control that opens Host Controls, return to the host Mac and follow the listed path. For API access, open the dashboard’s Management API console and choose a read-only operation to check the connection.
You are done when
A short browser Chat reply appears on the intended host, and Activity on that Mac shows the request.
Advanced details
Browser operational parity includes dedicated pages, folded pages and explicit Host Mac Controls handoffs. The live Management API console is the fallback for documented routes.
Browser source uploads are resumable with storage/duration policy, and preserve original image detail. Review retention and dataset scope before uploading personal files.
If something looks wrong
Route one model alias across a remote model pool
Create a stable public alias over reviewed configured endpoints, check member health and test the selected strategy.
Before you start
- Two compatible configured Runtime routes, with credentials and real model IDs.
- A clear privacy/cost/quality policy for all pool members.
Test each endpoint individually in Runtime/Chat or Lab > API Tester before combining them.
Open Settings > Admin Tools > Node Mesh and find Remote Model Pool.
Enter a unique Public alias, choose the intended Members and click Create Pool.
Review Strategy, Primary, member order and Replicas. Keep incompatible/private/billable routes out unless your policy permits all of them.
Use Check pool health. Inspect each member’s actual health/latency and resolve missing or unavailable instances.
Send a harmless request using the alias through the proxy and inspect Activity > Requests to prove which member served it. Make one member unavailable deliberately in a disposable test to check the chosen strategy, then restore it.
You are done when
The alias appears and routes through the intended eligible member with visible health/traffic evidence; unavailable members have explicit state.
Advanced details
Selection occurs per request over configured instances. The alias does not shard one inference across Macs or pool their unified memory.
The UI health probe checks the member’s model-list endpoint. A green HTTP probe is availability evidence, not certification that identical completions/tools/images work on all members.