Agent Sterling is a sophisticated AI-powered social media management solution that leverages Google's Gemini Pro technology to provide intelligent, context-aware interactions across multiple social media platforms.
Experience Agent Sterling in action: Live Demo
- Twitter Integration: Advanced Twitter API implementation
- Mastodon Support: Full federation capabilities
- Pleroma Compatibility: Extended platform support
- Platform-Specific Optimization: Tailored responses for each platform
- Account Monitoring: Real-time user interaction tracking
- Mention Management: Comprehensive mention detection and response
- Trend Analysis: Dynamic hashtag monitoring and engagement
- AI-Enhanced Responses: Powered by Google Gemini Pro
- Contextual Understanding: Advanced natural language processing
- Administrative Interface: Comprehensive control panel for management
- Rate Management: Intelligent API rate limiting
- Error Resilience: Robust error handling and recovery
- Natural Language Processing: Advanced NLTK implementation
- Gemini Pro Integration: State-of-the-art language model
- Asynchronous Architecture: Efficient parallel processing
- Modular Framework: Scalable component-based design
- Python 3.8+
- Twitter API credentials (Elevated access)
- Mastodon account and API access
- Google Gemini API key
- FastAPI framework
- Clone the repository:
git clone https://github.com/aathif_pm/Agent_Sterling.git
cd Agent_Sterling- Install dependencies:
pip install -r requirements.txt- Configure your credentials:
All API credentials and configurations are managed through the web control panel UI. No
.envfile is required.
- Access Google AI Studio
- Authenticate with your Google account
- Generate an API key
- Configure the key in the web control panel's API section
Gemini Pro Features:
- Multimodal processing capabilities
- Extended context window (2M tokens)
- Advanced reasoning engine
- Multi-language support
- Access your Mastodon instance (e.g., mastodon.social)
- Navigate to Settings > Development > New Application
- Configure application settings:
- Name:
Agent_Sterling - Required scopes:
read,write,follow,push
- Name:
- Store the generated credentials in the web control panel
Initialize the backend server:
uvicorn src.app:app --reload --log-level debug- Install Node.js LTS from official website
- Verify installation:
node --version
npm --versionnpm install -g http-server
cd static
http-serverAccess the control panel at http://localhost:8080
-
Platform Status
- Mastodon: Fully operational ✅
- Twitter: Integration pending ⏳
-
Configuration Management
- Web interface for credential management
- Real-time configuration updates
- Secure credential storage
Execute test suite:
python -m pytest test_*.pyTest Coverage:
- Core agent functionality
- Platform integration
- Response generation
- System integration
src/
├── agent/ # Core agent logic
├── platforms/ # Platform integrations
├── features/ # Feature implementations
├── config/ # Configuration management
├── listener/ # Event listeners
└── setup/ # Installation utilities
- Fork the repository
- Create a feature branch (
git checkout -b feature/Enhancement) - Commit changes (
git commit -m 'Add Enhancement') - Push to branch (
git push origin feature/Enhancement) - Submit Pull Request
This project is licensed under the MIT License.
- Twitter API ecosystem
- Mastodon API framework
- Google Gemini Pro team
- FastAPI developers
- NLTK contributors
- Open source community
Project Lead: Aathif PM - @AathifPM Project Co-Lead Mohammed Salick -@mohammedsalick
Repository: https://github.com/aathif_pm/Agent_Sterling
Live Demo: https://agent-sterling.onrender.com/