Can Aider run against local models so prompts stay in your infrastructure?
Yes, Aider can run against local models, and its prompts go only to the model endpoint you configure. The documented routes are Ollama, which uses the OLLAMA_API_BASE setting and the ollama_chat/ model prefix, and any local server that offers an OpenAI-compatible API, which uses OPENAI_API_BASE, OPENAI_API_KEY and the openai/ prefix. Both can point at a server on your own network rather than a developer laptop. The Aider Ollama guide sets out the Ollama steps. The aider.chat home page, however, links only to documentation, GitHub, Discord and a blog, and it lists no enterprise plan. No paid edition with SSO, role-based access or central audit logging was found, so the reviewer is approving a free open-source command-line program, not a managed product.
The edition under review is the open-source command-line program, licensed under Apache-2.0 and installed on each developer's machine. Aider has no vendor-hosted control plane that an administrator can switch on, so the controls a security team expects must be built or supplied around it. Sign-in to the model endpoint is whatever your gateway or local server enforces, and Aider does not document a staff account system. Central audit logging is also absent. The built-in --llm-history-file option writes LLM conversations to a file on the machine where Aider runs, so collecting, protecting and retaining those files becomes your responsibility. Decide whether that arrangement is acceptable before any developer relies on it.
Before approval, confirm three things in your own environment. First, run a test session with network monitoring and confirm that the model endpoint is the only destination you see, because Aider checks for new versions on launch by default (--check-update) and sends analytics on a separate channel. Pass --analytics-disable on every launch path and verify that nothing leaves the machine. Second, check the retention, access and logging settings of the local model server or gateway, since those logs sit outside Aider. Third, confirm the context window the endpoint actually uses, because Ollama's default window is 2k tokens and it silently discards anything beyond that. Ask the maintainers, through the Discord link on the home page, whether a commercial edition is planned, and record the answer in the approval file.
Self-hosted and governance capabilities by option
This table compares each local model, analytics, logging and governance capability in the open-source Aider CLI against what a reviewer will ask about. Read each row as built in, as needing a component you run yourself, or as not documented in the pages reviewed. The home page at aider.chat lists no enterprise plan, so treat SSO, role-based access and central policy as outside Aider until the vendor confirms otherwise.
| Capability | Status in the open-source CLI | What you still need to check |
|---|---|---|
| Local models through Ollama | Built in: set OLLAMA_API_BASE and run with the ollama_chat model prefix | You run the Ollama server. Set num_ctx, because Ollama's default 2k window silently discards overflow. |
| OpenAI-compatible local servers | Built in: set OPENAI_API_BASE and OPENAI_API_KEY, then use the openai model prefix | You run and secure the local server, and confirm that it does not forward traffic to a hosted provider. |
| Hosted model APIs | Built in: OpenAI, Anthropic, Gemini, Azure, Amazon Bedrock and others are supported | Prompts and code leave your network when you use these. Confirm each provider's data terms before approval. |
| Analytics opt-in, disable and redirect | Built in: collection is opt-in, with --analytics-disable, --no-analytics or a custom PostHog host | Set the disable flag in a shared .env file or launch script. Redirecting needs a host you operate; the default is app.posthog.com. |
| Local analytics log | Built in: --analytics-log FILE writes analytics events to a local file | You set the file location, access rights and retention. Check the event contents against the analytics documentation. |
| LLM history log | Built in: --llm-history-file records LLM conversations to a file | The file can contain prompts and code. Restrict its permissions and set retention and deletion yourself. |
| SSO | Not available in the CLI as documented; no enterprise plan found | Sign-in happens at each model provider or at a gateway you operate. Confirm the approach with your identity team. |
| Role-based access and central policy | Not documented in the Aider pages reviewed | Enforce through operating system accounts, repository controls and a gateway you run. Ask the vendor to confirm. |
| Central audit logging | Partial: only local analytics and LLM history files were found | No central audit trail was found in the pages reviewed. Ship these files to your own log platform. |
How Aider decides where each request goes
Aider sends each request to the destination set by two values it reads at launch: the model passed with --model, and the base URL variable that matches the provider. For a local Ollama server, that variable is OLLAMA_API_BASE. For a local server with an OpenAI-compatible API, it is OPENAI_API_BASE, paired with OPENAI_API_KEY. Aider loads these values from .env files in a fixed order: the home directory, the git repository root, the current directory, and then any file named with --env-file. Later files take priority, so a .env file in a cloned repository can override a developer's own setting. The client runs on the developer's machine. When the base URL points at a local server, no vendor server sits in the request path. The first check for the reviewer is to list every .env location Aider can read on those machines.
Hosted providers receive whatever Aider sends them. If the model is hosted, such as those from OpenAI, Anthropic, Gemini or OpenRouter, the prompt, the files added to the chat and the code included in the request go to that provider's endpoint under that provider's terms. Choosing a local model and a local base URL is what keeps those requests inside your infrastructure. Ask engineering which models and base URLs are approved, and whether any repository .env file sets a hosted key or endpoint. Then test it: run a session against a local model while monitoring network egress, and confirm that no request leaves for an external host. Keep the result as evidence for the review.
Analytics run on a separate path from model traffic, and they are collected only if a user opts in. Aider asks a random subset of users whether to opt in by default, and answering no disables analytics permanently. Administrators can enforce the choice with --analytics-disable, turn analytics off for one session with --no-analytics, or write events to a local file with --analytics-log for audit. Where analytics stay enabled, --analytics-posthog-host redirects events to a different PostHog host, and the default host is app.posthog.com. Aider describes the data as model and token counts, edit formats, feature use and errors, tied to a random identifier, and says it does not collect code, chat messages or keys. Aider's analytics documentation is the source to confirm those statements against before approval, and the setting should be checked in every managed configuration.
Which Aider paths leave the network, and which stay local
The diagram starts at the Aider process running in a developer's terminal. Each model request goes to one destination set by configuration: Ollama on the same machine, an OpenAI-compatible server on the internal network, or a hosted provider API, which leaves the network boundary by design. The analytics path is optional and runs only if a user has opted in, sending events to a PostHog host that defaults to app.posthog.com unless it is redirected. Check each developer's OLLAMA_API_BASE or OPENAI_API_BASE setting, and confirm that analytics are disabled or pointed at an approved host. The LLM history file and the local analytics log stay on the laptop.
Model and analytics paths from a developer machine, with the network boundary marked.
Which self-hosted decisions the organization has to make
Aider runs on the developer's machine, so the data path is set by a handful of settings that each developer or the team's configuration can change. The decisions below determine which model receives code, where those settings are stored, and what evidence survives a session. Settle them in writing before rollout, because each one has a default that a developer can override.
Which model endpoint is allowed
Aider can send prompts and code to a local Ollama server, an internal OpenAI-compatible server, or a hosted provider, and the choice decides who receives the code. Approve endpoints by name and record them in a shared configuration file, then confirm what stops a developer from overriding that file on the command line. Confirm that the internal server keeps prompts in your infrastructure and that its own logs meet your retention rules. Local models also need a context window sized for the task, because Ollama's default window is small and silently drops text beyond it.
Aider Ollama docsWhere .env files live
Aider reads API keys and settings from .env files in the home directory, the git repo root, the current directory or an --env-file path, and later files take priority. A .env placed in a repository can travel with the code to every clone, so anyone who can change it can redirect the endpoint or switch on settings for the whole team. Decide which file is authoritative and limit who can edit it through code review, and keep keys out of repository files. Check that a project .env cannot override the approved home-directory settings.
Analytics disabled or redirected
Aider collects analytics only from users who opt in, and a random subset of users is prompted, so the team should settle the answer in advance. Collected data covers model names, token counts, edit formats, feature use and errors, tied to a random identifier, and Aider states it does not collect code, chat messages or keys. Disable analytics in shared configuration with --analytics-disable unless you run your own PostHog collector, in which case --analytics-posthog-host and a project key redirect events there.
Local audit log location
--analytics-log FILE writes analytics events to a local file for audit, and --llm-history-file records the conversations with the model, including any code shared in them. Both files are written on the developer's machine, so the team must choose a path the collection job can read, set file permissions, and decide how long copies are kept. Treat the LLM history file as sensitive because it holds source code. Confirm with your own tooling how these files reach central logging, if they do at all.
Network egress from developer machines
Aider makes outbound calls to whichever model endpoint is configured, and to the analytics host unless analytics are disabled. It also checks for new versions on launch by default, which --check-update controls. Write the allowed destinations as an explicit list for each developer machine, covering the approved model endpoint, and decide whether version checks and the analytics host are permitted. Test the list from a clean workstation, since a list that is too broad weakens control and one that is too narrow breaks installs and sessions.
TLS verification settings
--verify-ssl defaults to true, so Aider checks the certificate of each model endpoint it calls. Internal servers often use certificates issued by a private authority, and the correct fix is to add that authority to the trust store. Do not set verification to false in shared configuration, because turning the check off lets an attacker on the network read prompts and code without any warning. Also set --timeout for API calls so a stalled connection does not hold a session open, and confirm both settings in the managed configuration.
How the answer changes by model setup and environment
Hosted model APIs are the most common setup. Aider runs on the developer's machine and sends each model call to the provider you select, such as OpenAI, Anthropic, Gemini, Azure or Amazon Bedrock. The provider's endpoint receives the prompt, the files added to the chat and the reply, so the data path leaves your network at that call. Where the call is processed depends on the provider account, its region and its contract.
- Prompt destination: the provider endpoint configured for each developer, including any gateway or proxy URL. Confirm which endpoints and regions each approved account uses.
- Analytics default: Aider collects analytics only if a user opts in, and it may ask a random subset of users whether to opt in. Disable them for all users with
--analytics-disablein a shared configuration. - Retention and training: set by the provider's terms for the account type you buy. Get the retention, training and zero data retention terms in writing for each provider.
- Keys: API keys are read from
.envfiles or the environment on each laptop, so issuance, rotation and revocation fall to your team. - Organization owns: the approved provider list, egress rules, contract review and a data classification for each provider.
Check which provider accounts developers can reach from their laptops, and confirm the written retention terms for each one before approval.
A local model served by Ollama keeps prompts on the developer's machine when Aider points at a loopback address. You set OLLAMA_API_BASE, usually to and start Aider with aider --model ollama_chat/<model>. The laptop then holds the prompts, the code context and the model weights, and no model call leaves the machine unless the base address is changed. Aider with Ollama documents the setup.
- Prompt destination: the Ollama process at the configured address. Check the value on each machine, because a copied or changed base address can send prompts to another host.
- Context window: Ollama's default window is 2k tokens and it silently discards anything beyond that. Aider sizes the window to the request plus 8k tokens for the reply, and you can fix
num_ctxin.aider.model.settings.yml. - Analytics default: the same opt-in rules apply, so set
--analytics-disablethrough a shared.envfile to make the choice consistent. - Device controls: model weights, chat history and any
--llm-history-filelogs stay on the laptop, so disk encryption, backup exclusions and removal at offboarding are your responsibility. - Model choice: the team picks which model to pull and reviews its license separately from Aider. Record the model name and version for each developer.
Confirm that no shared profile or machine image points OLLAMA_API_BASE at a remote host, and decide whether each laptop is an acceptable place to edit the code involved.
An OpenAI-compatible server inside the company network gives teams one shared model endpoint. You set OPENAI_API_BASE to the endpoint URL and OPENAI_API_KEY to its key, then run aider --model openai/<model-name>. Prompts go to that internal host, so the data path stays inside the network only if the host, its routes and the model server are all internal. Aider with OpenAI-compatible APIs describes the configuration.
- Prompt destination: the URL in
OPENAI_API_BASE. Confirm that the hostname resolves to an internal address and that developers cannot swap in another base address. - Transport checks:
--verify-ssldefaults to true. Keep it on, make sure the internal certificate chain is trusted on developer machines, and review the--timeoutvalue for long calls. - Analytics default: the internal server does not change the opt-in rule. Disable analytics with
--analytics-disable, or send them to an internal PostHog host with--analytics-posthog-hostif your standards allow it. - Server operation: your organization owns the server, the model it serves, its access logs, patching, capacity and key management.
- Access control: decide which teams may use which keys, and record requests at the gateway, since Aider's own logs only cover what the client writes.
Confirm where the server's logs are kept, who can read them and how long they are retained.
In an air-gapped network, Aider and the model server have no route to the public internet, so installation and every model call must be planned in advance. Aider is installed from a package source you approve and copy into the segment, and the model runs on an internal server or a local Ollama instance. Prompts stay inside the isolated segment, but your team carries the work that a connected install would otherwise handle, including updates and model delivery.
- Prompt destination: only hosts inside the isolated segment. Test from a developer machine that external provider domains do not resolve or route.
- Update checks:
--check-updatedefaults to true and checks for new versions on launch, which needs outside access. Turn it off in the shared configuration, and confirm the exact setting in the Aider options reference. - Analytics default: analytics would need a route out, but set
--analytics-disablein a managed.envfile so the choice is explicit and no prompt reaches users. - Release management: your team owns the version it approves. The latest release in the sources for this page is 0.86.2, so record the version you test and the process for moving a new one across the gap.
- Model supply: model weights arrive through an approved transfer process, and you own their provenance, checksums and licensing.
Test the setup from inside the segment using your production network controls, and keep the results in the approval file.
Where Aider falls short of an enterprise control set
Aider's documentation covers local model and endpoint settings, but several defaults and missing controls will come up in a control review. Each card below is one gap, with the usual way to cover it. The project's home page shows no commercial support offering, so plan for in-house ownership of these fixes.
No SSO or SCIM documented
Aider's documentation does not describe single sign-on or SCIM provisioning, so access follows whoever holds the provider keys and the workstation. Confirm this with the Aider maintainers before approval. The usual control is to stop storing keys in developer shells, issue them per user through your LLM gateway or identity provider, and revoke them through that system when someone leaves. Check where .env files sit on each workstation.
No role-based access or central policy
Aider has no documented role model or admin console that applies rules to every developer at once. Each person sets models, flags and endpoints in their own environment, so one engineer can point Aider at an endpoint nobody approved. The usual control is to publish a standard .env and model settings file from a controlled repository, and to block outbound calls to unapproved endpoints at the network layer.
No central audit log
Aider has no built-in central audit log that records prompts, edits and commands across users. The --llm-history-file option writes LLM conversations to a local file, and analytics can be logged locally, but neither is collected centrally. The usual control is to ship those files from each workstation to your log platform, set retention, and restrict who can delete them. Confirm what the files hold before enabling them, since prompts may include source code.
Silent truncation at the Ollama default
Ollama's default context window is small, and it silently discards input beyond that limit. Aider sizes the window to the request plus room for the reply by default, but a team that sets its own limits can fall below what a request needs, with no error shown. The usual control is to fix num_ctx in .aider.model.settings.yml for each approved model, then test with a large file so dropped context shows up before developers rely on the answers.
Analytics opt-in prompt
Aider asks a random subset of users whether to opt in to analytics, so some developers will see the prompt and others will not. Analytics cover models, token counts, edit formats, command use and errors, tied to a random UUID4. Aider says it does not collect code, chat messages, keys or personal information. The usual control is to set --analytics-disable in the shared configuration so no one answers the prompt, then confirm the setting holds on a clean machine.
Update check on launch
The --check-update option checks for new versions when Aider starts, and it is on by default. The check is a small outbound call, but your egress policy should allow or block it on purpose. The usual control is to turn the check off in the shared configuration and to install Aider from a package source you control, so each upgrade passes your own review. Confirm the setting in a test run on a workstation with restricted egress.
Order of work to approve Aider for self-hosted use
Aider sends each prompt and code excerpt to whichever endpoint its configuration names, so approval depends on fixing that endpoint first and then proving each setting holds. The sequence below moves from model endpoints to context, analytics, logging, transport checks and network egress. Each step closes with a check the reviewer can repeat before Aider is opened to staff.
Fix the approved model endpoints
The security owner and the engineering lead agree in writing which model endpoints Aider may call, for example a local Ollama server or an internal OpenAI-compatible server in your own network. Each endpoint is recorded with its owner, the models it serves and the network zone it sits in. Done when every approved endpoint is listed and no other model provider appears in the approval record.
Set model and base URL settings
Engineering sets the model name and base URL in .env files managed by the team. For Ollama, that is
OLLAMA_API_BASE. For an OpenAI-compatible server,OPENAI_API_BASEandOPENAI_API_KEYpoint Aider at the approved endpoint. Aider reads .env files from the home directory, the git repo root, the current directory and any--env-filepath, with later files taking priority, so the team must confirm which files a developer session actually loads. Keys belong in files with restricted access. Done when a test session reaches only the approved endpoint, confirmed in that endpoint's own request log.Fix the context window for local models
Ollama's default context window is 2k tokens, and Ollama silently discards anything beyond it, so a local model can lose instructions or code with no error shown. By default Aider sizes the window to the request plus 8k tokens for the reply. Engineering fixes
num_ctxin.aider.model.settings.ymlto a value the chosen model supports, then the reviewer sends a long prompt that starts with a known instruction and checks that the answer respects it. Done when the fixed value is in the managed configuration and the test passes for every approved local model.Decide and verify analytics handling
The security owner decides whether analytics stay off and records that decision with the approval. Aider collects analytics only from users who opt in, but it also asks a random subset of users whether to opt in, so the organization should set the disable flag itself and not depend on individual answers. Set
--analytics-disablein the managed configuration, then run a test session and confirm from the network logs that no analytics traffic leaves the approved path. Done when the decision is recorded and the test shows no analytics requests.Set local log and collection paths
Engineering points
--llm-history-fileat a log path on storage the organization manages, so prompts and responses are kept under the same access and retention rules as other sensitive records. If the security team needs a local analytics record for audit,--analytics-logwrites one to a file of its choosing. Done when a test session writes the expected files to the approved path, and the security team confirms the contents and the retention schedule.Test TLS and timeout behavior
Keep
--verify-sslat its default of true, then test the approved endpoint with its internal certificate chain. Engineering confirms that Aider refuses the connection when the certificate fails validation. Next, the team points Aider at a stalled or stopped endpoint and checks that calls end within the value set with--timeout. The team also decides on--check-update, which checks for new versions on launch by default, and files the results with the approval record.Restrict egress to approved endpoints
The network team allows outbound connections from developer machines and runners only to the approved model endpoints and the internal storage paths for logs. Connections to other model providers and to the default analytics host are blocked. Package installs and update checks go only through the channel the organization approved. Done when a test session reaches the approved endpoint, and attempts to reach other providers and the default analytics host fail and appear in the firewall or proxy log.
Evidence a security reviewer asks for and where it comes from
This table maps each item a reviewer typically requests for a self-hosted Aider setup to its source: the Aider documentation, the organization's own configuration, the model provider's terms, or the reviewer's own tests. The third column matters most, because Aider can supply settings and flags but cannot prove on its own where traffic goes, how long local files are kept or what a provider has agreed to. The strongest approval case combines pinned local endpoints, verified analytics settings and an independent egress test.
| Reviewer request | Where the evidence comes from | What Aider cannot supply alone |
|---|---|---|
| Approved endpoint list | Organization's own configuration: the OLLAMA_API_BASE or OPENAI_API_BASE values and the --model names set for each approved user | Aider does not enforce an allowlist; confirm no other provider keys or base URLs exist in user environments |
| Data flow diagram | Drawn by your team from the endpoint settings, the Ollama and OpenAI-compatible docs and your network design | Aider does not produce a network map; it only shows which endpoints the configuration requests |
| Analytics setting evidence | Aider analytics docs and options reference, your saved config showing analytics disabled, and a sample run with the analytics log option | Aider does not enforce settings across laptops; confirm device management or a shared config applies the disable flag |
| .env file ownership | Your OS permissions on each location Aider's .env docs list: home directory, git repo root, current directory and any --env-file path | Aider does not assign owners or restrict access to these files; the reviewer checks ownership and modes on each device |
| Local log retention | Your retention policy for files written by the llm-history-file and analytics-log options, and the paths you set for them | Aider sets no retention period for these files; rotation and deletion depend on your own policy and OS tooling |
| Model provider data terms | The hosted provider's written terms for API use; for local models, the license of each model and of the server software | Aider does not hold or summarize provider terms; the reviewer must obtain and read them from each vendor |
| Egress test results | The reviewer's own tests: run Aider with outbound traffic blocked except the approved endpoint, and record every connection | Aider cannot certify its own traffic; treat your capture, including any check-update or analytics calls, as the evidence |
Questions buyers ask before approving Aider for self-hosted use
Is there a paid edition of Aider for organizations?
Aider has no paid edition that we could find. The aider.chat home page lists no pricing page, enterprise plan or commercial support offering, and the code is licensed under the Apache License 2.0, which is a free license. Your organization does not buy Aider itself, so the license does not create a per-seat fee. Confirm this with the Aider maintainers in writing before procurement closes, and ask whether any commercial support or hosted service exists now or is planned. The costs that do arise come from the model providers and hardware you choose, covered in the next question. Any website terms or privacy policy is a separate document from the code license, so check it too.
What does it cost to run Aider with local or hosted models?
Aider itself has no license fee, so the cost is the model you run. With a hosted model, your organization pays the provider for the tokens each request sends and receives, so spend rises with the amount of code and chat context Aider sends and the number of requests engineers make. With a local model through Ollama or another OpenAI-compatible server, the costs are hardware, power and the staff time to run it, and larger models need more memory and faster accelerators. Settings that control how much context each request carries change token use, so test them on your own repositories before you budget. Ask your hardware vendor and each model provider to show which endpoints they bill, whether billing is per token or per machine, and which usage reports and spend limits they offer. Treat hardware as a one-time purchase and provider usage as recurring.
How long does an Aider setup security review take?
No fixed duration applies, because the length depends on the scope agreed in writing before work starts. The main drivers are how many model endpoints and machines are in scope, whether engineers use individual or shared API keys, how many repositories Aider can edit, and whether you want the findings retested after fixes. A review that covers one local model on a few machines is a smaller job than one covering hosted providers, several teams and managed configuration files. DeployOpen's AI agent rollout security review tests prompt injection, tool and file permissions, data exposure, credential handling and admin settings, then delivers a findings report with fixes and a retest. Ask for the timeline and its assumptions in the written scope, and confirm that your own team's availability for access and sign-off is included.
Can we turn off Aider analytics completely?
Yes. Aider collects analytics only after a user opts in, and the --analytics-disable flag turns them off permanently, while --no-analytics does so for one session. Aider also asks a random subset of users whether to opt in by default, and answering no disables them permanently. Per the analytics documentation, the data covers which models are used and how many tokens, edit formats, feature and command use, and errors, tied to a random UUID4 identifier. Aider states that it never collects code, chat messages, keys or personal information. For an audit trail, --analytics-log writes events to a local file. Settings can also come from .env files, where later files take priority, so confirm in a clean install that a repository-level file cannot re-enable analytics, and record which flags your standard configuration sets.
Do prompts leave our network when Aider uses a local model?
Not if you point Aider at a local endpoint. With a model server on your own network or machine, such as Ollama (see the Aider Ollama guide), prompts go to the address you set in OLLAMA_API_BASE, and the setup does not add a hosted hop of its own. The risk is misconfiguration: OPENAI_API_BASE or a leftover .env file can point Aider at a hosted provider. Verify this with network egress monitoring on engineer machines and a review of the effective environment and config files. Separately, Ollama's default context window is 2k tokens and silently drops anything beyond it, so Aider sizes the window to the request plus 8k tokens for the reply by default. You can fix num_ctx in .aider.model.settings.yml. That affects answer quality, not where data goes.
What can our own team set up before calling a security reviewer?
Your team can install Aider on managed machines with aider-install, uv, pipx or pip, choose which model endpoints are approved, and keep API keys out of repositories. It can also standardize the settings that matter most: analytics disabled, an approved model list, and version checks handled under your own change process. Write these into one shared configuration and test it on a clean machine. If you enable --llm-history-file, treat the log as sensitive because it stores conversations on disk. Keep a record of the Aider version you approved: as of December 2026, the latest aider-chat release on PyPI was 0.86.2, released on 12 February 2026, and upgrades can change behavior. An outside review adds adversarial testing, such as prompt injection through repository files, and evidence for your compliance file.
What does a DeployOpen Aider review need from our team?
A DeployOpen engagement needs a written scope, named owners and test access before work starts. Typical inputs are the machines and user groups in scope, the model endpoints and providers staff may use, the configuration files and environment templates people would copy, and a non-production environment where reviewers can run Aider without live credentials or production repositories. You also need someone to approve fixes and someone to schedule the retest. Engagements are fixed-scope, with deliverables and timelines agreed in writing. The review tests prompt injection, file and tool permissions, data exposure, credential handling and the settings described above, then delivers a findings report with fixes and a retest. DeployOpen prepares evidence for compliance assessments but does not issue audit reports or certifications.
How DeployOpen tests an Aider rollout before it is approved
DeployOpen treats Aider self hosted as a question of configuration and evidence: which model endpoint receives prompts, which files reach the model, and which analytics settings are switched off. We scope it in writing, build and test the setup in your environment, and hand over documentation your security and compliance reviewers can check. Engagements are fixed-scope, and ongoing support is available as a retainer.
How we scope
- The written scope names the model endpoints Aider may call, including any local Ollama or OpenAI-compatible server.
- We agree which repositories, file paths and credential sources are in scope before any testing starts.
- Scope also records which analytics switches are required, and who approves any change to them.
How we build
- We configure Aider against your local or self-hosted model, using the endpoint settings your scope approved.
- We check the Ollama context window, which defaults to 2k tokens and silently drops anything beyond it.
- We set analytics controls, .env file loading order and TLS verification, then record each setting in writing.
How we hand over
- You receive configuration documentation and the findings report, with fixes and a retest.
- The handover covers how analytics are configured, with evidence that each setting took effect.
- The runbook explains how your team reviews new Aider versions before upgrading the installed package.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped separately from the initial work.
- Support can cover changes to the model endpoint, the Ollama context window or the analytics host.
- Retest whenever the model endpoint, analytics host or Aider version changes in your environment.

