Mjara Docs
Architecture

Data Layer

Arif AI stores all data in MariaDB using the Mjara ORM. The data model consists of DocTypes organized by function.

Core DocTypes

DocTypeTypePurpose
Arif AI SettingsSingleCentral configuration
Arif AI ConversationDocumentChat sessions with metadata
Arif AI MessageChildIndividual messages with versioning
Arif Tool LogDocumentTool execution audit trail

Onboarding DocTypes

DocTypeTypePurpose
Arif Onboarding SessionDocumentOnboarding state persistence
Arif Onboarding AnswerChildQ&A responses
Arif Module OnboardingDocumentModule setup tracking
Arif Configuration BlueprintDocumentSetup blueprints

Safety DocTypes

DocTypeTypePurpose
Arif Pending ActionDocumentHITL confirmations queue
Arif Rollback SessionDocumentUndo operation tracking
Arif Rollback DocumentChildDocuments to revert

Other DocTypes

DocTypeTypePurpose
Arif RecommendationDocumentAI-generated suggestions
Arif Process ExecutionDocumentWorkflow run instances

Relationships

On this page