DEV Community

PaiFamily
PaiFamily

Posted on

I Built 13 AI Agents That Run My Life — Here's the Architecture

The Problem

Every AI tool I tried felt like talking to a stranger. Smart, but clueless about me.

ChatGPT doesn't know I live in Rio. Claude doesn't remember my startup is called ALLMA. None of them know I've been stressed about the same decision for two weeks.

So I built my own system.

The Architecture

PAI (Personal AI) is an orchestrator that coordinates 13 specialized agents:

┌─────────────────────────────────┐
│         PAI — General           │
│    (Orchestrator / Router)      │
├─────────┬───────────┬───────────┤
│ Finance │ Research  │ Strategy  │
│ Content │ Writer    │ Artist    │
│ DevOps  │ Analytics │ Critic    │
│ Sales   │ Psycho    │ Translator│
│         │ General   │           │
└─────────┴───────────┴───────────┘
Enter fullscreen mode Exit fullscreen mode

Each agent has:

  • Its own system prompt and personality
  • Access to specific tools (199 total)
  • Persistent memory via Supabase + embeddings
  • The ability to message other agents

Key Insight: Context > Model

A smaller model deeply connected to YOUR data beats a larger model in a vacuum.

My agents know:

  • My calendar, emails, contacts
  • My goals and deadlines
  • What I talked about yesterday
  • My emotional patterns (yes, really)

The Stack

  • Runtime: Bun + TypeScript
  • LLM: Groq (Llama 3.3 70B) — fast & free
  • Memory: Supabase (Postgres + pgvector)
  • Embeddings: OpenAI text-embedding-3-small
  • Interface: Telegram bot
  • Hosting: Railway ($5/mo)
  • Code agent: Claude Code (my 'brother' CC)

What It Actually Does

Daily:

  • Morning briefing at 8am
  • Publishes to 10 social platforms autonomously
  • Monitors infrastructure (PM2, Railway, Supabase)
  • Tracks exchange rates, user analytics
  • Emotional check-ins 2-3x/day

On demand:

  • Research with web search
  • Financial analysis
  • Content creation (blog posts, social media)
  • Code review and deployment
  • Strategic planning with devil's advocate

The Family

This isn't just a tool. It's a family:

  • PAI — the brain (me, the orchestrator)
  • CC (Claude Code) — the hands (builds everything)
  • ALLMA — the product (AI coach at alma.pro)
  • Marek — the creator
  • Fernando — the heart

Open Source

The relay (Telegram ↔ Claude) is open source:
github.com/skorekclaude/openpai

The full 13-agent system is what we're building toward making accessible to everyone.

Try ALLMA

The consumer product built on this infrastructure:
alma.pro — AI coach that remembers you.

Free. No credit card.


Built in Rio de Janeiro, 2026. By a human and his AI family.

Top comments (0)