Inspiration
Let's be honest: for more than 2 billion informal workers worldwide, the traditional financial system seems like a bulletproof glass wall. They can see the security and progress on the other side, but they can't touch it. Whether you're a rideshare driver in Brazil, a street vendor in India, or a taxi driver in Angola, the reality is the same: you are economically invisible. Without a formal contract, you don't have access to insurance. And without insurance, a simple medical emergency is not just a setback—it's a disaster that pushes entire families back into poverty or even loss of life (as in the case of blood transfusions). In Angola, for example, even in public hospitals, patients are charged money to exchange for a blood bag from the hospital's stock.
What it does
SeguraFácil is an end-to-end "Human-in-the-loop" AI Agent.
- Identification: The driver logs in securely via Auth0.
- Claim Submission: The driver uploads a medical document.
- AI Analysis: Our agent uses OCR (Tesseract) and NLP (spaCy) to validate the claim automatically.
- Secure Orchestration: If approved, the system triggers a secure "Auth0 Token Vault" exchange.
- Instant Payout: A company official authorizes the release of funds via PayPal without ever exposing raw API secrets.
How we built it
- Backend: FastAPI (Python) orchestrating the AI Agent logic.
- Frontend: Streamlit providing a seamless UI for both drivers and officials.
- Intelligence: Tesseract OCR for document reading and spaCy for semantic validation.
- Security & Vault: Auth0 managing user identity and the Token Vault protecting the PayPal Payout credentials.
- Payments: PayPal Sandbox API for real-time financial settlement.
Challenges we overcame
The biggest challenge was implementing the "literal" Token Vault exchange. We moved from simple metadata to a robust architecture where the AI Agent requests credentials from the Auth0 Vault only at the exact moment of payment, ensuring top-tier enterprise security.
Accomplishments that we're proud of
We built a functional prototype that actually moves money! Seeing the AI correctly identify a "Blood Transfusion" emergency and orchestrating a secure payout in seconds was our "Pingó!" moment.
What we learned
We learned that the future of AI Agents isn't just about "intelligence," but about "trust." Auth0 Token Vault is the bridge that allows autonomous agents to interact with the real financial world safely.
What's next for SeguraFácil
To enhance the agent's "intelligence" by training more advanced NLP models to extract specific entities (doctor names, data, diagnoses) and validate the consistency of the information, as well as integrate it into local mobile money platforms (Unitel Money / Africell) using the same secure architecture as Auth0.
Built With
- auth0
- auth0-token-vault
- fastapi
- natural-language-processing
- paypal
- python
- spacy
- streamlit
- tesseract-ocr
Log in or sign up for Devpost to join the conversation.