sysgraph Docs
AI

Your own key and local model

On the free cloud every account gets a few requests a month on sysgraph's key. For more there are two ways: set your own provider key, or use a local model on your computer.

Your own key (cloud)

Settings › Personal › AI key (any signed-in user; the key is yours, not the workspace's):

  1. Choose the Provider: Anthropic (Claude), OpenAI, Google Gemini, Groq, Azure OpenAI or an OpenAI-compatible gateway.
  2. Enter the model and the key (Azure and gateways also need an address).
  3. Test and save: the key is tried against the provider and saved if it works.
  4. Set the Monthly request limit (1–20000).

From then on your requests use your key in every cloud workspace where you are an editor; they are billed to you by your provider. Other people are not affected: they enter their own key or use sysgraph's allowance. The monthly limit counts your requests across all workspaces.

Security

  • The key is stored in an encrypted vault on the server and never sent back to the browser; only its last four characters are shown.
  • Use a key created just for this purpose, with limited scope; don't hand over your company's general key.
  • Set a monthly spending limit in the provider's console. The request limit in sysgraph is an extra safeguard.
  • Related catalog items, endpoints and the open flow's code go to the provider you chose with each request; check its data terms.
  • Rotate the key regularly. If you suspect a leak, delete it here and revoke it at the provider immediately.
Warning

Entrusting a key to anyone is always a risk. Limits reduce the damage, but the real protection is the spending limit at the provider.

Local model

With a local model, requests go only to the model running on this computer: data never leaves the device and there is no quota. It works in Lite and in local and cloud workspaces.

  1. Install Ollama or LM Studio and download a model.
  2. Let the local server accept requests from sysgraph's address (OLLAMA_ORIGINS for Ollama; the CORS setting in LM Studio).
  3. In Settings › AI choose Local model as the Source and enter the address (e.g. http://localhost:11434) and the model.

This choice is personal and applies only to this device. The address can only be localhost or 127.0.0.1.

Note

With a local model the quality depends on the model you choose. Small models may produce invalid output for large flows; the assistant rejects invalid Mermaid.

Tip

Allow only sysgraph's address on the local server. * lets any website use your model.