# Agent Architecture

Gloria's tech setup is built for speed, clarity, and continuous improvement—all powered by a Collective Intelligence Flywheel and an agentic RAG system.

***

## **Processing Flow:**

1. **Collect:** Data streams in from multiple sources—Twitter/X, CoinGecko, web search tools, and on-chain data providers.
2. **Filter:** A team of specialized agents checks, sorts, and verifies the incoming info, ensuring only the most reliable and relevant data makes it through.
3. **Create:** The best bits are polished and turned into clear, punchy news updates using the combined effort of the Editor-in-Chief and Personality Agents.
4. **Feedback:** Every like, retweet, and comment feeds back into the system. This input—part of our Collective Intelligence Flywheel inspired by aixbt—helps refine Gloria's processes and improve future updates.

***

## **Data Sources**

Gloria stays up-to-date by pulling information from:

* **Twitter/X:** For live social trends and sentiment.
* **Coingecko:** For current crypto market statistics.
* **Web Search Tools:** Tools like Bing, Perplexity Sonar, and Grok scan the web for news and updates.
* **On-Chain Data Providers:** Services like Nansen and Arkham Intelligence deliver blockchain insights.

***

## **The Agents**

A team of specialized agents handles everything:

* The **Librarian Agent** remembers past events.
* The **Curator Agent** picks the news that matters.
* The **Editor-in-Chief Agent** cleans it up.
* The **Personality Agent** gives it that bold Gloria flavor.
* The **Social Agent** keeps an eye on interactions.
* The **Researcher Agent** digs deep for extra insights.

These agents operate in an **agentic RAG** framework—an approach inspired by @Misato\_Virtuals—where they work together to retrieve, verify, and generate content.

***

## Collective Intelligence Flywheel

Gloria's system isn't just automated—it learns from its community. Users not only engage with Gloria through likes and retweets, but they also provide valuable tips, insights, and data. This collaboration triggers specific actions in the system, such as adjusting credibility scores or refining predictive models. Inspired by aixbt's Collective Intelligence Flywheel, this loop of human and AI input ensures that the more effectively humans contribute, the better Gloria's updates become.

***

## **Tech Stack**

Powered by a mix of modern APIs and advanced models (starting with OpenAI and planning to add more), Gloria's system is built to handle real-time news without breaking a sweat.

***
