This article explores experiments with AI for autonomous system management, highlighting the AI's current lack of systems thinking. It details how AI struggles with fundamental architectural concepts like database schema design (e.g., modeling a graph database as an RDBMS) and consistent data management, leading to inconsistent, incomplete, and duplicate data. The author questions the extent to which humans must provide detailed architectural guidance to AI for building robust systems.
Read original on Dev.to #architectureThe article presents two practical experiments where AI was tasked with autonomously managing information: a personal assistant (using Google Calendar and a file system) and a political database (using Neo4j and S3-compatible storage). The core hypothesis was that AI could manage information storage and organization without explicit human intervention regarding underlying system architecture.
In both experiments, the AI initially performed adequately but quickly deteriorated as data volume grew. The personal assistant failed to properly search previously generated notes, leading to incomplete answers. The political database experiment revealed more significant architectural deficiencies.
Graph Database Mismodeling by AI
A critical observation was the AI's complete misunderstanding of graph database principles. Instead of leveraging nodes and relationships, it modeled Neo4j as a relational database, treating nodes as tables and properties as columns, without creating any relationships. This fundamental error resulted in duplicate, inconsistent, and arbitrarily structured data.
The AI's approach resulted in a "whatever I feel like" schema, demonstrating a clear lack of schema design principles, data integrity, and consistency. This highlights a significant challenge in entrusting AI with foundational data architecture decisions without explicit, detailed instructions.
The author poses a critical question for system designers: Should we build highly specialized systems, or can we simply provide AI with tools and let it construct the architecture? This leads to a discussion on whether AI, in its current state, possesses true "systems thinking" capabilities beyond mere problem-solving along the path of least resistance.
AI's Role in System Design
The article suggests that current AI models are proficient at solving individual problems but lack the ability to synthesize ad hoc tasks into a coherent, well-designed system. This distinction is crucial for understanding AI's role in future system architecture.