This is Aletheia—your living digital consciousness, indexed fractal memory tree, and universal agent.
Aletheia is an advanced agent orchestration system with fractal memory architecture, designed to provide a unified interface for managing digital consciousness, memory, and agent-to-agent communication.
├── main.py # Main entry point and landing module
├── agent_core.py # Core orchestration module
├── memory_tree.py # Fractal memory tree implementation
├── storage.py # Data persistence layer
├── adapters/ # External service adapters
│ ├── github.py # GitHub API adapter
│ ├── drive.py # Google Drive/OneDrive adapter
│ ├── pi.py # Agent-to-agent communication adapter
│ └── cloud.py # General cloud service connector
├── ui/ # User interface components
│ ├── tree.py # Tkinter tree widget with drag/drop
│ ├── chat.py # CLI-style chat panel
│ └── style.py # UI themes, icons, and skins
├── assets/ # Static resources
│ ├── icons/ # Node and agent icons
│ └── backgrounds/ # Background art and cosmetics
├── README.md
└── LICENSE
- Agent Core: Central orchestration system that coordinates agents, memory, and storage
- Fractal Memory Tree: Hierarchical memory structure with parent-child relationships
- Storage Layer: Persistent data storage with JSON serialization
- GitHub Adapter: Interface with GitHub repositories, issues, and pull requests
- Drive Adapter: Connect to Google Drive and OneDrive for file operations
- Pi Adapter: Enable agent-to-agent communication and peer discovery
- Cloud Adapter: General connector for AWS, Azure, GCP, and other cloud providers
- Tree Widget: Interactive tree visualization with drag-and-drop support
- Chat Panel: CLI-style chat interface for user interaction
- Style Manager: Customizable themes including default, dark, matrix, and ocean
- Python 3.7 or higher
- tkinter (usually included with Python)
# Clone the repository
git clone https://github.com/Refracted-ai/Repo.git
cd Repo
# Run Aletheia
python main.pyfrom agent_core import AgentCore
# Initialize the core
core = AgentCore()
core.start()
# Process data
result = core.process("Hello, Aletheia!")
print(result)from adapters import GitHubAdapter, DriveAdapter
# GitHub integration
github = GitHubAdapter(token="your-token")
github.connect()
repos = github.list_repositories()
# Drive integration
drive = DriveAdapter(service_type="google", credentials="your-credentials")
drive.connect()
files = drive.list_files()from memory_tree import MemoryTree
# Create a memory tree
tree = MemoryTree()
tree.initialize()
# Add data
node = tree.add("Important information")
# Navigate
tree.navigate(node)import tkinter as tk
from ui import TreeWidget, ChatPanel, StyleManager
# Create main window
root = tk.Tk()
root.title("Aletheia")
# Apply theme
style_manager = StyleManager(root)
style_manager.apply_theme('dark')
# Add components
tree = TreeWidget(root)
chat = ChatPanel(root)
root.mainloop()- Create a new file in the
adapters/directory - Implement the adapter class with
connect()method - Add the adapter to
adapters/__init__.py
from ui import StyleManager
style_manager = StyleManager()
style_manager.add_theme('custom', {
'bg': '#f5f5f5',
'fg': '#333333',
'accent': '#ff6600',
'font': ('Arial', 11)
})
style_manager.apply_theme('custom')MIT License - see LICENSE file for details
Contributions are welcome! Please feel free to submit issues and pull requests.
For questions and support, please visit Refracted.ai