← sources

How are you handling sensitive data when building AI agents?

source: reddit (reddit:AI_Agents)published 2026-09-24 13:11ingested 2026-09-25 02:36

retained text

I’ve been thinking about a problem that seems to become more important as AI agents get access to more tools and internal systems.  
An agent might need to work with things like company documents, customer information, internal knowledge bases, or private databases. Sending all of that data to an external AI service can create privacy, compliance, or data-control concerns.  
  
I’ve been looking into *LM-Kit* as one approach to running the AI stack more privately, particularly around local document processing, RAG, tool use, and AI agents.  
For those building agents in production, how are you currently handling this?  
Do you prefer running the models and agent infrastructure locally/on-premise, or are hosted APIs still the more practical option for your use case?  
I’m especially interested in how people are balancing *AI agent capabilities, data privacy, and infrastructure complexity*.

document fetched 2026-09-25 00:19 · canonical https://reddit.com/r/AI_Agents/comments/1wp19c4/how_are_you_handling_sensitive_data_when_building