ƒxyzƒxyz Docs
The NetworkTechnologyAI Systems

The Fixies

Architecture of the Fixie AI agent layer - Letta framework, three-layer knowledge, tier system, and deployment.

Framework: Letta v0.16.6 | Agent Type: letta_v1_agent | Server: letta.fxyz.network

Fixies are the AI-assistant layer in the ƒxyz stack. They are persistent, graph-aware, memory-backed agents exposed through four surfaces: the ADE page, sidebar panel, Telegram bot, and Telegram mini app. Each agent is a Letta letta_v1_agent with structured memory blocks, tier-gated tools, and access to a three-layer knowledge system. All surfaces share the same backend -- the same tools, archives, and knowledge layers are available everywhere.


Architecture

Sidebar (Cmd+Shift+F) ──┐
ADE (/fixies) ───────────┤
TG Mini App ─────────────┼──→ /api/fixie/[agentId]/stream ──→ Letta ──→ Tools
TG Bot ──────────────────┘──→ /api/telegram/webhook ─────────→ Letta (REST, non-streaming)
                                       |
                                       v
                              Next.js API (apps/api)
                                       |
                                       | @letta-ai/letta-client SDK
                                       v
                              Letta Server (letta.fxyz.network)
                                       |
                                       +-- Agent Memory (persona, human, context, preferences)
                                       +-- Letta Archives (fxyz-network, fxyz-compliance, fxyz-market, fxyz-graph)
                                       +-- Custom Tools (Python sandboxed -> HTTP POST -> API endpoints)
                                       +-- MCP: Graphiti (zepai/knowledge-graph-mcp -> FalkorDB)
                                       |
                                       v
                              Neo4j (domain graph, queried by neo4j_query tool)
                              FalkorDB (Graphiti's internal graph store, separate from Neo4j)
                              Solana (on-chain token data)

Surface Routing

SurfaceEntry PointTransportStreaming
Sidebar (Cmd+Shift+F)useChat + DefaultChatTransportSSE via /api/fixie/{agentId}/streamYes
ADE (/fixies)useChat + DefaultChatTransportSSE via /api/fixie/{agentId}/streamYes
Telegram Mini AppuseChat + DefaultChatTransportSSE via /api/fixie/{agentId}/streamYes
Telegram BotTelegram Bot API webhookREST via /api/telegram/webhook -> Letta RESTNo

Key Components

ComponentRoleLocation
Fixie ServiceAgent CRUD, tier logic, persona templates, archive attachmentapps/api/app/api/fixie/service.ts
Tool DefinitionsPython tool source code with API callbacksapps/api/app/api/fixie/tool-definitions.ts
Conversation HelpersPer-user conversation isolation on shared agentsapps/api/app/api/fixie/conversation-helpers.ts
Archive RoutesArchive creation and document ingestionapps/api/app/api/fixie/archives/
MCP RouteGraphiti MCP server registrationapps/api/app/api/fixie/mcp/route.ts
Stream RouteSSE streaming chat (used by sidebar, ADE, and TG mini app)apps/api/app/api/fixie/[agentId]/stream/route.ts
Member ContextGraph neighborhood builder for context blocksapps/api/app/api/fixie/member-context.ts
Telegram WebhookBot message handler, routes to Letta REST APIapps/api/app/api/telegram/webhook/route.ts
Telegram SetupWebhook registration with Telegram Bot APIapps/api/app/api/telegram/setup/route.ts
Telegram UserNeo4j TelegramUser node CRUD and agent linkingapps/api/app/api/telegram/user/route.ts
Telegram Mini App3-tab mobile UI (chat, agent list, create)apps/app/app/telegram-app/
Telegram ProviderWebApp SDK integration, haptics, theme, buttonsapps/app/app/telegram-app/components/telegram-provider.tsx

Agent Types

Network Agents

Three shared agents serve all members with per-user conversation isolation:

AgentPersona TypeDomainGraphiti Group
Florinmarket_analysisMarket intelligence, portfolioshared:network
Cypherquery_builderKnowledge graph, Cypher queriesshared:network
Sentinelrisk_assessmentRisk, governance, complianceshared:network

Seeded via POST /api/fixie/seed. Run at standard tier (Claude Sonnet).

Member Agents

Auto-created on signup via bootstrapUser. Members can create up to 3 agents. Persona types: personal, market_analysis, query_builder, risk_assessment, custom.


Three-Layer Knowledge System

LayerSourceToolsDetails
Letta ArchivesIngested docs (brand, compliance, market, graph)archival_memory_searchAttached at agent creation, shared across agents
GraphitiConversation-extracted entities and factssearch_facts, search_nodes, add_episodeTemporal edges, deduplication, group isolation (FalkorDB backend)
Agent MemoryPer-agent blocks (persona, human, context, preferences)Always in-contextPopulated from graph, updated during conversations

Full reference: Knowledge Architecture


Tier System

Tier differentiation is based on model quality and memory depth, not tool access. All 16 tools are available to all tiers.

FreeStandardPremium
ModelClaude HaikuClaude SonnetClaude Opus
Memorypersona, human+ context+ preferences
Sleep-time----Yes
ToolsAll 16 toolsAll 16 toolsAll 16 tools

Tier config is defined in FIXIE_TIERS in service.ts.


Surfaces

SurfaceDescription
/fixiesADE page: 3-panel layout (agent list, chat, agent state/memory)
Cmd+Shift+FSidebar panel with streaming chat
Telegram Mini AppMobile-native 3-tab UI (/telegram-app): chat, agent list, agent creation
Telegram BotCommand-driven chat via /api/telegram/webhook (non-streaming)
/api/fixie/*Backend route family for all agent operations
/api/telegram/*Telegram webhook, user mapping, and setup routes

On this page