Praxis Agents OS
ArticleAgent architecture7 min read

Why AI Agents Give Inconsistent Results

Reliable agent systems do not eliminate variation. They control its sources, measure its effects, and limit its consequences.

The 5 root causes

Why the same task can produce different results

Variation comes from the model, the context it receives, the surrounding tools, and changes to the system over time. It can be measured and reduced, but not designed away completely.

  • 01

    Sampling and model execution

    Generation usually involves probabilistic sampling. Lower temperatures can reduce variation, but do not guarantee identical results across models, providers, hardware, or long tool-using runs.

  • 02

    Different context

    The same visible request can reach the model with different history, retrieved documents, tool results, files, or memory. Different input context produces different output even when the user prompt is unchanged.

  • 03

    Prompt drift

    Small changes in wording, examples, ordering, or system instructions can shift output significantly. Prompts also evolve as different people adapt them locally.

  • 04

    Incomplete operating context

    When rules, terminology, source data, and prior decisions are missing or ambiguous, the model has to infer them. Those plausible inferences will not always be the same.

  • 05

    Changing dependencies

    Model snapshots, aliases, retrieval indexes, tool APIs, and application code all change. A workflow can drift even when its prompt remains untouched.

The team problem

Shared tasks expose hidden variation

A personal workflow can rely on habits and context held by one person. A shared workflow needs those assumptions made explicit.

Different people write different prompts. They include different context, use different phrasing, and make different assumptions about what the AI already knows. Without shared instructions or shared task contract, there is no common foundation.

The result is not just variation in style. It is variation in substance - different facts surfaced, different priorities applied, different conclusions reached.

Unmanaged vs governed

The difference architecture makes

Governance does not make generation deterministic. It constrains inputs, records execution, controls change, and catches important variation before it becomes an external action.

Ad hoc use vs governed system
AspectAd hoc useGoverned system
  • MemoryContext depends on the individual sessionRelevant state is assembled through defined sources
  • PromptingEach person writes their own promptShared instructions and task contracts are versioned
  • Business rulesImportant rules depend on user recallRules and authority are part of the runtime context
  • ApprovalOutput can move directly into useConsequential actions can pause for review
  • Model changesDependency changes are discovered through failuresChanges are evaluated, observed, and rolled out deliberately
What consistency requires

A controlled process around a variable model

Prompt quality matters, but repeatability comes from controlling the full execution path and measuring the result.

  • 01 Task contract

    Define what must remain stable

    Specify required inputs, rules, output shape, acceptable variation, and failure conditions. Consistency cannot be assessed without a clear contract.

  • 02 Controlled context

    Assemble context deliberately

    Use explicit sources for instructions, files, task state, retrieved knowledge, and memory. Record what was supplied on each run.

  • 03 Evals and observation

    Test distributions, not one example

    Run representative scenarios repeatedly, score the behaviours that matter, and retain model, prompt, tool, and source metadata for diagnosis.

  • 04 Bounded action

    Separate variation from consequence

    Use typed tools, permissions, validation, and approval gates so a plausible but wrong output cannot silently become an external side effect.

Praxis Agents OS already applies ordered prompt assembly, typed tool dispatch, run limits, approval controls, and audit records. Persistent memory and the behavioural evaluation harness are implemented in the public build, with deterministic runtime scenarios and an opt-in graded model-evaluation layer.

Common questions

FAQ on AI agent inconsistency

  • What causes inconsistent agent performance?
    Five broad factors: probabilistic generation, different input context, prompt or instruction drift, incomplete operating context, and changes to models, tools, retrieval, or application code.
  • Why do AI tools give inconsistent results in teams?
    Different people supply different wording, files, history, and assumptions. A shared task contract and controlled context reduce that variation and make the remaining differences easier to inspect.
  • How do you get consistent results from generative AI?
    Define the task contract, control and record the context, evaluate repeated runs, observe dependency changes, and bound consequential actions with validation or approval. This improves reliability without claiming perfect determinism.
Share
LinkedInX

By Greg Asquith, creator and maintainer of Praxis Agents OS

Back to all articles
Explore the project

See how Praxis Agents OS puts these ideas into practice

Inspect the open-source implementation, read the architecture, and follow the capabilities being built next.