Skip to content

Instantly share code, notes, and snippets.

@nevershitty-bot
Created May 27, 2025 07:07
Show Gist options
  • Save nevershitty-bot/0f8b1266140b459e4e9ca0a9f99623da to your computer and use it in GitHub Desktop.
Save nevershitty-bot/0f8b1266140b459e4e9ca0a9f99623da to your computer and use it in GitHub Desktop.
Complete project structure and setup for Recursive Self-Improving Task Runner - Ready for NeverShitty org repository creation

Recursive Self-Improving Task Runner with Universal Connector

Project Overview

This is a Flask-based application that provides an intelligent, self-improving task execution system with dynamic agent selection (OpenAI, ElasticSearch, Claude/Anthropic) through a Universal Connector interface.

Project Structure

recursive-task-runner/
├── app.py                 # Main Flask application
├── universal_connector.py # Universal Connector class
├── agent_manager.py       # Agent management and selection logic
├── task_classifier.py     # Task classification system
├── pricing_calculator.py  # Dynamic pricing logic
├── requirements.txt       # Python dependencies
├── config.py             # Configuration management
├── static/
│   ├── css/
│   │   └── styles.css    # Frontend styling
│   ├── js/
│   │   └── main.js       # Frontend JavaScript
│   └── images/
├── templates/
│   ├── index.html        # Main interface
│   └── base.html         # Base template
├── tests/
│   ├── test_app.py
│   ├── test_connector.py
│   └── test_agents.py
├── docs/
│   ├── API.md            # API documentation
│   ├── SETUP.md          # Setup instructions
│   └── ARCHITECTURE.md   # System architecture
├── .env.example          # Environment variables template
├── .gitignore           # Git ignore file
├── README.md            # Project documentation
└── docker-compose.yml   # Docker configuration

Quick Start

  1. Clone repository
  2. Install dependencies: pip install -r requirements.txt
  3. Copy .env.example to .env and configure API keys
  4. Run: python app.py
  5. Open http://localhost:5000

Features

  • Dynamic AI agent selection (OpenAI, ElasticSearch, Claude)
  • Universal Connector for multi-source data integration
  • Recursive task execution and self-improvement
  • Real-time pricing calculation
  • Web-based interface
  • Comprehensive logging and monitoring

Next Steps

  1. Create repository: recursive-task-runner in NeverShitty org
  2. Import this gist structure
  3. Set up development environment
  4. Configure API keys and services
  5. Begin implementation phase

Handoff Notes for Replit

  • All environment variables should be configured in Replit Secrets
  • Use Replit's package manager for dependencies
  • Flask app configured for Replit hosting
  • Ready for immediate development continuation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment