The engineering behind Anto

Full-stack architecture, conversational AI, and real-time messaging built for reliable everyday use.

Hands holding a phone open to an unanswered chat, beside a notebook with handwritten questions

Layered architecture

Mobile and web clients, Node API with WebSockets, AI pipeline with session context, MongoDB and Redis.

📱

Mobile client

React Native + Expo. Native navigation and Socket.IO.

React NativeExpoTypeScriptSocket.IO
🌐

Web client

Next.js, TypeScript, ES/EN routes.

Next.jsReactTypeScriptCSS
⚙️

API and real-time

Express, REST, Socket.IO, Winston logs.

Node.jsExpressSocket.IOWinston
🤖

AI layer

OpenAI, session-context prompts, chat history in MongoDB.

OpenAIPromptsMongoDBRedis
💾

Persistence

MongoDB (users, chat, subscriptions). Redis for session.

MongoDBMongooseRedisIndexes

Challenges and solutions

⚡

Real-time

Challenge: Reply as the conversation happens.

Solution: Socket.IO, Redis, simple queries.

🔒

Privacy

Challenge: Keep conversations private.

Solution: Encryption in transit (TLS) and at rest. Anto and the model read the text. JWT auth and security headers.

📱

Cross-platform

Challenge: iOS, Android, and web without three products.

Solution: React Native on the phone, Next.js for this site.

🤖

AI

Challenge: Use OpenAI with the person's thread.

Solution: Prompts with session context.

📊

Scale

Challenge: Scale the app and conversations.

Solution: API on Render, site on Vercel, GitHub Actions.

🎨

Use

Challenge: Make it understandable and usable.

Solution: A simple interface, the same voice as the rest of the site.

Build pipeline

From the repo to production (Vercel, Render, EAS, GitHub Actions).

1

Plan

Architecture, APIs, how it looks.

    2

    API

    Express, OpenAI, JWT. Encryption in transit (TLS) and at rest. Anto and the model read the text. WebSockets.

      3

      Clients

      React Native and Next.js.

        4

        Review

        Lint, types, build on GitHub Actions.

          5

          Deploy

          Site on Vercel, API on Render, Sentry.

            👨‍💻

            Who builds it

            Marcelo Ull Marambio

            Full-stack engineer: React Native/Expo, Next.js, Node.js, MongoDB, Socket.IO, and OpenAI integrations.

            If you have a question about how Anto is built, write to me.

            Anto does not replace therapy or professional clinical care. If you are in crisis, seek emergency help in your country.

            Development - Anto | Stack and Architecture