Skip to main content

Models

Models are what an org's agents think with: language models today, with decision models for scoring and routing planned beside them. Like connectors, an org adds the ones it wants: a provider, its key, and which model each kind of use runs on.

Nexentra is not tied to a model. It works with the commercial providers, with the clouds that host models, and with any endpoint that speaks the common API, which is how an open model you host yourself is added.

Why it works this way​

Models change every few months, and a lender may have a reason to prefer one provider: cost, a contract, where the data may go. So the model is something an org chooses and can change, not something built into its agents. No agent names a model, so changing one changes no agent.

An example​

An org's models
Providers
main-openai OpenAI key held by the AI gateway
claude-prod Anthropic key held by the AI gateway
in-house Custom an open model on the org's own endpoint

Uses
Work claude-prod the provider's current model for long work
Ask main-openai a faster model
Verifying (not set) runs on the same model as the thread it verifies

How it works​

Providers​

An org adds a provider with a name of its own, the vendor, and a key. It can add several, and more than one of the same vendor.

ProviderWhat it is
OpenAIOpenAI's models, on the org's key
AnthropicClaude models, on the org's key
GeminiGoogle's models, on the org's key
Bedrock, Vertex AI, AzureModels hosted in the org's own cloud account
CustomAny endpoint that speaks the OpenAI API, such as an open model the org hosts

OpenAI, Anthropic and Gemini are added from the console with a key. The others need an address or a region as well.

Uses​

An agent does not name a model. It says what the model is for, and the org says which model that is.

UseRuns
WorkEach piece of work, the agent that runs a project, and monitors
AskEach person's Ask
VerifyingReading what a claim cites, where code could not settle it

So a key is typed once, two uses can share a provider, and moving Work to another model is one change.

The call​

Every model call goes through the org's AI gateway. The AI gateway holds the key, routes the call to the provider, and translates the format where a provider's differs. Pointing a use at another provider takes effect from the next thread.

What each provider is called with​

Each provider is called the way that suits it. Claude is called with its own client, so an earlier prompt is read from its cache and not paid for again. Where a provider can search tools itself, an agent's connector tools are loaded when needed, not sent whole on every call.

States​

None. A use has a model, or it does not. A thread whose use has no model stops and says so.

What always holds​

  • A provider keeps nothing of a call. Storage is turned off in the request, and a test pins the request that says so.
  • The key stays at the AI gateway. It cannot be read back from the console or the API.
  • A feature that needs state stored at the provider is not used.
  • Calls run on the org's own key and account.
  • No agent names a model.