Skip to content

A multi-tenant AI Agent (LangChain + Discord) using GPT, deployed on Ubuntu cloud with monitoring and Google Workspace APIs, built to automate admin tasks for student groups through natural language.

Notifications You must be signed in to change notification settings

hamidatb/AutoExec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

AutoExec - AI Agent for Student Organization Management

Hi there! I'm Hamidat, and I built AutoExec to solve a real problem I experienced as a student leader. Managing multiple clubs and organizations was overwhelming - tracking meeting minutes, following up on action items, and ensuring deadlines were met was becoming a full-time job. So I created an AI agent that automates the entire workflow.

image

๐ŸŽฏ What Problem Does AutoExec Solve?

As a student leader, I found myself constantly:

  • Manually parsing meeting minutes for action items
  • Tracking dozens of tasks across multiple team members
  • Sending reminder after reminder for overdue assignments
  • Coordinating meeting schedules and attendance
  • Managing Google Drive documents and spreadsheets

AutoExec significantly reduces this manual work by using AI to understand natural language, automatically extract tasks from meeting minutes, and intelligently manage the student organization workflow.

๐Ÿš€ Current Features (In Production)

AI Agent Task Management

  • Smart Document Parsing: I integrated LangChain and OpenAI GPT-4 to automatically extract action items from meeting minutes
  • Natural Language Processing: Students can respond to task reminders with simple phrases like "done", "not yet", or "reschedule to next Friday"
  • Intelligent Task Assignment: The bot automatically assigns tasks based on context and team member availability

Automated Meeting Management

  • Smart Scheduling: /meeting set command with natural language parsing
  • Automatic Reminders: T-2h, T-0, and T+30m notifications
  • Minutes Processing: After meetings, the bot automatically parses linked Google Docs and creates tasks
  • Agenda Generation: Creates structured meeting agendas with action item templates

Production-Grade Infrastructure

  • High Reliability: Deployed on Cybera Rapid Access Cloud with systemd services and automated monitoring
  • Scalable Architecture: Designed to handle multiple organizations and growing user bases
  • Google APIs Integration: Seamless integration with Google Drive, Google Sheets, and Google Docs
  • Automated Backups: Daily backups with rollback capabilities for data protection

Advanced Features

  • Multi-Organization Support: Each Discord server gets its own isolated workspace
  • Role-Based Permissions: Admins, moderators, and members have different access levels
  • Audit Trail: Complete history of all task assignments, completions, and modifications
  • Customizable Workflows: Configurable reminder intervals, escalation policies, and notification channels

๐Ÿ› ๏ธ Technical Architecture

Backend Stack

  • Python 3.9+ with asyncio for concurrent operations
  • LangChain Framework for AI agent orchestration and prompt management
  • OpenAI GPT-4 API for natural language understanding and task extraction
  • Discord.py for real-time communication and slash command handling

Cloud Infrastructure

  • Cybera Rapid Access Cloud deployment with Ubuntu 24.04
  • Systemd Services for process management and auto-restart capabilities
  • Automated Monitoring with health checks every 5 minutes
  • Log Rotation and centralized logging for debugging and analytics

Data Management

  • Google Sheets API for structured data storage and real-time collaboration
  • Google Drive API for document management and automatic file organization
  • Google Docs API for intelligent content parsing and task extraction
  • JSON Files for local configuration and state management

๐Ÿ”ง Technology Stack

AI/ML & Natural Language Processing

  • LangChain - AI agent framework for orchestration and prompt management
  • OpenAI GPT-4 - Large language model for natural language understanding
  • OpenAI API - RESTful API integration for real-time AI processing
  • Natural Language Processing - Task extraction and intent recognition
  • Prompt Engineering - Optimized prompts for consistent AI responses

Backend Development

  • Python 3.9+ - Core programming language
  • asyncio - Asynchronous programming for concurrent operations
  • Discord.py - Discord API wrapper for bot development
  • python-dotenv - Environment variable management
  • pytz - Timezone handling and date manipulation
  • python-dateutil - Advanced date parsing and manipulation

Cloud & DevOps

  • Cybera Rapid Access Cloud - OpenStack-based cloud infrastructure
  • Ubuntu 24.04 - Linux server operating system
  • Systemd - Service management and process control
  • SSH - Secure remote access and deployment
  • Cron - Automated task scheduling
  • Logrotate - Log file management and rotation
  • UFW (Uncomplicated Firewall) - Network security and access control

Google Cloud Platform Integration

  • Google Drive API - File storage and document management
  • Google Sheets API - Spreadsheet operations and data manipulation
  • Google Docs API - Document content parsing and extraction
  • Google Service Account - Server-to-server authentication

Database & Data Management

  • Google Sheets - Cloud-based data storage and collaboration
  • JSON - Configuration and data serialization
  • CSV - Data export and import operations
  • UUID - Unique identifier generation

Monitoring & Observability

  • Systemd Journal - Centralized logging and system monitoring
  • Health Checks - Automated service monitoring
  • Backup Systems - Automated data backup and recovery
  • Error Handling - Comprehensive exception management
  • Performance Metrics - Uptime and response time tracking

Security & Configuration

  • Environment Variables - Secure configuration management
  • File Permissions - Unix-style access control (chmod 600)
  • SSH Key Authentication - Public key cryptography
  • Service Account Auth - Secure server-to-server authentication
  • Encrypted Storage - Sensitive data protection
  • Firewall Rules - Network access control

Development & Deployment

  • Git - Version control and code management
  • Virtual Environments - Python dependency isolation
  • pip - Package management and installation
  • Shell Scripting - Automation and deployment scripts
  • Cron Jobs - Scheduled task execution
  • Process Management - Service lifecycle control
  • pytest - Testing framework for comprehensive test coverage

๐Ÿ“Š Real-World Impact

AutoExec has proven its value in real student organization environments, delivering:

  • High reliability with robust uptime and automated monitoring
  • Significant efficiency gains in task and meeting management
  • Seamless integration with existing student workflows
  • Data protection with comprehensive backup systems

๐Ÿ”ฎ Planned Features (Roadmap)

Enhanced AI Capabilities

  • Advanced Analytics Dashboard: Task completion metrics, team performance insights, and productivity trends
  • Smart Scheduling: AI-powered meeting time optimization based on team availability and preferences
  • Smart Task Management: AI-powered task prioritization and deadline optimization

Platform Expansion

  • Web Dashboard: React-based admin interface for non-Discord users
  • Mobile App: Native iOS/Android apps for on-the-go task management
  • Slack Integration: Cross-platform support for enterprise environments
  • Microsoft Teams Integration: Enterprise-grade collaboration features

Advanced Automation

  • Email Notifications: Fallback communication for users not on Discord
  • Calendar Integration: Automatic Google Calendar event creation and management
  • Attendance Tracking: Button-based RSVP system with automatic follow-ups
  • Multi-language Support: Internationalization for global student organizations

๐Ÿš€ Getting Started

Meeting Management (Natural Language)

# Just talk to the bot naturally!
@AutoExec "Schedule a weekly team meeting for tomorrow at 5pm"
@AutoExec "When is our next meeting?"
@AutoExec "Create an agenda for our project review meeting"
@AutoExec "Show me all upcoming meetings"

Task Management (Natural Language)

# Just talk to the bot naturally!
@AutoExec "Create a task for John to prepare presentation slides due tomorrow"
@AutoExec "What tasks do I have?"
@AutoExec "Mark my budget review task as done"
@AutoExec "Reschedule my meeting prep to next Friday"

Natural Language Responses

When the bot pings you about a task, you can reply however you want - just use natural language!

๐Ÿ’ก Why I Built This

As a computer science student and active club leader, I saw firsthand how much time student organizations waste on administrative tasks. Traditional project management tools like Trello or Asana weren't designed for the unique needs of student groups - they're too complex, too expensive, and don't integrate with the tools students actually use (Discord, Google Drive).

I wanted to create something that:

  • Just works without complex setup or training
  • Integrates seamlessly with existing student workflows
  • Scales automatically as organizations grow
  • Leverages AI to eliminate manual work
  • Remains free for student organizations

๐Ÿค Contributing

I welcome contributions from fellow developers! Whether you're interested in:

  • AI Agent improvements (better task extraction, smarter scheduling)
  • Frontend development (web dashboard, mobile apps)
  • Infrastructure (deployment automation, monitoring)
  • Documentation (tutorials, API docs)

Feel free to open an issue or submit a pull request to discuss potential contributions.

๐Ÿ“ž Let's Connect

I'm always excited to discuss:

  • Technical architecture and design decisions
  • AI Agent challenges and solutions
  • Student organization management and automation
  • Career opportunities in software engineering

Feel free to reach out:


Built with โค๏ธ by a student, for students

"The best way to learn is to solve real problems for real people."

About

A multi-tenant AI Agent (LangChain + Discord) using GPT, deployed on Ubuntu cloud with monitoring and Google Workspace APIs, built to automate admin tasks for student groups through natural language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published