Skip to main content

Pantheon Agents

The Pantheon is a collection of 15 specialized LangGraph AI agents, each named after a Roman god and responsible for a specific business domain. Rex AI COO orchestrates these agents, routing user intents to the appropriate specialist.

Agent Roster

AgentDomainKey Capabilities
RexOrchestration (AI COO)Intent classification (14 categories), delegation, conversation management
SaturnExecutive/StrategyStrategic planning, board presentations, competitive analysis
PlutoFinanceRevenue tracking, P&L generation, cash flow, tax planning
JupiterInfrastructureService health monitoring, deployment management, capacity planning
MercuryAccountingInvoice tracking, reconciliation, accounts payable/receivable
ProserpinaPeople/HREmployee lookup, benefits enrollment, org chart, onboarding
FortunaRevenue/BusinessRevenue forecasting, pricing optimization, sales metrics
AequitasLegal/ComplianceContract review, compliance checking, regulatory alerts
ApolloAnalytics/InsightsData querying, trend analysis, custom report generation
CeresInventoryStock levels, reorder alerts, supplier management, waste tracking
JunoHR/SchedulingShift planning, availability tracking, labor cost optimization
VulcanProduction/OpsKitchen metrics, equipment status, quality control, production rates
DianaCustomer SupportTicket management, response generation, escalation routing
NeptuneLogisticsDelivery tracking, route optimization, fleet status monitoring
MarsSecurityThreat detection, access audit trails, vulnerability scanning

Architecture

Each agent follows the same LangGraph pattern:

backend/python/app/agents/pantheon/{agent_name}/
├── graph.py # LangGraph StateGraph definition
├── nodes.py # Node implementations with Spanner queries
└── state.py # TypedDict state definition

LangGraph Flow

# Typical agent graph structure
graph = StateGraph(AgentState)
graph.add_node("analyze", analyze_node)
graph.add_node("query", query_node)
graph.add_node("respond", respond_node)

graph.add_edge(START, "analyze")
graph.add_edge("analyze", "query")
graph.add_edge("query", "respond")
graph.add_edge("respond", END)

Intent Classification

Rex classifies incoming messages across 14 intent categories:

CategoryRouted ToExamples
financePluto"What's our revenue?", "Show P&L"
operationsSaturn"How are stores performing?"
infrastructureJupiter"Service health status"
accountingMercury"Outstanding invoices"
peopleProserpina"Employee directory"
revenueFortuna"Revenue forecast"
legalAequitas"Compliance status"
analyticsApollo"Generate report"
inventoryCeres"Stock levels"
schedulingJuno"Schedule for next week"
productionVulcan"Kitchen efficiency"
supportDiana"Open tickets"
logisticsNeptune"Delivery status"
securityMars"Security audit"

API Routes

All Pantheon agents are accessible through the Python Analytics Service:

POST /api/v1/agent/founder/chat          # Rex conversation
POST /api/v1/agent/founder/voice # Voice command
GET /api/v1/agent/founder/agents/list # List available agents
POST /api/v1/agent/founder/agents/{name}/invoke # Direct agent invocation

Custom Agents

Organizations can create custom agents that integrate with the Pantheon:

POST /api/v1/agent/founder/agents/custom  # Create custom agent
GET /api/v1/agent/founder/agents/custom # List custom agents

Custom agents are stored in the custom_agents Spanner table and can be granted specific agent_delegations for data access.