- Python 100%
| data | ||
| docs | ||
| logs | ||
| src/wisepants | ||
| tests | ||
| .gitignore | ||
| design-notes.md | ||
| pyproject.toml | ||
| README.md | ||
| requirements.txt | ||
WisePants 🤪
Local Infrastructure Intelligence Engine
WisePants is a local-first AI assistant designed to understand, document, and assist with complex self-hosted infrastructure.
The goal is to create an intelligent layer that can inspect services, understand configurations, learn from documentation and repositories, and provide useful guidance based on the actual environment it is running in.
WisePants is designed around the idea that your infrastructure should become easier to understand over time.
Project Vision
Modern self-hosted environments often become complicated over time.
Docker Compose files, scripts, configuration files, documentation, logs, and service-specific knowledge become scattered across many locations.
WisePants aims to bring these pieces together into one local intelligence system.
Instead of asking:
"Where did I put that config?"
or:
"How does this service actually work?"
WisePants should eventually be able to answer:
"I have scanned your environment. This service uses these files, depends on these containers, follows these patterns, and here are possible improvements."
Core Goals
1. Infrastructure Awareness
WisePants should understand:
- Docker Compose files
- Configuration files
- Scripts
- Directory structures
- Service relationships
- Logs
- Documentation
2. Knowledge Building
WisePants should be able to learn from:
- Local documentation
- Git repositories
- Official documentation
- Configuration examples
- Project notes
Knowledge should become searchable and structured rather than remaining scattered.
3. Infrastructure Assistant
WisePants should assist with:
- Explaining configurations
- Finding files
- Comparing versions
- Suggesting improvements
- Troubleshooting issues
- Understanding unfamiliar software
4. Local First
WisePants is designed around:
- Local data ownership
- Self-hosted environments
- Privacy
- User-controlled knowledge
- No dependency on external cloud services for core operation
Current Status
Version
0.1.0 - Genesis
Current focus:
- Project skeleton
- Core engine foundation
- Configuration handling
- Logging system
- Repository structure
- Future architecture planning
Planned Features
Phase 1 - Foundation
- Project bootstrap
- Python package structure
- Configuration system
- Logging framework
- Git repository setup
Phase 2 - File Intelligence
- File scanning
- Directory inventory
- File metadata extraction
- Configuration discovery
- Search capabilities
Phase 3 - Knowledge Engine
- Documentation ingestion
- Repository ingestion
- Knowledge indexing
- Service recognition
- Structured understanding
Phase 4 - Infrastructure Understanding
- Docker Compose analysis
- Container relationships
- Dependency mapping
- Service diagrams
- Configuration explanations
Phase 5 - AI Integration
- Local model support
- Context building
- Intelligent suggestions
- Troubleshooting assistance
Design Principles
Understand Before Changing
WisePants should analyse first.
It should never blindly modify infrastructure.
Preserve User Control
The user owns the data.
WisePants should explain actions before making changes.
Build Knowledge Over Time
Every scan, document, and repository should improve understanding.
Keep It Modular
Features should be independent components that can evolve without breaking the core system.
Repository Structure
Current layout: WisePants/ │ ├── src/ │ └── wisepants/ │ ├── core.py │ ├── config.py │ ├── logger.py │ └── main.py │ ├── data/ │ ├── Cache/ │ ├── Inventory/ │ ├── Knowledge/ │ └── Workspace/ │ ├── logs/ │ ├── tests/ │ ├── requirements.txt ├── pyproject.toml └── design-notes.md
Long Term Vision
WisePants should become a personal infrastructure knowledge system.
A tool that understands your environment, remembers how it is built, explains why things work, and helps you improve it safely.
The goal is not just automation.
The goal is understanding.