aevatar GAgents
aevatar GAgents#
Repos: https://github.com/aevatarAI/aevatar-gagents
Aevatar GAgents is a custom intelligent agent solution designed to enable developers to customize agents and quickly create, manage, and deploy them on aevatar Station.

Component Overview#
Aevatar GAgents is a sophisticated intelligent agent platform built on .NET 8.0, designed to enable rapid development, management, and deployment of custom agents on Aevatar Station. The system utilizes event-sourcing architecture and distributed computing principles to create a scalable and maintainable agent ecosystem.
Key Features#
Technology Stack#
System Components#
- Base agent implementations
- Event sourcing infrastructure
- State management
- Message publishing system
- Autogen integration (will be replaced)
- MicroAI processing
- RAG (Retrieval-Augmented Generation)
- Social media connectors (Twitter, Telegram)
- Blockchain integration (AElf)
- External API handlers
Basic Module (Aevatar.GAgents.Basic)#
The foundation of the system, providing core functionality for agent creation and management.
Key Components:#
- Base class for all agents
- Handles state management
- Implements event sourcing
- Manages agent lifecycle
- Handles event publishing
- Manages message distribution
- Implements IPublishingGAgent interface
- Manages agent groups
- Handles agent registration/unregistration
- Coordinates group activities
Event Sourcing System#
Social Media Integration#
- Tweet management
- User authentication
- Response handling
- Bot implementation
- Message handling
- User interaction
Blockchain Integration (Aevatar.GAgents.AElf)#
AI Integration#
- AI model management
- Response generation
- Context handling
- Document retrieval
- Knowledge base management
- Query processing
Creating a New Agent#
Define Agent State#
[GenerateSerializer]
public class CustomAgentState : StateBase
{
[Id(0)] public Guid Id { get; set; }// Add custom state properties
}
Create Event Classes#
public class CustomGEvent : SEventBase
{
[Id(0)] public string EventData { get; set; }
}
Implement Agent Class#
[StorageProvider(ProviderName = "PubSubStore")]
[LogConsistencyProvider(ProviderName = "LogStorage")]
public class CustomGAgent : GAgentBase<CustomAgentState, CustomGEvent{// Implement agent logic
}
Best Practices#
Prerequisites#
Aevatar.Core (v1.0.2)
Aevatar.EventSourcing.Core (v1.0.2)
Aevatar.Core.Abstractions (v1.0.2)
Configuration#
Deployment Steps#
Security Considerations#
Performance Optimization#
Edited on: 3 March 2025 12:02:07 GMT+0