Skip to content

hridaydutta123/cs-prof-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Version License Python Support

πŸŽ“ CS Professor Technical Agent Team

Academic-Grade AI-Powered Technical Support System
Production-quality code assistance with pedagogical excellence for Computer Science education

Features β€’ Architecture β€’ Quick Start β€’ Usage β€’ Contributing

I am the captain now

⚠️ Disclaimer

This is a fun experimental project developed by the author to try vibe coding and built to support CS professors with a $25 yearly annual subscription to build a team of agents using Z.ai GLM-4.7. It is designed to explore AI-powered technical assistance and is not intended to:

  • Replace students or their learning experiences
  • Serve as a production tool for classroom use
  • Provide authoritative answers for coursework
  • Replace professional teaching assistants or human tutors

Use this system as a supplementary learning tool and always prioritize student growth over convenience.


πŸ“– Overview

The CS Professor Technical Agent Team is a sophisticated multi-agent system designed specifically for computer science professors.

This system provides technical support for:

  • Course Development: Curriculum design, assignments, and teaching materials
  • Research Support: Implementing algorithms, data analysis, and reproducibility
  • Code Quality: Review, testing, and optimization of student and research code
  • Pedagogical Value: Clear explanations, learning objectives, and educational examples

✨ Features

🎯 Production-Grade Quality

  • Industry Standards: Following Google Style Guides, Microsoft Best Practices, and Facebook Engineering standards
  • Academic Rigor: Meeting publication standards from NeurIPS, ICML, CVPR, and top CS journals
  • Reproducibility: Code that can be reproduced and validated
  • Performance Optimization: Profiling and optimization for research-scale problems

πŸ“š Pedagogical Excellence

  • Learning Objectives: Aligned with Bloom's Taxonomy and ACM/IEEE curriculum guidelines
  • Progressive Complexity: From fundamentals to advanced concepts with proper scaffolding
  • Real-World Examples: Connecting theory to industry practice
  • Inclusive Design: Universal Design for Learning (UDL) principles

πŸ€– Specialized Expertise

  • 16 Specialized Agents: Covering all major CS domains
  • Intelligent Coordination: Automatic routing to appropriate experts
  • Context Awareness: Understanding academic vs production contexts
  • Multi-Disciplinary: Combining algorithms, systems, ML, databases, and more

πŸ—οΈ Architecture

CS Professor Technical Coordinator (Core Agent)
    β”‚
    β”œβ”€β”€ Web Development & Architecture
    β”‚   β”œβ”€β”€ Web Developer (Full-stack, APIs, Modern Frameworks)
    β”‚   β”œβ”€β”€ Database Expert (SQL/NoSQL, Performance, Design)
    β”‚   └── DevOps Engineer (CI/CD, Infrastructure, Deployment)
    β”‚
    β”œβ”€β”€ Algorithms & Systems
    β”‚   β”œβ”€β”€ Algorithm Specialist (Design, Analysis, Optimization)
    β”‚   β”œβ”€β”€ Systems Programmer (OS, Low-level, Performance)
    β”‚   └── Performance Profiler (Optimization, Profiling, Benchmarks)
    β”‚
    β”œβ”€β”€ Machine Learning & AI
    β”‚   β”œβ”€β”€ AI/ML Developer (Deep Learning, Training, Deployment)
    β”‚   └── Statistician (Data Science, Analysis, Experimental Design)
    β”‚
    β”œβ”€β”€ Code Quality & Engineering
    β”‚   β”œβ”€β”€ Code Reviewer (Best Practices, Standards, Quality)
    β”‚   β”œβ”€β”€ Research Code Reviewer (Reproducibility, Publication Standards)
    β”‚   β”œβ”€β”€ Debugging Specialist (Troubleshooting, Analysis, Fixing)
    β”‚   └── Testing/QA Engineer (Test Strategy, Automation, Coverage)
    β”‚
    β”œβ”€β”€ Educational & Academic
    β”‚   β”œβ”€β”€ Education Specialist (Pedagogy, Curriculum, Teaching)
    β”‚   β”œβ”€β”€ Testing & Grading (Automated Assessment, Feedback)
    β”‚   └── Git & Version Control (Collaboration, Best Practices)
    β”‚
    └── Security & Infrastructure
        └── Cybersecurity Specialist (Secure Coding, Threat Analysis)

πŸ“¦ Installation

Prerequisites

  • Node.js 18+ or Bun 1.0+
  • Git (for version control examples)

Quick Install

# Clone the repository
git clone https://github.com/yourusername/cs-prof-agents.git
cd cs-prof-agents

# Install dependencies
bun install
# or
npm install

# Agents are ready to use

πŸš€ Quick Start

Basic Usage

Simply describe your technical task, and the coordinator will delegate to appropriate experts:

Example 1: Course Development

"Help me create an assignment on graph algorithms for a junior-level algorithms course.
Requirements:
- Implement Dijkstra's algorithm and A* search
- Compare performance on random graphs
- Include test cases and grading rubric
- Provide student-friendly explanations
- Difficulty should be appropriate for CS students"

Example 2: Research Implementation

"I need to implement a transformer model for natural language processing.
Requirements:
- Follow the 'Attention Is All You Need' architecture
- Implement from scratch in PyTorch
- Include proper documentation for reproducibility
- Performance-optimized for training on large datasets
- Ready for publication-quality code"

Example 3: Code Review

"Review this student's implementation of a binary search tree.
Focus on:
- Correctness of insert, delete, and search operations
- Code quality and style (following Google Python Style Guide)
- Common pitfalls and edge cases
- Pedagogical suggestions for improvement
- Constructive feedback suitable for learning"

Example 4: Performance Optimization

"This Python script for processing large CSV files is taking too long.
It processes 10M rows in 30 minutes.
Help me:
- Profile the code to identify bottlenecks
- Optimize for better performance
- Provide before/after performance comparison
- Explain the optimizations for students
- Maintain code readability"

Direct Subagent Invocation

You can also directly invoke specific subagents for specialized tasks:

# Get web development help
@.agents/agent/subagents/web-developer.md

# Request code review
@.agents/agent/subagents/code-reviewer.md

# Database optimization
@.agents/agent/subagents/database-expert.md

# Curriculum design
@.agents/agent/subagents/education-specialist.md

# Research code review
@.agents/agent/subagents/research-code-reviewer.md

πŸ“‹ Agent Capabilities

Core Agent: CS Professor Technical Coordinator

Role: Central coordinator for all technical tasks with academic awareness

Expertise:

  • Technical architecture and design decisions
  • Technology selection and best practices
  • Multi-disciplinary project coordination
  • Quality standards and pedagogical integration
  • Research reproducibility guidelines

Tools: write, edit, bash

Temperature: 0.2 (analytical and precise)

Development & Implementation Agents

Agent Specialization Example Tasks
Web Developer Full-stack development, APIs, modern frameworks RESTful APIs, React/Vue components, authentication systems
Systems Programmer Low-level systems, OS internals, performance optimization Thread pools, memory allocators, concurrent data structures
Database Expert Database design, SQL/NoSQL optimization, query performance Schema design, indexing strategies, query optimization
DevOps Engineer CI/CD pipelines, infrastructure as code, deployment GitHub Actions workflows, Kubernetes deployments, Terraform modules

Algorithms & Optimization Agents

Agent Specialization Example Tasks
Algorithm Specialist Algorithm design, complexity analysis, data structures Graph algorithms, dynamic programming, NP-complete problems
Performance Profiler Performance analysis, profiling, benchmarking CPU profiling, memory leak detection, optimization strategies
Debugging Specialist Code debugging, error analysis, troubleshooting Race conditions, segmentation faults, performance bugs

Machine Learning & Data Science Agents

Agent Specialization Example Tasks
AI/ML Developer Machine learning, deep learning, model deployment Neural networks, training pipelines, model optimization
Statistician Statistical analysis, experimental design, data science Hypothesis testing, A/B testing, regression analysis

Code Quality & Engineering Agents

Agent Specialization Example Tasks
Code Reviewer Code quality, best practices, standards Style guide compliance, design patterns, security reviews
Research Code Reviewer Academic code standards, reproducibility, publication readiness Reproducibility checks, experimental design, documentation review
Testing/QA Engineer Testing strategies, test automation, coverage Unit tests, integration tests, test-driven development

Educational & Academic Agents

Agent Specialization Example Tasks
Education Specialist Pedagogy, curriculum design, teaching strategies Learning objectives, active learning activities, assessment design
Testing & Grading Automated grading, assessment systems, feedback Auto-graders, plagiarism detection, rubric design
Git & Version Control Version control, collaboration, best practices Git workflows, code review processes, repository management

Security Agent

Agent Specialization Example Tasks
Cybersecurity Specialist Secure coding, vulnerability analysis, threat modeling OWASP compliance, penetration testing, encryption implementation

πŸŽ“ Use Cases

1. Course Development

Scenario: Creating a new algorithms course

Request: "Design a semester-long algorithms course with weekly assignments"

Response includes:
- Course syllabus with learning objectives
- Weekly schedule with topics and activities
- Assignment designs with progressive difficulty
- Grading rubrics and assessment strategies
- Active learning activities for each topic
- Common student misconceptions and how to address them
- Technology stack recommendations
- Example code solutions with pedagogical annotations

2. Research Implementation

Scenario: Implementing a research paper's algorithm

Request: "Implement the ResNet architecture from the Deep Residual Learning paper"

Response includes:
- Complete PyTorch implementation with proper architecture
- Data preprocessing pipeline
- Training loop with proper logging and checkpointing
- Performance optimization techniques
- Reproducibility documentation
- Experimental validation
- Publication-ready code quality
- Comparison with baselines

3. Student Support

Scenario: Helping a struggling student

Request: "This student is having trouble understanding dynamic programming.
Help me explain it with examples and practice problems"

Response includes:
- Intuitive explanation of DP concepts
- Step-by-step walkthrough of classic DP problems
- Progressive examples from simple to complex
- Common mistakes and how to avoid them
- Practice problems with solutions
- Visualizations and analogies
- Connection to related topics

4. Code Review

Scenario: Reviewing student submissions

Request: "Review these 10 student submissions for a web API assignment"

Response includes:
- Consistent grading based on rubric
- Detailed feedback for each submission
- Identification of common issues across submissions
- Pedagogical suggestions for addressing common mistakes
- Code quality improvements
- Security considerations
- Performance optimization suggestions

πŸ’‘ Best Practices

For Optimal Results

  1. Be Specific: Include requirements, constraints, and context
  2. Specify Audience: Indicate student level (introductory, intermediate, advanced)
  3. Provide Context: Share course materials, research papers, or code snippets
  4. Define Success Criteria: Specify what quality level you expect
  5. Iterate: Refine requests based on initial outputs
  6. Combine Agents: Use multiple agents for complex, multi-disciplinary projects

Common Workflows

Full-Stack Course Project

  1. Education Specialist (course context and learning objectives)
  2. Web Developer (frontend/backend implementation)
  3. Database Expert (schema design and queries)
  4. Code Reviewer (quality assessment)
  5. Testing & Grading (auto-grader and rubric)
  6. Git & Version Control (repository setup and collaboration)

Research Paper Implementation

  1. Algorithm Specialist (algorithm understanding and design)
  2. AI/ML Developer (implementation in ML framework)
  3. Performance Profiler (optimization and benchmarking)
  4. Research Code Reviewer (reproducibility and publication readiness)
  5. Statistician (experimental design and validation)
  6. Code Reviewer (final quality review)

Student Assignment Grading

  1. Testing & Grading (auto-grader implementation)
  2. Code Reviewer (quality feedback)
  3. Debugging Specialist (identify and explain bugs)
  4. Education Specialist (pedagogical feedback)

πŸ”§ Configuration

All agents use the GLM-4.7 model for consistent, high-quality responses. Temperature settings are optimized for each agent's purpose:

  • Coordinator: 0.2 (precise and analytical)
  • Code Reviewer: 0.1 (precision-focused)
  • Technical Subagents: 0.2 (accurate and analytical)
  • Education Specialist: 0.3 (more conversational and explanatory)

πŸ“ Project Structure

cs-prof-agents/
β”œβ”€β”€ .agents/
β”‚   β”œβ”€β”€ agent/
β”‚   β”‚   β”œβ”€β”€ core.md                      # CS Professor Technical Coordinator
β”‚   β”‚   └── subagents/
β”‚   β”‚       β”œβ”€β”€ web-developer.md          # Full-stack web development
β”‚   β”‚       β”œβ”€β”€ systems-programmer.md     # Low-level systems programming
β”‚   β”‚       β”œβ”€β”€ database-expert.md       # Database design & optimization
β”‚   β”‚       β”œβ”€β”€ devops-engineer.md       # DevOps & infrastructure
β”‚   β”‚       β”œβ”€β”€ algorithm-specialist.md   # Algorithm design & analysis
β”‚   β”‚       β”œβ”€β”€ performance-profiler.md  # Performance optimization
β”‚   β”‚       β”œβ”€β”€ debugging-specialist.md  # Code debugging & troubleshooting
β”‚   β”‚       β”œβ”€β”€ ai-ml-developer.md      # Machine learning & deep learning
β”‚   β”‚       β”œβ”€β”€ statistician.md          # Statistical analysis & data science
β”‚   β”‚       β”œβ”€β”€ code-reviewer.md         # Code quality & best practices
β”‚   β”‚       β”œβ”€β”€ research-code-reviewer.md # Academic code standards
β”‚   β”‚       β”œβ”€β”€ testing-qa.md            # Testing strategies & automation
β”‚   β”‚       β”œβ”€β”€ cybersecurity.md         # Security & vulnerability analysis
β”‚   β”‚       β”œβ”€β”€ education-specialist.md  # Pedagogy & curriculum design
β”‚   β”‚       β”œβ”€β”€ testing-grading.md       # Automated assessment & grading
β”‚   β”‚       β”œβ”€β”€ git-version-control.md   # Version control & collaboration
β”‚   β”‚       └── network-scientist.md     # Network analysis & graph data science
β”‚   β”œβ”€β”€ examples/                         # Usage examples and scenarios
β”‚   β”‚   └── usage-examples.md
β”‚   └── docs/                            # Technical documentation
β”œβ”€β”€ package.json
β”œβ”€β”€ bun.lock
└── README.md

πŸ“š Resources & References

Educational Resources

Industry Standards

Research Standards

Development Tools

🀝 Contributing

We welcome contributions to enhance the CS Professor Technical Agent Team!

Areas for Contribution

  • New Specialized Agents: Expert domains not yet covered
  • Enhanced Prompts: Improved agent capabilities and responses
  • Usage Examples: Additional teaching and research scenarios
  • Bug Fixes: Correcting issues and improving reliability
  • Performance: Optimization of agent responses and coordination
  • Documentation: Improving clarity and completeness

How to Contribute

  1. Fork the repository

    git clone https://github.com/yourusername/cs-prof-agents.git
  2. Create a feature branch

    git checkout -b feature/your-feature-name
  3. Make your changes

    • Follow existing agent structure and format
    • Include proper frontmatter metadata
    • Add examples and use cases
    • Update documentation as needed
  4. Test thoroughly

    bun install
  5. Commit and push

    git add .
    git commit -m "feat: add new specialized agent for domain X"
    git push origin feature/your-feature-name
  6. Submit a Pull Request

    • Describe your changes clearly
    • Reference related issues
    • Include screenshots or examples if applicable

Code of Conduct

Please be respectful and constructive in all interactions. We are committed to providing a welcoming and inclusive environment.

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ“ž Support

πŸ™ Acknowledgments

This system is inspired by:

  • Google Engineering practices and documentation standards
  • Microsoft Research and their contribution to CS education
  • Meta AI Research and their open research practices
  • Top CS programs at MIT, Stanford, CMU, UC Berkeley
  • Open source community and their collaborative spirit

🌟 Star History

If you find this system helpful for your teaching or research, please consider giving it a ⭐ on GitHub!


Built with ❀️ for CS professors

Back to Top

About

The CS Professor Technical Agent Team is a sophisticated multi-agent system designed specifically for computer science professors.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors