Skip to content
danieluxury88Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

72 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– DevBots

AI-powered development automation tools β€” A monorepo of intelligent bots that help you understand and improve your code.

🎯 What's Inside

This workspace contains multiple specialized bots that share common infrastructure:

Team bots (code & issues):

  • GitBot β€” Analyzes git history and generates AI-powered summaries
  • QABot β€” Suggests tests based on code changes and runs test suites
  • Project Manager β€” GitLab/GitHub issue analyzer and AI-powered sprint planner
  • Orchestrator β€” Conversational interface that knows your projects and calls other bots
  • VoiceBot β€” Voice command layer for the orchestrator with Spanish-aware speech recognition
  • TeamsBot β€” Microsoft Teams notification bridge for test messages and saved reports

Personal bots (local files):

  • JournalBot β€” Analyzes personal notes and journal entries (markdown directories)
  • TaskBot β€” Analyzes personal task lists and todo files
  • HabitBot β€” Analyzes habit tracking logs (CSV or markdown)
  • NoteBot β€” AI-powered note analysis and improvement (scope: team or personal)

Dashboard β€” Web-based visual interface for all projects and reports, including a browser voice bridge for spoken commands and spoken bot replies

All bots share the same provider layer for AI analysis and support Anthropic by default plus OpenAI-compatible backends when configured.

⚑ Quick Start

# 1. Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh

# 2. Clone and setup
git clone <your-repo-url>
cd BotsTeam
uv sync

# 3. Configure provider credentials
cp .env.example .env
# For Anthropic: set ANTHROPIC_API_KEY
# For OpenAI-compatible APIs: set DEVBOTS_PROVIDER=openai, OPENAI_API_KEY,
# and change DEVBOTS_MODEL to a model available on that endpoint

# 4. Use any bot!
uv run gitbot /path/to/project
uv run qabot suggest /path/to/project
uv run pmbot analyze --project 12345
uv run chat
uv run voicebot listen --language auto
uv run teamsbot send-test --dry-run

πŸš€ Usage Examples

GitBot - Analyze Repository History

# Get AI summary of recent changes
uv run gitbot . --max-commits 50

# Filter by date range
uv run gitbot . --since 2026-01-01 --until 2026-02-01

# Save report to file
uv run gitbot /path/to/project --output report.md

QABot - Test Suggestions & Execution

# Get test suggestions based on recent changes
uv run qabot suggest /path/to/project

# Run tests in a repository
uv run qabot run /path/to/project

# Full workflow: suggest then run tests
uv run qabot full /path/to/project

Project Manager - GitLab/GitHub Issue Management

# Analyze GitLab issues (patterns, team workload, recommendations)
uv run pmbot analyze --project 12345

# Analyze GitHub issues
uv run pmbot analyze --github-repo owner/repo

# Generate sprint plan with priorities and effort estimates
uv run pmbot plan --project 12345 --output sprint-plan.md

# List issues in a Rich table
uv run pmbot list --project 12345 --state open --label bug

# Create an issue through the configured tracker
uv run pmbot create --project BotsTeam \
  --title "Dashboard: investigate Header Navigation problem" \
  --description "Investigate the Dashboard header navigation problem."

# Review and improve issue descriptions
uv run pmbot review --project BotsTeam --dry-run

Orchestrator - Multi-Project Management

# Register projects (with optional GitLab/GitHub integration)
uv run orchestrator add uni.li /home/user/projects/uni.li \
  --lang php \
  --language php \
  --language javascript \
  --framework Drupal \
  --gitlab-id 76261915 \
  --desc "University Liechtenstein Project"

# List registered projects
uv run orchestrator projects

# Start conversational chat
uv run orchestrator chat
uv run chat                  # shortcut

# Then ask:
# > get qabot report for uni.li
# > show me gitbot analysis of myproject
# > analyze recent changes and tell me what to test for uni.li
# > analyze issues for uni.li
# > create an issue for BotsTeam titled "Dashboard: investigate Header Navigation problem"
# > what projects do you know?

# Launch the visual dashboard (standalone)
uv run dashboard
uv run dashboard --port 3000     # Custom port
uv run dashboard generate        # Regenerate data only

# In the dashboard home page, use the Voice Bridge card for browser mic input
# and spoken routed replies in Spanish or English
# In the Projects view, generated reports can optionally be sent to Teams
# when the project has Teams channels configured.

# Or via orchestrator
uv run orchestrator dashboard

In the dashboard Add Project form, team projects can omit Path when Site URL is set. That supports URL-only PageSpeedBot projects backed by a local placeholder directory under data/_url_projects/.

VoiceBot - Spoken Commands for Bots

# Listen on the microphone, prefer Spanish detection, then route to orchestrator
uv run voicebot listen --language auto

# Transcribe a recorded command without dispatching it
uv run voicebot transcribe ./samples/comando.wav --language es --no-dispatch

# Transcribe and execute the spoken instruction
uv run voicebot transcribe ./samples/command.wav --language auto --dispatch

Personal Bots - Journal, Tasks & Habits

# Register a personal project with data source fields
uv run orchestrator add myjournal ~/notes \
  --scope personal \
  --notes-dir ~/notes \
  --task-file ~/todo.md \
  --habit-file ~/habits.csv

# Then chat naturally
uv run orchestrator chat
# > analyze my journal
# > how are my habits looking?
# > what tasks are overdue?
# > improve my latest note

Personal bot reports are saved to data/personal/{project}/reports/{bot}/.

✨ Reports are automatically saved to data/{project}/reports/{bot}/

πŸ“¦ Architecture

This is a uv workspace monorepo with:

BotsTeam/
β”œβ”€β”€ shared/              # Core library (models, bot_registry, git_reader, file_reader, llm, data_manager)
β”œβ”€β”€ bots/
β”‚   β”œβ”€β”€ gitbot/         # Git history analyzer
β”‚   β”œβ”€β”€ qabot/          # Test suggestion & execution
β”‚   β”œβ”€β”€ project_manager/ # GitLab/GitHub issue analyzer & sprint planner
β”‚   β”œβ”€β”€ journalbot/     # Personal journal/notes analyzer
β”‚   β”œβ”€β”€ taskbot/        # Personal task list analyzer
β”‚   β”œβ”€β”€ habitbot/       # Personal habit tracking analyzer
β”‚   β”œβ”€β”€ orchestrator/   # Conversational bot interface + project registry
β”‚   β”œβ”€β”€ voicebot/       # Voice command interface with Spanish-aware transcription
β”‚   └── dashboard/      # Standalone dashboard CLI (uv run dashboard)
β”œβ”€β”€ dashboard/           # Web dashboard (static HTML/CSS/JS + data generator)
β”‚   β”œβ”€β”€ data/           # Generated JSON files (gitignored): bots, projects, index, dashboard
β”‚   β”œβ”€β”€ css/            # Modular CSS (variables, components, responsive)
β”‚   └── js/             # JavaScript modules (api, components, config, bots)
β”œβ”€β”€ data/                # Project data (auto-saved reports, cache)
β”‚   β”œβ”€β”€ projects.json   # Team project registry
β”‚   β”œβ”€β”€ {project}/
β”‚   β”‚   β”œβ”€β”€ reports/    # Bot reports (gitbot, qabot, pmbot, orchestrator)
β”‚   β”‚   └── cache/
β”‚   └── personal/       # Personal project data
β”‚       β”œβ”€β”€ projects.json
β”‚       └── {project}/
β”‚           └── reports/ # Personal bot reports (journalbot, taskbot, habitbot)
└── docs/               # Documentation + PlantUML diagrams

Each bot:

  • Imports from shared for common functionality
  • Returns structured BotResult for composition
  • Auto-saves reports when invoked through orchestrator
  • Can be called via CLI or programmatically
  • Uses the same shared LLM provider and configuration

Project Registry: Projects are registered in data/projects.json (repo-local) with paths, GitLab/GitHub metadata, integration settings, and optional stack metadata such as languages and frameworks.

πŸ“Š Visual Architecture

See our PlantUML diagrams for visual representations:

See docs/architecture.md for detailed written documentation.

βš™οΈ Configuration

Set up your .env file in the workspace root:

Variable Default Description
ANTHROPIC_API_KEY required Your Anthropic API key
DEVBOTS_MODEL claude-haiku-4-5-20251001 Claude model to use (all bots)
GITLAB_TOKEN β€” Your GitLab personal access token (global fallback)
GITLAB_URL https://gitlab.com GitLab instance URL (for self-hosted)
GITHUB_TOKEN β€” GitHub personal access token
GITHUB_API_URL https://api.github.com GitHub API URL (for GitHub Enterprise)
TEAMS_WEBHOOK_URL β€” Microsoft Teams workflow/webhook URL for teamsbot
TEAMS_TIMEOUT_SECONDS 10 HTTP timeout for Teams deliveries

For GitHub issue creation or editing, the token must be allowed to write issues on the target repository. For fine-grained PATs, grant repository access to the repo and set Issues to Read and write. For classic PATs, use repo for private repositories or public_repo for public ones.

Per-Project Configuration: When adding projects to the orchestrator, you can specify per-project credentials:

orchestrator add myproject /path/to/project \
  --gitlab-id 12345 \
  --gitlab-url https://gitlab.company.com \
  --gitlab-token glpat-xxxxx  # Optional: overrides .env

πŸ”§ Development

# Sync all dependencies
uv sync

# Run individual bots
uv run gitbot --help
uv run qabot --help
uv run pmbot --help
uv run orchestrator --help
uv run voicebot --help

# Run tests (when available)
uv run pytest

πŸ“š Bot Documentation

Each bot has its own README with detailed usage:

πŸ—ΊοΈ Roadmap

GitBot

  • Export report to Markdown file
  • Programmatic API for other bots
  • Date range filtering (--since / --until)
  • Compare two branches
  • GitHub Actions integration

QABot

  • Test framework detection (pytest, unittest)
  • AI-powered test suggestions
  • Test execution
  • Coverage analysis
  • Test generation

Project Manager

  • GitLab issue fetching and display
  • AI-powered issue analysis
  • Sprint planning with effort estimates
  • Programmatic API
  • Multi-project comparison
  • Velocity tracking

Orchestrator

  • Project registry with multi-project support
  • GitLab/GitHub metadata per project
  • Conversational interface with Claude
  • Bot invocation (gitbot, qabot, pmbot, journalbot, taskbot, habitbot)
  • Auto-saving reports to project data directories
  • Project CRUD via REST API and dashboard UI
  • Personal context / scoped workspaces (team vs personal)
  • Multi-bot workflows (gitbot β†’ qabot pipeline)
  • Slack integration β€” uv run slackbot (Socket Mode; see docs)
  • Teams notifications β€” uv run teamsbot send-test / uv run teamsbot send-report (see docs)

Personal Bots

  • JournalBot β€” journal/notes analysis
  • TaskBot β€” task list analysis
  • HabitBot β€” habit tracking analysis
  • NoteBot β€” note analysis + AI improvement (scope: both)
  • Scoped data storage (data/personal/{project}/)
  • Dual project registry (team + personal)

Visual Dashboard

  • HTML/CSS/JS implementation (no frameworks)
  • Data generation scripts
  • Touch-friendly UI
  • Dark mode support
  • In-page markdown report viewer
  • Per-project report generation from Projects page
  • Personal and team projects with scope badges
  • Bot registry auto-loaded from data/bots.json (no hardcoding)
  • Personal bot support in generate modal (journalbot, taskbot, habitbot)

See Dashboard Documentation for details.

πŸ“„ License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages