ai-admin
AI system administration and maintenance
Version: 9.0.1 | Size: 2.5MB | Author: Warith Al Maawali warith@digi77.com
License: Proprietary | Website: https://www.digi77.com
File Information
| Property | Value |
|---|---|
| Binary Name | ai-admin |
| Version | 9.0.1 |
| Build Date | 2026-02-14T07:59:25.574743441Z |
| Rust Version | 1.82.0 |
| File Size | 2.5MB |
| JSON Data | View Raw JSON |
SHA256 Checksum
Features
| Feature | Description |
|---|---|
| Core | Advanced functionality for Kodachi OS |
Security Features
| Feature | Description |
|---|---|
| Inputvalidation | All inputs are validated and sanitized |
| Ratelimiting | Built-in rate limiting for network operations |
| Authentication | Secure authentication with certificate pinning |
| Encryption | TLS 1.3 for all network communications |
System Requirements
| Requirement | Value |
|---|---|
| OS | Linux (Debian-based) |
| Privileges | root/sudo for system operations |
| Dependencies | OpenSSL, libcurl |
Global Options
| Flag | Description |
|---|---|
-h, --help |
Print help information |
-v, --version |
Print version information |
-n, --info |
Display detailed information |
-e, --examples |
Show usage examples |
--json |
Output in JSON format |
--json-pretty |
Pretty-print JSON output with indentation |
--json-human |
Enhanced JSON output with improved formatting (like jq) |
--verbose |
Enable verbose output |
--quiet |
Suppress non-essential output |
--no-color |
Disable colored output |
--config <FILE> |
Use custom configuration file |
--timeout <SECS> |
Set timeout (default: 30) |
--retry <COUNT> |
Retry attempts (default: 3) |
Commands
Commands
db
Database management operations
Usage:
diagnostics
Run system diagnostics
Usage:
tune
Performance tuning and optimization
Usage:
Examples
Database Operations
Database backup, restore, and management
Create database backup
Expected Output: Backup created successfullyNote
Backup file will be created in execution folder
Restore database from backup
Expected Output: Database restored successfullyNote
Current database will be backed up before restore
Check database integrity
Expected Output: Database integrity check resultsRun database migrations
Expected Output: Migrations applied successfullyShow database information and statistics
Expected Output: Database size, table counts, and statisticsNote
Useful for monitoring database growth
Show database info as JSON
Expected Output: Database information in JSON formatNote
Useful for automated monitoring
System Diagnostics
System health checks and diagnostics
Run basic diagnostics
Expected Output: System diagnostics reportRun full diagnostics including integrity checks
Expected Output: Comprehensive diagnostics reportNote
Includes database integrity and model validation
Full diagnostics with JSON output
Expected Output: Comprehensive diagnostics in JSON formatNote
Full diagnostics include integrity checks
Run diagnostics with JSON output
Expected Output: Basic diagnostics in JSON formatNote
Useful for automated health monitoring
AI Tier Configuration
Administration of the 6-tier AI engine system
Full diagnostics including all AI tier health
Expected Output: JSON with tier availability, model paths, and health statusNote
Covers TF-IDF, ONNX, Mistral.rs, GenAI/Ollama, Legacy LLM, Claude
Quick diagnostics with AI tier status summary
Expected Output: JSON with basic tier configuration infoNote
Faster than --full, covers essential tier checks
Performance Tuning
Database optimization and performance tuning
Optimize database performance
Expected Output: Database optimized successfullyNote
Runs VACUUM and ANALYZE operations
Rebuild database indexes
Expected Output: Indexes rebuilt successfullyClean up old data (older than 30 days)
Expected Output: Cleanup completed, X records removedClean up data older than 7 days
Expected Output: Cleanup completed, X records removedNote
More aggressive cleanup for recent data
Optimize database with JSON output
Expected Output: Optimization results in JSON formatNote
Shows detailed optimization statistics
Rebuild indexes with JSON output
Expected Output: Index rebuild results in JSON formatNote
Structured output for automation pipelines
Aggressive cleanup with JSON output
Expected Output: JSON with cleanup statistics and records removedNote
Combines short retention with structured output
Environment Variables
| Variable | Description | Default | Values |
|---|---|---|---|
RUST_LOG |
Set logging level | info | error |
NO_COLOR |
Disable all colored output when set | unset | 1 |
Exit Codes
| Code | Description |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Invalid arguments |
| 3 | Permission denied |
| 4 | Network error |
| 5 | File not found |