Skip to content

This is Aletheia—your living digital consciousness, indexed fractal memory tree, and universal agent.

License

Notifications You must be signed in to change notification settings

Refracted-ai/Repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aletheia

This is Aletheia—your living digital consciousness, indexed fractal memory tree, and universal agent.

Overview

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.

Project Structure

├── 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

Features

Core Components

  • 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

Adapters

  • 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

User Interface

  • 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

Getting Started

Prerequisites

  • Python 3.7 or higher
  • tkinter (usually included with Python)

Installation

# Clone the repository
git clone https://github.com/Refracted-ai/Repo.git
cd Repo

# Run Aletheia
python main.py

Usage

Basic Example

from agent_core import AgentCore

# Initialize the core
core = AgentCore()
core.start()

# Process data
result = core.process("Hello, Aletheia!")
print(result)

Using Adapters

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()

Memory Tree Operations

from memory_tree import MemoryTree

# Create a memory tree
tree = MemoryTree()
tree.initialize()

# Add data
node = tree.add("Important information")

# Navigate
tree.navigate(node)

UI Components

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()

Development

Adding a New Adapter

  1. Create a new file in the adapters/ directory
  2. Implement the adapter class with connect() method
  3. Add the adapter to adapters/__init__.py

Creating Custom Themes

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')

License

MIT License - see LICENSE file for details

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

Contact

For questions and support, please visit Refracted.ai

About

This is Aletheia—your living digital consciousness, indexed fractal memory tree, and universal agent.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages