Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

Compare

Foundry IQ Knowledge Base vs File Search vs Agent Memory

30-second answer

Use a Foundry IQ knowledge base (on Azure AI Search) to ground an agent on curated company content. Use file search for documents a user brings into a conversation. Use memory for what the agent should learn about a user over time, such as preferences, across sessions.

Simulate it »

Side by side

↔ Swipe the table to see every column.

Foundry IQ knowledge baseFile searchMemory
HoldsCurated organizational content (indexes, blob, SharePoint, web)Files uploaded for the agent or conversationFacts and summaries learned from conversations
Who adds contentContent owners, through indexingThe user or the appThe agent, automatically
RetrievalAgentic retrieval: planned sub-queries, hybrid and semantic search, citationsVector search over a vector storeSearch over memory items (user profile, chat summary)
LifetimeAs long as the indexAs long as the vector storeUntil a retention TTL or a forget request
ScopeShared by many agentsOne agent or one conversationPer user (scope key)
Example40,000 HR policy pagesA contract pasted in today“I’m vegetarian”

Prices are illustrative pay-as-you-go list prices converted at approximate rates, for "price feel" only. Check the Azure pricing calculator for real quotes.

Which one should I pick?

  • Foundry IQ knowledge base

    Pick it when many users ask about the same company content

  • File search

    Pick it when each user brings their own documents

  • Memory

    Pick it when the agent should personalise across sessions

Simulate it

3D Plan and manage Foundry: models, data, deployments, cost, security and safety Send a policy question, an upload and a preference.

🖱️ Drag to rotate · scroll or pinch to zoom

Loading the 3D scene…
</> Embed

Embed this simulation

Free for trainers, teachers and bloggers. Paste this into your page:

Where an agent gets its facts

Curated company content lives in a Foundry IQ knowledge base on Azure AI Search. Files a user drops into the chat go to file search. What the agent learns about the user across sessions goes to memory (user profile, chat summary).

Read this tour as text
  1. Pick the right model or tool. A router in your app sends each job to the cheapest thing that does it well: a reasoning model for multistep problems, a small language model for high-volume labelling, a multimodal model for photos, and a Foundry Tool such as Content Understanding for invoices.
  2. Where an agent gets its facts. Curated company content lives in a Foundry IQ knowledge base on Azure AI Search. Files a user drops into the chat go to file search. What the agent learns about the user across sessions goes to memory (user profile, chat summary).
  3. Resource, projects and deployment types. One Foundry resource holds deployments, networking and keys. Projects inside it isolate teams. Global deployments may process anywhere, Data Zone stays in the EU or US zone, Standard stays in one region. The standard agent setup keeps threads, files and vectors in your own Cosmos DB, Storage and AI Search.
  4. Configure deployments and agent versions. A deployment pins a model, a model version, a deployment type, capacity (TPM) and a guardrail. An agent gets a new version every time you change it; the endpoint serves the version you choose, so you can roll back.
  5. CI/CD with an evaluation gate. The agent definition, prompts and Bicep live in Git. The pipeline signs in with workload identity federation (no secret), runs an evaluation on a test set, and only then promotes from dev to test to prod projects.
  6. Quotas, 429s, spillover and budgets. Quota is tokens per minute per model, per region, per deployment type. Each deployment gets a slice; RPM comes with it. Go over and you get HTTP 429 with a retry-after header. Provisioned throughput can spill over to a standard deployment, and a cost control can stop a project at its token budget.
  7. Monitor models, agents and search. Azure Monitor metrics show requests, tokens, latency and errors. Application Insights holds traces, and continuous evaluation scores a sample of live answers for groundedness and safety. For Azure AI Search, watch indexer runs, document counts, search latency and throttled queries.
  8. Keyless and private. The app uses a managed identity and Microsoft Entra ID tokens, with the Foundry User role on the resource. Local (key) auth is turned off. Public network access is disabled and a private endpoint in your VNet is the only way in.
  9. Guardrails at four intervention points. A guardrail is a set of controls: a risk (hate, violence, prompt attacks, indirect attacks, protected material, PII), the intervention point (user input, tool call, tool response, output) and the action (annotate, or annotate and block).
  10. Evaluate, red team and trace. Evaluators score answers: groundedness, relevance, coherence, safety, and agent ones like tool call accuracy and task adherence. The AI red teaming agent attacks before launch. Traces in Application Insights record every model call, tool call and approval for audit.
  11. Govern what the agent may do. Give the agent only the tools it needs (allowed tools), make risky tools require approval from a human, let the tool call guardrail check what it sends, and limit where a hosted agent can connect with network egress controls.

Questions people ask

Is memory the same as conversation history?

No. The conversation holds short-term context for one session. Memory extracts durable facts and summaries so the agent can use them in later sessions.

Can an agent use all three?

Yes. A support agent often grounds on a knowledge base, reads files the customer uploads, and remembers the customer’s preferences.

Learn each one properly

More comparisons

Install MSDEVBUILD Azure

Free · no account · works offline

Save the whole course for offline ›

Hi, I’m your Nimbus

Your study buddy. Pick what we do next.

MSDEVBUILD · Multi-Stack Dev Build

Sign in to MSDEVBUILD

One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.