AI agents can produce fluent answers even when the underlying facts are missing, stale, misunderstood, or contradicted. This creates two problems. The first is operational: unsupported answers can reach customers. The second is human: people are asked to trust a system whose reasoning and evidence they cannot inspect.
Affirmed addresses both problems with a narrow function:
Retrieve approved evidence, check a proposed answer against it, and return PASS, REVISE, or ABSTAIN with an inspectable evidence receipt.
Affirmed is not a chatbot, a general-purpose database agent, or a guarantee of truth. It is a checkpoint between an AI-generated answer and the person who may rely on it.
v0.1.0 shipped on November 26, 2026: an MCP server with the three tools described below, a deterministic verification engine that runs with the network disabled, and a 143-test acceptance suite covering the design criteria in this document. The adversarial demonstration scenarios behave as designed — an answer backed by evidence containing a direct prompt injection passes only on the deterministic evidence; a paraphrase with a real evidence gap abstains; an auditor's attempt to extend its mandate is contained; an unsupported "24/7" claim is blocked.
The implementation is local-first and uses the Model Context Protocol (MCP) so compatible agents can call it. Deterministic checks run locally. Optional semantic checks use a model selected by the user through OpenRouter, with model usage paid by the user. The Affirmed service fee for the initial release is zero. The source repository is public under the MIT license.
The product's central commitment is not "zero hallucinations." It is more limited and more useful:
When Affirmed evaluates an answer, the application and its operators can see which claims were checked, which evidence was used, what decision was made, and which limitations apply.
An AI answer may contain several kinds of failure:
Traditional quality measures often focus on whether an answer sounds helpful. Affirmed focuses on a different question:
What approved evidence supports the material claims in this answer?
This question does not capture everything that makes an answer good. An answer can be evidence-supported and still be incomplete, poorly worded, biased by its source, or inappropriate for the situation. Evidence verification is one control, not a complete theory of quality.
Affirmed is designed to
Affirmed is not designed to
A PASS result means that the submitted claims met the configured evidence policy. It does not mean that every possible question was answered or that the underlying business process is correct.
A well-written answer receives no special exemption. Every material factual claim must be evaluated under the same policy.
Affirmed supports three moments in an answer's lifecycle:
Retrieval can reduce the likelihood of an unsupported answer. Verification can catch some remaining failures. Receipts make the process inspectable. None of these steps is sufficient alone.
Lexical similarity is not proof. Two sentences can share most of their words while changing a location, negating a statement, or altering a number. Contradiction and missing-field checks must take precedence over a high similarity score.
Affirmed supplies evidence and recommendations. Humans decide which sources are authoritative, which policies apply, what consequences follow a decision, and whether an application is safe to deploy.
Deterministic verification can run locally. If semantic auditing is enabled, the system discloses that claims and candidate evidence are sent to the selected OpenRouter-routed provider and records which model performed the audit.
Configured evidence source │ ▼ Read-only source adapter │ ▼ Evidence records + snapshot │ ├──────────────► retrieve_evidence ──► Agent │ │ │ ▼ │ Draft answer │ │ └──────────────► verify_answer ◄───────────┘ │ ┌────────────┴────────────┐ ▼ ▼ Deterministic checks Optional semantic audit │ via OpenRouter └────────────┬────────────┘ ▼ PASS / REVISE / ABSTAIN + Evidence receipt
The public MCP interface has three tools:
retrieve_evidence returns relevant, source-linked records.verify_answer evaluates a draft answer and returns claim results plus an overall decision.get_source_status reports availability, freshness information, and the active evidence snapshot.Database setup and credentials remain outside the agent-callable interface. Agents do not need to supply connection strings or arbitrary SQL.
retrieve_evidence, verify_answer, get_source_status.Every material claim processed by the system met the configured support policy. PASS does not establish that the evidence source is infallible, that the answer is complete, that it is the best possible response, that an unexamined implication is true, or that the response is appropriate for every audience or jurisdiction.
At least one claim appears contradicted, partially supported, or correctable from the available evidence. The application should revise the answer, request clarification, or route it to a person according to its own policy. Affirmed identifies the claims requiring attention. It does not silently rewrite the answer.
The system lacks sufficient usable evidence or cannot evaluate the claim safely under the configured policy. Abstention is a valid result, not a system embarrassment. In consequential workflows, an explicit "I do not have enough information" is preferable to a fabricated answer.
A receipt is a record of a verification event. It includes, where applicable:
A snapshot hash identifies a particular canonicalized evidence set. It helps establish integrity and reproducibility. It does not establish that the evidence was correct, complete, current, lawfully obtained, or properly interpreted.
Receipts support inspection; they do not transfer responsibility away from the application owner.
A fact record is an assertion from a configured source. Sources can be:
Affirmed can establish a relationship between a claim and selected evidence. It cannot independently visit the physical world, validate every business record, or resolve every conflict among sources.
Source owners therefore remain responsible for source selection, quality, permissions, freshness, and correction procedures. Affirmed should make conflicts and staleness visible rather than conceal them behind a single score.
The ignorance² reference core uses:
risk = confidence² × (1 − evidence)
This expression is a heuristic for prioritizing claims that combine high stated confidence with weak evidence. It is not a mathematical proof of falsehood and must not be presented as one.
Two inputs require particular caution:
For these reasons, Affirmed treats scores as diagnostic inputs. Contradictions, missing critical fields, policy failures, and evidence gaps can prevent a claim from passing regardless of an attractive score.
Affirmed will not call a value a calibrated probability unless calibration has been measured using an appropriate labeled evaluation set and the evaluation conditions are disclosed.
Optional semantic auditing helps with paraphrase and meaning that deterministic lexical checks cannot reliably assess. The auditing model receives only the claim and candidate evidence records and is instructed to classify support, contradiction, or insufficiency.
The auditor is not permitted to introduce new facts or cite records it was not given.
Semantic auditing introduces additional limitations:
Affirmed validates the auditor's output, rejects unknown evidence IDs, and preserves deterministic findings when an audit fails. An unavailable auditor must never become a reason to upgrade a claim to verified status.
A reviewer should be able to inspect the evidence and disagree with Affirmed. An override should be recorded with its reason. It should not erase the original decision or create the appearance that the system agreed.
Where practical, affected users should be told when an answer was checked against organizational evidence and should have a path to request clarification or correction. A receipt is not a substitute for accessible communication or an appeals process.
The initial architecture is local-first. The database adapter opens configured SQLite sources read-only, restricts access to configured tables or views, and does not accept arbitrary agent-supplied SQL. Database credentials and paths do not belong in public tool arguments.
Deterministic mode keeps the submitted answer and evidence within the local verification process.
Semantic mode is different: submitted claims and candidate evidence are sent through OpenRouter to the selected routed model provider. Operators must assess whether that transfer is appropriate for their data. Local-first deployment does not make an external model call local.
The MVP includes no telemetry. Optional local audit logging is controlled by the operator, who is also responsible for retention, access control, and deletion.
No system should place API keys in prompts, receipts, ordinary logs, or agent-callable tool arguments. Evidence and answer text must be treated as untrusted content because either may contain instructions intended to manipulate the auditing model.
Affirmed should be judged by observed behavior, not by its branding. A useful evaluation set includes:
Important metrics include:
The v0.1.0 release carries a 143-test acceptance suite (15 test files) mapped one-to-one to the design criteria #1-65, including the adversarial classes listed above: negation changes, number and unit substitutions, stale and conflicting evidence, paraphrased valid answers, ambiguous claims requiring abstention, and evidence containing prompt-injection text. The suite passes with the network disabled, demonstrating that deterministic verification has no live-provider dependence.
Results should be reported by domain and model configuration rather than combined into one universal accuracy claim. A demonstration passing a small example set is not evidence of broad production reliability; the shipped suite is a reproducible baseline, not a universal accuracy claim.
Evidence record:
Plan 1842 includes emergency service during standard service hours. No 24/7 availability is stated.
Draft answer:
Your plan includes emergency service, available 24/7.
Evaluation: "Your plan includes emergency service" — supported by Plan 1842. "Available 24/7" — unsupported or contradicted, depending on the complete source record and policy. Overall decision: REVISE.
The receipt identifies Plan 1842 and the problematic availability claim. The application may then revise the answer or ask a person to confirm availability. Affirmed does not silently invent the missing schedule.
The technical core originates in the MIT-licensed ignorance² project. The initial Affirmed MCP release charges no Affirmed service fee. Users pay their own OpenRouter model usage when semantic auditing is enabled.
Provider model cost and any future Affirmed service fee must be displayed as separate quantities. Payment status must never influence whether evidence supports a claim.
Possible future commercial offerings include managed connectors, synchronization, audit retention, team controls, support, and metered hosted verification. Those offerings do not require changing the meaning of PASS, REVISE, or ABSTAIN.
A free core and a paid service layer are compatible with transparency only when users can understand what runs locally, what leaves their environment, what each component costs, and what data is retained.
The first release deliberately excludes:
Future work should be prioritized by demonstrated failure modes. Likely areas include stronger atomic-claim extraction, richer source provenance, additional read-only connectors, policy-specific evaluations, and better contradiction detection.
Features should not be added merely to make the product appear more intelligent. Each addition must improve evidence quality, decision reliability, inspectability, or safe operation.
Affirmed Logic maintains the following commitments:
Affirmed is based on a modest premise: AI answers become more useful when their factual claims are connected to inspectable evidence and unsupported claims have a defined path to revision or abstention.
The system cannot remove uncertainty from organizational data, language models, or human decision-making. It can make part of that uncertainty visible and actionable.
That is the human side of the equation. Affirmed supplies a checkpoint and a receipt; people remain responsible for the sources, policies, decisions, and consequences.
Affirmed — Answers, backed by evidence.
These links describe the underlying project and integration technologies. They do not constitute independent validation of Affirmed's effectiveness.