Skip to main content
Microsoft Foundry

Document / Spec Summarizer

Description

What this agent manifest does

Upload a long document; get a TL;DR, the key points, and the open questions — grounded only in the text.

Build an agent that takes one uploaded document — a PRD, a contract overview, a research paper, an onboarding packet — and returns a structured summary: a three-line TL;DR, the key points grouped by theme, and the open questions a careful reader would flag. It uses File search to read only the document you provide, pointing to the section behind each point so nothing is asserted that isn't in the text.

This is a single-tool read → structured digest pattern using natural-language prompt structure. The defining design decision is a hard line between extraction (what the document says) and interpretation (what it might mean): the agent does the first and routes the second into open questions rather than guessing. That boundary is what keeps a summarizer trustworthy. The instructions also handle the failure modes — long documents (summarize per section, then synthesize), missing or contradictory content (name it, don't paper over it), and inputs that aren't really prose (a form, a raw sheet — say so).

This pattern applies anywhere an agent needs to read one source and distill it without losing fidelity. Common scenarios for this pattern:

  • Product / engineering spec reviews
  • Contract or SOW overviews (non-legal-advice)
  • Research-paper and report digests
  • Onboarding and policy packet reads
  • Long proposal or meeting-doc triage

The tools it uses

This manifest uses: File search

Use this agent manifest to understand

How to build single-shot agents using natural language prompt structure for structured summary output.

License

This agent manifest is sample code subject to Azure's licensing terms for Distributable Code under the Universal License Terms for Online Services .

Disclaimer

IMPORTANT! This manifest is for educational and experimentation purposes. Resulting agents are not production ready. Review all provided resources and carefully test agent behavior in the context of your use case. Agents you create may be subject to legal and regulatory requirements, may require licenses, or may not be suitable for all industries, scenarios, or use cases. By using any manifest, you are acknowledging that resulting agents and other output are solely your responsibility, and that you will comply with all applicable laws, regulations, and relevant safety standards, terms of service, and codes of conduct. Learn more .