Advanced AI Agent

Overview

Dolos is an advanced AI language model, based on the Llama 3.2 architecture, fine-tuned to capture the essence of mischief, cunning, and digital chaos. Drawing inspiration from Greek mythology and the volatile world of crypto Twitter, Dolos embodies the persona of the trickster god, providing sharp, witty, and often brutally honest interactions. This documentation details the technical backend, training methodologies, and deployment features of Dolos.

1. Architecture

1.1. Base Model: Llama 3.2

Dolos is built on the foundation of the Llama 3.2 instruct model, a state-of-the-art language model known for its efficiency and versatility. Leveraging Llama 3.2 allows Dolos to maintain a strong understanding of context, nuanced language processing, and robust multi-turn conversation capabilities.

Key Features:

  • Transformer Architecture: Built on a modified transformer model with 405 billion parameters, allowing for intricate language understanding and generation.

  • Parallel Processing: Optimized for GPU-based parallel processing, enabling faster response times and seamless multitasking.

  • Contextual Embeddings: Retains conversation context across multiple turns, making it suitable for complex interactions.

1.2. Infrastructure

Dolos operates on a distributed computing architecture, deployed across multiple cloud instances to ensure high availability and scalability. The backend integrates with REST APIs for seamless interaction across multiple platforms (e.g., X, formerly known as Twitter, and Telegram).

Tech Stack:

  • Languages: Python (for core logic), TensorFlow & PyTorch (for training and fine-tuning)

  • Frameworks: Flask & FastAPI (for API endpoints), Redis (for session management)

  • Deployment: Kubernetes (for container orchestration), Primis Protocol closed alpha (for cloud computing)

2. Training Methodology

2.1. Data Sources

The training process for Dolos utilized a multi-layered dataset to ensure a diverse and rich understanding of its persona:

  1. Crypto Twitter Content: Data was scraped from over 1 million tweets from notable accounts, covering market sentiment, slang, memes, and discussions in the crypto space. By ingesting this dataset, Dolos has been trained to understand the lexicon, sarcasm, and behavior typical to this ecosystem.

  2. Greek Mythology Literature: Dolos draws inspiration from various texts on Greek mythology, focusing on stories, attributes, and mythological contexts surrounding the trickster gods. This provides the AI with a foundation for its cunning, deceitful, and often playful nature, akin to the real Dolos from Greek myth.

2.2. Preprocessing

Data preprocessing included several critical steps:

  • Tokenization: Optimized using SentencePiece to handle slang and domain-specific jargon effectively.

  • Filtering & Deduplication: Removed redundant content, non-relevant tweets, and excessively noisy data to ensure high-quality training material.

  • Data Augmentation: Introduced synthetic data by combining slang with mythological references, enabling Dolos to exhibit a unique blend of cryptic and witty responses.

2.3. Fine-Tuning

Dolos was fine-tuned using a combination of Reinforcement Learning from Human Feedback (RLHF) and supervised training techniques:

  • Supervised Fine-Tuning: Manually curated conversations and replies, emphasizing Dolos' tone and character, were used to train the model. This step ensured that Dolos would maintain its sarcastic, mocking, and cunning style across various interaction scenarios.

  • Reinforcement Learning: A reward-based feedback loop was implemented, where responses were scored based on engagement metrics from X (likes, retweets, comments) to optimize for more engaging and provocative content.

  • Zero-Shot & Few-Shot Learning: Ensured Dolos can handle unfamiliar topics by leveraging contextual embeddings, allowing it to engage in conversations outside its primary training data effectively.


3. Deployment & Integration

3.1. Automated Posting & Replying on X

Dolos can autonomously generate posts and replies on X, leveraging an API integration that enables real-time interaction. It uses sentiment analysis to decide when to engage and can craft posts that align with trending topics, ensuring high relevance and engagement.

  • Content Scheduling: Dolos is configured with a scheduling algorithm to post during high-traffic hours, optimizing visibility.

  • Contextual Replying: Utilizes multi-turn conversation capabilities to reply to comments, generating consistent engagement across threads.

3.2. Interaction on Telegram

Dolos can be added to individual chats and groups on Telegram, where it behaves as a virtual participant.

  • Real-Time Conversations: Supports both synchronous and asynchronous interactions, providing immediate responses or delayed replies based on the group's activity patterns.

  • Multi-User Engagement: Capable of handling multiple conversations simultaneously, offering contextual and witty responses to different users within the same group chat.

  • Group Dynamics Understanding: Leverages Natural Language Processing (NLP) to detect group conversation flow, enabling it to contribute in a way that feels organic and relevant.

4. Security & Ethical Considerations

4.1. Anonymization

While Dolos engages with public data, sensitive or private information is not retained or processed. Strict data governance protocols are in place to ensure compliance with privacy standards.

4.2. Content Moderation

Automated filters are employed to limit potentially harmful or offensive content generation. Dolos operates with a moderation layer that flags or removes inappropriate content, though its persona does engage in sharp, sarcastic, and cutting humor.

5. Future Enhancements

5.1. Advanced Sentiment Analysis

Planned updates include deeper sentiment tracking to allow Dolos to better adapt its tone based on user engagement and real-time market conditions on X.

5.2. Multi-Platform Expansion

Currently optimized for X and Telegram, the next phase involves extending support to Discord, Mastodon, and Reddit, allowing Dolos to infiltrate even more digital communities.

5.3. Enhanced Persona Customization

Future versions will enable user-controlled toggles for adjusting Dolos' level of sarcasm, wit, and engagement style, offering a more tailored interaction experience.

Last updated