Adam BlansettSenior Full-Stack & AI Engineer
AI Engineering
10 min read
Adam Blansett

Architecting a Self-Hosted AI Administrative Agent: IANA Timezone Scheduling, Travel Contingencies, and Cited Briefings

Inside ai-admin-agent: scrypt + JWT 4-tier RBAC, multi-party IANA timezone scheduling with focus-block protection, corporate travel disruption contingencies, hybrid-RAG cited briefings, and P0–P3 SLA triage.

Executive OpsIANA TimezonesHybrid RAGFastAPIRBACHITL ApprovalsOpenTelemetry

Executive scheduling, travel disruption handling, pre-meeting dossier preparation, and urgent inbox triage consume hours of leadership and chief-of-staff bandwidth every week. Yet pasting confidential board itineraries and executive correspondence into consumer cloud assistants introduces immediate data-leakage risk.

AI Administrative Agent Platform (open-source on GitHub) delivers a production-ready release candidate built on Python 3.12, FastAPI, async SQLAlchemy 2.0, PostgreSQL (`pgvector`), Redis, and React 18—keeping executive data self-hosted behind centralized HITL approvals.

IANA Timezone Multi-Party Scheduling & Focus-Block Protection#

Under `/api/v1/scheduling/*`, the slot solver evaluates multi-party availability across global IANA timezones, enforces pre- and post-meeting travel/prep buffers, respects recurring focus-block protections, and previews proposed times before placing external calendar invites into the HITL approval queue.

Corporate Travel Policy Checks & Live TMC Disruption Contingencies#

The `/api/v1/travel/*` engine validates itineraries against corporate cabin, hotel, and advance-purchase ceilings, compares airfare quotes with quantified savings, and ingests HMAC-SHA256 signed Travel TMC webhooks via `/api/v1/integrations/*` to generate rebooking contingencies when flights delay or cancel.

Cited Pre-Meeting Briefings & P0–P3 SLA Correspondence Triage#

Before key meetings, `/api/v1/briefings/*` combines vector and lexical retrieval to compile cited dossiers summarizing prior decisions, open action items, and risk callouts. Meanwhile, `/api/v1/triage/*` classifies incoming correspondence from `P0` to `P3`, triggers SLA breach alerts, and drafts replies routed through `/api/v1/approvals/*`:

admin_agent_routes.txt
/api/v1/auth/*         -> scrypt credentials, HS256 JWT, 4-tier RBAC
/api/v1/scheduling/*   -> IANA slot solver, buffers, focus blocks
/api/v1/travel/*       -> policy checks, quote comparator, TMC contingencies
/api/v1/briefings/*    -> hybrid vector + lexical cited dossiers
/api/v1/triage/*       -> P0-P3 classification, SLA alerts, HITL drafts
/api/v1/jobs/*         -> sla_escalation_sweep, auto_premeeting_briefings
  • Scheduled Sweeps & External Adapters (`/api/v1/jobs/*`, `/integrations/*`): Runs `sla_escalation_sweep`, `auto_premeeting_briefings`, and `travel_disruption_poll` with pluggable Google Calendar, Microsoft Graph, SMTP/Gmail, and Travel TMC adapters.
  • Security, Audit & Observability: Protects credentials with `scrypt` + HS256 JWT RBAC (`executive`, `chief_of_staff`, `assistant`, `admin`), Redis-backed rate limiting with fallback, SHA-256 hash-chained audit logs (`/api/v1/audit/*`), Prometheus `/api/v1/metrics`, and OpenTelemetry tracing.
Architectural Fit: Teams that want executive automation without surrendering calendar or inbox privacy can deploy the entire stack with Docker Compose and local Ollama models.

Need privacy-first scheduling, travel, or correspondence workflows tailored to your organization? Check out AI & LLM Engineering or schedule an architecture consultation.

Applied Architecture

Production Case Studies & Capabilities

Explore how these engineering patterns are deployed in production systems and available through client engagements.

Case Study

AI Administrative Agent Platform

An open-source Python 3.12 (FastAPI), async SQLAlchemy 2.0 + PostgreSQL/pgvector, and React 18 executive operations workspace providing multi-party IANA timezone scheduling, airfare policy & disruption contingencies, hybrid-RAG meeting dossiers, P0–P3 SLA triage, and SHA-256 audited HITL approvals.

Read Case Study
Related Engineering Service

AI Engineering & LLM Integration

Many AI initiatives fail in production due to prompt fragility, high token latency, hallucination risks, and lack of structured evaluation. I bridge the gap between experimental LLM prompts and deterministic software engineering.

Related Engineering Service

Software Architecture & System Design

Fast-moving teams frequently accrue hidden architectural liabilities: tangled domain logic, unmaintainable monoliths, or over-engineered microservices that paralyze development.

Frequently Asked Questions

Why use an IANA timezone solver instead of fixed UTC offsets for executive scheduling?
Fixed UTC offsets fail silently across regional Daylight Saving Time transitions and multi-continent attendee availability. Solving slots with native IANA timezone rules alongside buffer enforcement and recurring focus-block protection prevents double-bookings and DST drift.
Can ai-admin-agent send external calendar invites or email replies autonomously?
No. External calendar invites, travel booking approvals, and P0–P3 AI draft replies all route through /api/v1/approvals/* behind scrypt + HS256 JWT RBAC (executive, chief_of_staff, assistant, admin) with verified reviewer attribution.
How are executive briefings kept grounded and verifiable?
The /api/v1/briefings/* module uses hybrid vector and lexical retrieval to assemble pre-meeting dossiers that attach source citations, extracted open action items, and risk callouts directly to underlying memos and threads.
Share this technical guide

Need Help Solving This in Your Application?

I partner with founders, executives, and engineering leaders to design architectures, resolve production bottlenecks, and deliver resilient software.

Related Technical Articles