Agentic Engineering: Building Sovereign Software with B-MAT
Explore how agentic engineering and the B-MAT framework enable organizations to build sovereign software solutions like NEMU. Learn how to move beyond 'vibe-coding' to structured, architect-led AI development to eliminate vendor lock-in and ensure enterprise compliance.
The Paradigm Shift: From Vibe-Coding to Agentic Engineering
The conversation highlights a critical evolution in software development: the transition from 'vibe-coding'—where users prompt AI for immediate, often unpolished results—to 'agentic engineering.' While vibe-coding offers speed, it lacks the architectural integrity, quality controls, and testability required for enterprise-grade applications. Agentic engineering, by contrast, utilizes AI agents as structured subordinates within a rigorous development framework. This approach allows a single architect to oversee the production of complex systems that previously required large engineering teams.
The B-MAT Framework: Structured AI Development
Central to this shift is the B-MAT framework, which formalizes the interaction between human architects and AI agents. Instead of letting the AI decide the architecture, the human provides a Product Description (PAD) and a clear architectural blueprint. The framework then utilizes 'skills'—pre-defined contexts, templates, and standards—to guide the agents. This ensures the AI acts as an interviewer and executor rather than an autonomous decision-maker. By maintaining the human as the Product Owner, the B-MAT framework ensures that the final output aligns with specific business goals and quality standards.
Strategic Digital Sovereignty and the NEMU Case Study
A primary driver for this methodology is 'digital sovereignty'—the strategic move to reduce dependency on third-party 'commodity' tools like Slack, Teams, or Zoom. The NEMU project serves as a practical case study: a sovereign chat solution built on the Matrix protocol. By using agentic engineering, the developer was able to build a solution that includes enterprise-critical features—such as OpenID Connect, compliance flows, and scalability—without the vendor lock-in or high licensing costs of commercial alternatives. This 'Make' strategy is now viable because AI can bridge the gap between a 90% complete open-source project and a 100% compliant enterprise tool.
Architectural Optimization for AI
A key technical insight shared is the need to optimize code for the LLM rather than for human readability. Traditional software often uses complex inheritance and heavy frameworks to manage human cognitive limits. However, these structures can confuse AI agents. By designing 'flat' architectures—where the logic is simplified and the complexity is handled in SQL scripts or explicit specifications—the developer can produce more reliable and maintainable code. In this model, the human focuses on the 'test' as the ultimate scripted specification. If the test passes, the underlying code is considered successful, shifting the focus from manual code review to automated verification.
Conclusion: The Human as the Pilot
Ultimately, the role of the human in the age of agentic engineering is that of the 'pilot.' While the AI handles the heavy lifting of code generation and technical implementation, the human remains responsible for the vision, the architectural constraints, and the final quality assurance. By investing in high-quality specifications and agentic skills, organizations can achieve a level of independence and operational agility that was previously unattainable for small teams.
Key insights
-
Agentic engineering allows a single architect to build complex software by delegating implementation to specialized AI agents.
Impact: Significantly reduces the cost and time required to build custom enterprise tools, enabling smaller teams to compete with large corporations.
-
Designing for LLM readability (flat architecture) is more effective than designing for human cognitive limits in AI-driven workflows.
Impact: Improves the reliability and maintainability of AI-generated code by reducing context overhead and complexity.
-
Digital sovereignty is a strategic necessity to prevent operational paralysis caused by dependency on third-party commodity services.
Impact: Ensures business continuity and provides a competitive advantage by owning the core communication and data infrastructure.
Action items
-
Adopt a structured framework like B-MAT to move from prompt-based coding to specification-driven development.
Impact: Ensures higher quality, architectural consistency, and easier maintainability of AI-generated software.
-
Audit existing software dependencies to identify 'commodity' tools where a 'Make' strategy could improve sovereignty.
Impact: Reduces long-term licensing costs and mitigates risks associated with vendor lock-in.
-
Invest heavily in high-quality specifications and automated test suites as the primary source of truth for development.
Impact: Allows for faster iteration and ensures that AI-generated code meets strict business and compliance requirements.
Quotes
“Vibe-coding was for me too risky, too unstructured.”
“I am still, so to speak, the pilot in the end.”
“The test is my scripted specification in the end.”