O AICockpit Γ© o sistema operacional local definitivo para IAs autΓ΄nomas. Ele amplifica as capacidades do seu Agente de IA favorito (como Antigravity, Devin ou Claude), fornecendo um Cofre Seguro (Vault) nativo, um Dashboard Visual para humanos colaborarem com a IA, e um Gerenciador de Habilidades (Packages) integrado.
Comece instalando a CLI localmente (requer Go 1.26+):
# 1. Instale o AICockpit via Go
go install github.com/lleitep3/aicockpit@latest
# 2. Rode o setup interativo (Selecione sua IA preferida, ex: Antigravity)
cockpit setupO ecossistema do Cockpit Γ© extensΓvel. Conecte-se ao registry oficial para ter acesso Γ s melhores ferramentas e habilidades:
cockpit pkg registry add default https://github.com/lleitep3/cockpit-registryPara uma experiΓͺncia completa (incluindo interface visual e gestΓ£o de tarefas Kanban), instale os pacotes e utilize os recursos nativos:
# Instale a interface visual interativa (UI)
cockpit pkg install cockpit-dashboard(Nota: O gerenciador Kanban cockpit project jΓ‘ Γ© nativo no core da CLI!)
Agora sua infraestrutura estΓ‘ pronta! Abra o terminal, inicie sua IA (como Antigravity ou Devin) e trabalhe de forma integrada:
VocΓͺ: "IA, use o
cockpit projectpara criar uma nova tarefa para refatorar o login. Depois abra o dashboard visual."
A IA irΓ‘ utilizar automaticamente as habilidades locais que vocΓͺ instalou e interagir com o Cofre Seguro do seu sistema operacional, sem precisar expor chaves de API em texto plano!
- Quick Start Guide - Get up and running in 5 minutes
- Installation Guide - Detailed installation instructions
- Installation Scripts - How the installation scripts work
- Installation Options - User-level vs System-wide installation
- Features Overview - Complete list of features and capabilities
- Logging & Metrics - How to use the logging and metrics system
- Metrics Command Verification - Verify metrics command is working
- Contributing Guide - How to contribute to AICockpit
- AI Agent Guidelines - Comprehensive guide for AI agents developing on AICockpit
- CI/CD Pipeline - CI/CD workflow and automation details
- SDLC Guidelines - Software Development Lifecycle standards
- Executive Summary - High-level project overview
- Implementation Summary - Phase 1 implementation details
- Session Summary - Latest session summary
- Global Installation Verified - Installation verification
- Go 1.26 or later
- Linux, macOS, or Windows
- Git
Option 1: User-Level Installation (Recommended)
# Clone the repository
git clone git@github.com:lleitep3/aicockpit.git
cd aicockpit
# Build and install (automatic PATH configuration)
make install
# Verify installation
cockpit --versionOption 2: System-Wide Installation (Global)
# Build and install globally (requires sudo)
make install-global
# Verify installation
cockpit --version# Build and install
make install-win
# Verify installation
cockpit --version# Run setup wizard
cockpit setup
# Check system health
cockpit doctor
# View configuration
cockpit infoFor more details, see Quick Start Guide.
-
cockpit setup- Interactive setup wizard- Select language (English, Portuguese)
- Choose AI provider (Claude, GPT, Devin, Antigravity, Goose)
- Initialize vault and configuration
-
cockpit info- Display AICockpit information- Show current configuration
- List installed packages
- Display file locations
-
cockpit doctor- Health check- Verify all components are properly configured
- Check directory structure
- Validate configuration files
-
cockpit uninstall- Remove AICockpit- Safely uninstall and remove all data
-
cockpit metrics list- View execution metrics- Filter by command, status, or date
- Limit results
- View all command executions
-
cockpit metrics stats- Show execution statistics- Total executions and success rate
- Average duration
- Command frequency
- Error types
-
cockpit metrics logs- View log files- List all log files
- View logs for specific date
- Check log file details
cockpit vault set- Store a secret securely in the OS Keyringcockpit vault get- Retrieve a secretcockpit vault remove- Remove a secret
cockpit pkg install- Install a new package (e.g.cockpit-dashboard)cockpit pkg search- Search for available packages in registriescockpit pkg upgrade- Upgrade installed packagescockpit pkg registry- Manage multiple package registries
cockpit project sync- Sync local tasks bi-directionally with GitHub Issuescockpit project add- Create a new task in the Kanban boardcockpit project move- Change the state of a task (todo, in_progress, done)
cockpit ask "<task>"- Run one assistant turn (memory recall, aclaude,codex, or API worker, streamed output, and retain). See cockpit ask.
cockpit agent- Not a command. Run a task withcockpit ask(product vision)cockpit skills- Manage skills explicitlycockpit rules- Manage rules explicitly
AICockpit supports multiple languages:
- English (en-us)
- Portuguese Brazilian (pt-br)
Set language globally:
cockpit --language pt-br infoAICockpit creates the following structure in ~/.cockpit/:
~/.cockpit/
βββ config.yaml # Configuration file
βββ metrics.json # Execution metrics
βββ logs/ # Log files (daily rotation)
β βββ cockpit-2026-06-20.log
β βββ cockpit-2026-06-21.log
β βββ ...
βββ cache/ # Cache directory
βββ packages/ # Installed packages
βββ vault/ # Secrets vault
βββ agents/ # AI agents
βββ skills/ # Skills
βββ rules/ # Rules
βββ hooks/ # Hooks
βββ kb/ # Knowledge bases
make help # Show all available commands
make build # Build the binary
make test # Run tests with coverage
make lint # Run linters
make fmt # Format code
make check # Run all checks
make clean # Clean build artifacts
make install-hooks # Install git pre-commit hooksAICockpit supports a local identity.md file to store your personal developer profile, workspace preferences and AI communication conventions.
- Use
internal/assets/default_cockpit/identity-example.mdas a starting point. - Copy it to
identity.mdand update your own name, role, location, stack and workflow preferences. identity.mdis ignored by Git to keep personal identity data local.
aicockpit/
βββ cmd/ # CLI commands
β βββ setup.go
β βββ info.go
β βββ doctor.go
β βββ uninstall.go
β βββ metrics.go
β βββ root.go
βββ internal/ # Internal packages
β βββ config/ # Configuration management
β βββ logger/ # Logging system (deprecated)
β βββ i18n/ # Internationalization
β βββ logging/ # New logging & metrics system
βββ scripts/ # Installation scripts
β βββ install.sh # Linux/macOS installer
β βββ install.ps1 # Windows installer
βββ .github/ # GitHub configuration
β βββ workflows/ # GitHub Actions
β βββ PULL_REQUEST_TEMPLATE.md
βββ docs/ # Documentation
βββ main.go # Entry point
βββ Makefile # Build automation
βββ CONTRIBUTING.md # Contribution guidelines
βββ README.md # This file
# Run all tests
make test
# Run specific package tests
go test -v ./internal/config
# View coverage report
go tool cover -html=coverage.out- Linting:
go vetand golangci-lint - Testing: Unit tests with β₯90% coverage target (current: 68.0% β work in progress)
- Formatting:
go fmtcompliance - Documentation: Comprehensive guides and examples
- CI/CD: GitHub Actions for automated validation
- Secrets are stored in OS keyrings (planned)
- All operations are logged
- Configuration is user-specific
- No sensitive data in logs
- Pre-commit hooks validate code quality
AICockpit automatically tracks all command executions with detailed metrics:
# View execution metrics
cockpit metrics list
# View statistics
cockpit metrics stats
# View log files
cockpit metrics logs
# Filter by command
cockpit metrics list --command setup
# Filter by status
cockpit metrics list --status error
# Filter by date
cockpit metrics list --date 2026-06-20Features:
- Daily log rotation (cockpit-YYYY-MM-DD.log)
- JSON format for easy parsing
- Automatic metrics collection
- Success/failure tracking
- Performance metrics
- Error analysis
See Logging & Metrics Documentation for details.
We welcome contributions! Please follow these guidelines:
- Read the Contributing Guide - Important guidelines and standards
- Semantic Commits - Use conventional commit format
- PR Requirements - Include [MAJOR], [MINOR], or [PATCH] in PR title
- Tests - Write tests for new features
- Quality - Run
make checkbefore committing
# 1. Fork and clone
git clone git@github.com:YOUR_USERNAME/aicockpit.git
cd aicockpit
# 2. Create feature branch
git checkout -b feature/your-feature
# 3. Install pre-commit hooks
make install-hooks
# 4. Make changes and commit
git add .
git commit -m "feat(scope): description"
# 5. Run checks
make check
# 6. Push and create PR
git push origin feature/your-featureThis project is licensed under the Apache License 2.0 - see the LICENSE file for details.
For issues, questions, or suggestions:
- Check existing issues
- Create a new issue
- Join discussions
- β Core CLI structure
- β Configuration system
- β Logging, Metrics, and i18n
- β Installation scripts (user-level & system-wide)
- β Vault system (keyring integration)
- β
Package management (
cockpit pkgand registries) - β Project management (Kanban & GitHub Sync)
- β Visual Dashboard (SvelteKit/FastAPI)
- β Knowledge base search (BM25 + Graph Traversal)
- Agent management system
- Skills and rules framework
- Hooks system
- Advanced metrics & token analytics
- AI-powered autonomous optimization
- Performance and cost analysis trends
- Total Commits: 120+
- Lines of Code: 28000+
- Lines of Documentation: 18000+
- Test Coverage: 68.0%
- Tests Passing: 737/737 in 12 packages β
- Quick Start Guide - Get started quickly
- Installation Guide - Detailed setup instructions
- Features Overview - All available features
- Logging & Metrics - How to use metrics
- Contributing Guide - How to contribute
- SDLC Guidelines - Development standards
- AI Agent Guidelines - For AI agents working with AICockpit
- Executive Summary - High-level overview
- Implementation Summary - Phase 1 details
- Session Summary - Latest work summary
AICockpit is built with:
- Go - Programming language
- Cobra - CLI framework
- GitHub Actions - CI/CD
- GitHub: lleitep3/aicockpit
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Made with β€οΈ for AI systems everywhere
- KB Guides - Explore all available AICockpit CLI guides
- Package Manager Guide
- Canonical Compiler Architecture