AI Integration

AI Provider Integration via OpenAI Client

Maverick AI provider integration via OpenAI Client SDK

What Is the OpenAI Client?

Maverick uses the OpenAI .NET SDK as its universal AI connector. The OpenAI-compatible chat completion API has become a de-facto standard across the AI industry — most major providers implement it. That means Maverick can reach any of them by simply pointing the client at a different base URL and supplying the right API key.

The result is a single integration layer that covers OpenAI, Anthropic, Google Gemini, Azure OpenAI, Mistral, Groq, GitHub Models, Cerebras, OpenRouter, and more. Local providers like Ollama run entirely on your own machine — no API key required and no external data transfer of any kind.

From a configuration standpoint, every provider is a record in Maverick with a small number of fields: a display name, a provider type, a base URL, and an API key. The provider record is then linked to one or more model records, each of which adds model-specific settings like temperature, system prompt, and max output tokens. You can configure as many providers and models as your team needs and assign them to individual employees or workgroups.

Maverick AI provider setup form with Base URL, API Key, and Folder fields

Supported AI Providers

Maverick ships with 14 built-in provider types. The application pre-seeds default provider and model records for the most popular choices so you can be up and running within minutes of your first login.

Cloud Providers (Paid)

These providers offer the most capable models and are suitable for production scheduling workloads. Each requires an API key from the provider's developer portal.

  • OpenAI — GPT-4.1, GPT-4.1 mini, GPT-4o, GPT-4o mini, o3, and o4-mini. No base URL configuration needed; Maverick connects to OpenAI's default endpoint automatically.
  • Anthropic — Claude Opus 4, Claude Sonnet 4, and Claude Haiku 4.5. Base URL: https://api.anthropic.com. AI chat relies on the model calling Maverick's lookup tools, so choose Claude models (or any model) that support tool calling.
  • Google Gemini — Gemini 2.5 Pro, Gemini 2.5 Flash, and Gemini 2.0 Flash. Base URL: https://generativelanguage.googleapis.com. Requires API version v1beta.
  • Azure OpenAI — Your Azure-hosted deployment of OpenAI models. Uses a deployment name instead of a model name, and a custom base URL from your Azure resource.
  • Mistral — Mistral's family of European-hosted models. Useful for organizations with data-residency requirements outside the US.

Free-Tier Cloud

These providers offer free API access, subject to rate limits. They are a practical way to explore AI scheduling before committing to a paid plan. Note that free tiers are typically rate-limited — you may encounter slower responses or temporary throttling during high-usage periods. The AI rate limits guide explains how to handle this in Maverick.

  • OpenRouter — Routes requests to a variety of models, including Gemini 2.0 Flash (free), Llama 3.1 8B (free), and DeepSeek R1 (free). Base URL: https://openrouter.ai/api/v1.
  • Groq — Extremely fast inference for open-source models including Llama, Mistral, and Whisper variants. Base URL: https://api.groq.com/openai/v1.
  • GitHub Models — Free model access for GitHub users, including GPT-4o, Phi-4, and Llama 3.1 70B. Base URL: https://models.inference.ai.azure.com.
  • Cerebras — High-speed inference using wafer-scale AI chips. Base URL: https://api.cerebras.ai/v1.
  • Google Gemini (free tier) — Gemini Flash is available at no cost through the standard Google API key with generous daily limits.

Local (No API Key)

Ollama lets you run open-source models entirely on your own hardware — Llama, Mistral, Phi-4, Qwen, Gemma, and any other model available in the Ollama library. Because everything stays on-premise, there is no API key, no external data transfer, and no per-token cost. The base URL points to your local Ollama server, typically http://localhost:11434/v1. This option is especially attractive for organizations with strict data-security policies or air-gapped environments.

Setting Up an AI Provider

Provider records live in the Maverick admin area. Creating one takes about a minute. Here is what each field does:

  • Name — Your display label for this provider record. Use something descriptive like "Anthropic (Claude)" or "Google Gemini Free" so team members can identify it easily in the model picker.
  • Provider Type — Select from the 14 built-in provider types. This tells Maverick which authentication style and API quirks to use when constructing requests.
  • Base URL — Required for all providers except native OpenAI. This is the root endpoint the OpenAI client will send requests to. Leave it blank for OpenAI — the SDK uses its default endpoint automatically.
  • API Version — Only needed for Google's API, which requires v1beta. Most other providers leave this field empty.
  • API Key — Your cloud provider secret key. Ollama does not require one; set this field only for cloud-hosted providers. Keys are stored encrypted and never displayed after initial entry.
  • API Secret — A second credential for providers that use two-part authentication. When present, Maverick sends it as an X-Api-Secret header alongside the standard Bearer token.
  • Folder — Groups provider records in the model picker. Useful when you have many providers configured — for example, "Cloud-hosted", "Free tier", and "Local" folders keep the list organized.

The table below shows the Base URL for each major non-OpenAI provider:

Provider Base URL
Anthropic https://api.anthropic.com
Google Gemini https://generativelanguage.googleapis.com
OpenRouter https://openrouter.ai/api/v1
Groq https://api.groq.com/openai/v1
GitHub Models https://models.inference.ai.azure.com
Cerebras https://api.cerebras.ai/v1
Ollama (local) http://localhost:11434/v1

Configuring an AI Model

Each provider record can have multiple model records attached to it. A model record adds the model-specific settings that shape how the AI responds. Here is what each field controls:

  • Name — Your display label for this model. Something like "GPT-4.1 (fast)" or "Claude Sonnet (scheduling)" helps team members choose the right model from the picker.
  • Model Name — The exact API model identifier that the provider expects in the request body. For example: gpt-4.1, claude-sonnet-4-6, gemini-2.5-flash, llama3.1:8b. Get the correct identifier from your provider's documentation — a typo here will cause every chat request to fail.
  • System Prompt — Custom instructions that are prepended to every chat session with this model. Use it to tune the AI's focus — for example, "You are a project scheduling assistant. Keep answers short and plain. Focus on minimizing the critical path." A well-crafted system prompt significantly improves the quality and consistency of AI responses.
  • Temperature — Controls how deterministic or creative the responses are. A value of 0.0 produces consistent, repeatable output. A value of 1.0 produces more varied and sometimes surprising responses. For scheduling tasks where accuracy matters, a value between 0.2 and 0.4 tends to produce more reliable lookups and edits with fewer hallucinations. If you leave it blank, AI chat uses 0.1.
  • Top P — Nucleus sampling parameter that limits which tokens the model considers at each step. Leave this at the provider's default unless you have a specific reason to adjust it. Changing both temperature and top-p at the same time is generally not recommended.
  • Max Output Token Count — Caps the length of the AI's response. Long answers and change previews on large projects can run long. Setting an appropriate cap prevents runaway responses and keeps costs predictable. If the AI cuts an answer off mid-sentence, increasing this value is usually the fix.
  • Context window (tokens) — How much text the model can take in at once. Leave it blank and Maverick assumes 8,192 tokens. For a window under 16,000 tokens, Maverick sends shorter tool descriptions, which helps small and free-tier models. Enter a larger number for models with bigger windows.
  • Deployment Name — Azure OpenAI only. Your Azure deployment name replaces the Model Name in the API request. Azure routes requests to the underlying OpenAI model based on your deployment configuration, not the model name directly.
  • Override API Key / Base URL — Model-level overrides for the linked provider's API key and base URL. This is useful when a single provider account serves multiple teams with different billing keys, or when you need to point a specific model at a different endpoint.
AI chat turn: you ask, the AI picks a lookup tool, Maverick runs it with your rights, the AI answers or previews a change, and you click Apply

Controlling What the AI May Do with Exclusion Flags

AI chat does not send a snapshot of your whole project. The model asks Maverick for what each question needs, and Maverick answers with your own rights applied. Exclusion flags on the model record decide how much of that the model is allowed to use. They only restrict; they never give the AI more than your rights allow, and a new model has none set.

You can configure different flag profiles for different models — for example, a read-only model for reviewers and a full model for schedulers.

1. Exclude Database Reads

The AI cannot look up your data, so the chat refuses to answer data questions. Rarely what you want, but it turns the model off cleanly for a group that should not use AI chat on live data.

2. Exclude Database Writes

The AI cannot propose any change, including creating and deleting records. It can still look data up. Choose this for a read-only model.

3. Exclude Database Record Creation

The AI cannot propose new records (create, copy, or split). It can still edit and delete.

4. Exclude Database Deletes

The AI cannot propose deleting or merging records. It can still edit and create.

5. Exclude Cost and Rate Fields

Client and salary costs and rates are hidden from the AI, even for users who may see them. A good default for any model whose answers will be shared.

6. Exclude User Names

The AI sees stand-ins such as User 1 and User 2 instead of names. Names typed inside descriptions or task names are not hidden.

7. Exclude Resource Assignments

User and resource names assigned to tasks are not sent, and the AI cannot assign anyone to tasks. This also trims tokens on projects with many assignees.

Every change the AI proposes still needs your own edit rights and your click on Apply, whatever the flags say. To reduce token use, narrow the chat's scope and set the model's context window instead; see AI rate limits and tokens per minute.

AI Chat in Practice

The AI chat window opens alongside your current view from the AI panel on the View ribbon. Two buttons decide what the AI starts with:

  • AI Chat opens a chat with no scope. The AI can look up anything you may see once you name it in your message.
  • AI Chat: With Selection asks what the AI should start with — the selected project, the tasks you ticked, the tasks the current filtered view shows, or nothing. Right-clicking a project or a set of tasks and choosing Chat with AI opens the same dialog.

A scope bar above the message box always states what the AI is working on, and each answer ends with a Scope line. Nothing is sent just because a record is selected on screen.

Maverick AI chat window showing the scope bar and an answer about the project

When you ask a question, the model works in a short loop: it picks a lookup tool, Maverick runs it with your rights, and the model reads the result and either answers in plain text or runs another lookup. Totals are calculated by Maverick, not by the model. The chat menu's Show Tool Calls item lists the lookups behind the last answer.

When you ask for a change, the model builds a proposal instead of editing anything. Maverick shows a preview of every row that would change and waits. Only your click on Apply saves it, and you can ask the AI to undo it for 30 minutes afterward.

What should the AI start with? dialog with Project selected

Here are examples of what you can ask the AI to do in a chat session:

  • Move or reschedule tasks: "Move all tasks to start next Monday" or "Push the testing phase back by one week."
  • Add new tasks or phases: "Add a user acceptance testing phase with four tasks after the development phase."
  • Assign resources: "Assign Alice to all design tasks and Bob to all development tasks."
  • Analyze the schedule: "Which tasks are on the critical path?" or "Which tasks have the most float?"
  • Compress the timeline: "How can I finish two weeks earlier without adding headcount?"
  • Set or adjust dependencies: "Make task 5 start after task 3 finishes with a 2-day lag."
  • Remove tasks: "Delete all placeholder tasks that have no assigned resources."
What should the AI start with? dialog with Tasks selected

Each change arrives as a preview, never as a silent edit. Review it, click Apply, and the change is saved with no copy-paste or manual editing. If a change turns out wrong, ask the AI to "undo that last change" within 30 minutes. Undo cannot recall a webhook or Zapier notification the change already triggered.

Per-Employee AI Assignment

One of the more practical aspects of Maverick's AI integration is that model assignment is per resource, not per account. Each employee record can specify a preferred AI provider and model. This gives organizations fine-grained control over cost, capability, and access:

  • Right-size the model for the role. Power users like senior project managers can be assigned GPT-4.1 or Claude Opus for complex scheduling tasks, while others are assigned GPT-4.1 mini or Gemini Flash. You pay for capability where it matters and save where it does not.
  • Per-employee API keys mean transparent billing. Each employee uses their own API key, so usage costs are tracked at the individual level rather than pooled in a single account. This is especially useful for client-billing scenarios.
  • Clean offboarding. Deactivating a resource record in Maverick automatically removes their AI access. There is no separate AI admin console to update — the resource record is the single source of truth.
  • Workgroup defaults with individual overrides. A workgroup record can specify a shared default provider and model that all members of the group inherit. Individual members can override the group default with their own preference.

For a full walkthrough of how to configure AI providers and models on resource records, see the AI providers and models assigned to resources guide.

Prefer Your Own Assistant? Connect Claude or ChatGPT

The OpenAI client connects Maverick's built-in AI chat to your provider. If you would rather work from an assistant app, Maverick's MCP Server connects Claude or ChatGPT to the same live data with your own login.

Ready to Connect Your First AI Provider?

Start the free trial and connect any of the supported AI providers in minutes. The setup wizard preloads default provider and model records for OpenAI, Anthropic, Google, and popular free-tier options — you just add your API key.

Start Free Trial