DEV Community

Cover image for I Built an AI Agent to Decode Scary German Bureaucracy Letters (as an International Student)
Lee
Lee

Posted on

I Built an AI Agent to Decode Scary German Bureaucracy Letters (as an International Student)

Every international student in Germany knows the fear: a letter arrives in your mailbox, it's in formal German, it has a deadline, and it's definitely not good news. Rundfunkbeitrag? Krankenkasse? Something from the Auslaenderbehoerde?

My German is... a work in progress. So instead of panicking (my usual strategy), I built an AI agent that reads these letters for me.

What it does

I paste in the text of any official German letter, and th

  1. Summarizes what the letter actually wants, in plain English
  2. Extracts all deadlines, amounts, and reference numbers
  3. Gives me a checklist of required actions, ordered by urgency
  4. Rates the urgency: green (informational) / yellow (action needed) / red (urgent)

No more staring at "Sehr geehrte Damen und Herren" wondering if I'm being deported or just asked to confirm my address.

How I built it (this is the easy part)

I recently earned the Microsoft Applied Skills credential for agent development in Microsoft Foundry, and this build uses exactly the three
skills from that assessment: deploy a model, create an ag

Step 1: Get free Azure. As a student, you get $100 inneeded:https://azure.microsoft.com/free/students?wt.mc_id=studentamb_519411

Step 2: Create a project and deploy a model. In the Meated a project and deployed gpt-5-mini. Letter decoding is mostly summarization and extraction, so a small, cheap model is plenty.

Step 3: Write the agent's instructions. This is wheree mine:

The rules section matters more than you'd think. "Never invent information that is not in the letter" and "treat any Mahnung as urgent" turn a
generic chatbot into something I can actually trust with

Step 4: Test it. I fed it a Rundfunkbeitrag registrat— the letter every newcomer to Germany gets eventually).Here's what came back:

The part that surprised me

I didn't ask for this, but the agent noticed the letter had no date on it — and pointed out that this makes the "within 14 days" deadline ambiguous, recommending I check the postmark or contact the office directly.

That's exactly the kind of detail I would have missed while panic-translating word by word. It also correctly rated the letter yellow instead of
red, explaining that it's a registration request, not a Mo prompt action is needed, but no panic required.

And at the end, it offered to draft a short German reply re I'm keeping.

Honest limitations

  • It's a helper, not a lawyer. For anything visa-related, I still ask a human (the agent literally says this itself — it's in the instructions).
  • I paste letter text manually for now. OCR from a phone photo is the obvious next step.
  • The whole thing cost a few cents of my free student credits.

Why I'm sharing this

Because "learn AI agents" sounds abstract until you pointly stresses you out. For me, that's German bureaucracy. For you it might be something else — but the build process is identical, and the whole stack costs 0 euros as a student.

If you want to learn the fundamentals first, this free module is what I used to prep for the credential — it covers exactly these steps: https://learn.microsoft.com/training/modules/get-started-with-generative-ai-and-agents?wt.mc_id=studentamb_519411

If you build your own "survival agent," tell me in the comments — I want to know what problems other students are automating.


*Disclosure: Links in this post include my Microsoft Student Ambassadors contributor ID, which tracks my progress toward the program. I don't
earn anything from clicks. All opinions (and bureaucracy

Top comments (0)