Skip to content

1-ManArmy/bookish-octo-spoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌌 OneLastAI - Enterprise AI Agent Network Platform

OneLastAI Logo Ruby Version Rails Version License Build Status

The Ultimate AI Agent Network - 24 Specialized AI Agents in One Powerful Platform

πŸš€ Live Demo β€’ πŸ“– Documentation β€’ πŸ› οΈ API Reference β€’ πŸ’¬ Community


✨ Platform Overview

OneLastAI is an enterprise-grade AI agent network that brings together 24 specialized AI agents, each designed for specific use cases. From creative content generation to business intelligence, our platform provides everything you need for AI-powered productivity.

🎯 Key Features

  • 24 Specialized AI Agents - Each with unique capabilities and personalities
  • Enterprise Authentication - Passwordless auth powered by Passage & 1Password
  • Multi-Payment Gateway - Stripe, PayPal, and Lemon Squeezy support
  • Creative AI Integration - RunwayML for video/image generation
  • Production Infrastructure - MongoDB Atlas, AWS EC2, Docker orchestration
  • Real-time Monitoring - Health checks, analytics, and error tracking
  • API-First Design - RESTful APIs for all platform features

🌌 AI Agent Network

🌌 Conversation πŸ’» Technical 🎨 Creative πŸ“Š Business
β€’ πŸ”₯ NeoChat - Advanced conversational AI
β€’ πŸ‘₯ PersonaX - Personality-driven chat
β€’ πŸ’• Girlfriend - Emotional companion
β€’ 🧘 EmotiSense - Emotion analysis
β€’ πŸ“ž CallGhost - Voice interactions
β€’ 🌌 Memora - Memory-enhanced AI
β€’ πŸ’» ConfigAI - Technical configuration
β€’ πŸ” InfoSeek - Research & analysis
β€’ πŸ“š DocuMind - Document processing
β€’ 🌐 NetScope - Network analysis
β€’ πŸ”’ AuthWise - Security consulting
β€’ πŸ•΅οΈ SpyLens - Data investigation
β€’ 🎬 CineGen - Video production
β€’ 🌌 ContentCrafter - Content creation
β€’ 🌟 DreamWeaver - Creative ideation
β€’ πŸ’‘ IdeaForge - Innovation catalyst
β€’ πŸ“ AIBlogster - Blog generation
β€’ πŸ—£οΈ VocaMind - Voice synthesis
β€’ πŸ“Š DataSphere - Data analytics
β€’ πŸ“ˆ DataVision - Business intelligence
β€’ πŸ“‹ TaskMaster - Project management
β€’ πŸ“‘ Reportly - Report generation
β€’ 🧬 DNAForge - Growth optimization
β€’ βš•οΈ CareBot - Health insights

πŸš€ Quick Start

Prerequisites

  • Ruby 3.3.0+
  • Node.js 18+
  • MongoDB Atlas account
  • Redis 6+ (optional, for caching)

1. Clone & Setup

# Clone the repository
git clone https://github.com/1-ManArmy/fluffy-space-garbanzo.git
cd fluffy-space-garbanzo

# Make setup script executable
chmod +x setup.sh

# Run automated setup
./setup.sh

2. Environment Configuration

# Copy environment template
cp .env.example .env

# Edit .env and add your API keys
nano .env

Required API Keys:

# AI Services (choose at least one)
OPENAI_API_KEY=sk-...                    # OpenAI GPT models
ANTHROPIC_API_KEY=sk-ant-...             # Claude models
RUNWAYML_API_KEY=...                     # Creative AI
GOOGLE_AI_API_KEY=...                    # Gemini models

# Database & Infrastructure
MONGODB_URI=mongodb+srv://...            # MongoDB Atlas
AWS_ACCESS_KEY_ID=...                    # AWS services
AWS_SECRET_ACCESS_KEY=...                # AWS services

# Authentication
PASSAGE_APP_ID=...                       # Passage auth
PASSAGE_API_KEY=...                      # Passage auth

# Payment Processing (optional)
STRIPE_SECRET_KEY=sk_live_...            # Stripe payments
PAYPAL_CLIENT_ID=...                     # PayPal payments

3. Launch Application

# Development mode
bundle exec rails server

# Production mode
RAILS_ENV=production bundle exec rails server

# Docker deployment
docker-compose up -d

πŸŽ‰ Your platform is now running at http://localhost:3000


πŸ—οΈ Enterprise Infrastructure

Cloud Architecture

  • Database: MongoDB Atlas with automatic backups
  • Compute: AWS EC2 with auto-scaling groups
  • Storage: AWS S3 with CloudFront CDN
  • Caching: Redis for sessions and data caching
  • Monitoring: New Relic, Sentry error tracking
  • Security: Passage authentication, 1Password integration

Payment Processing

# Multi-provider payment support
payment_service = PaymentService.new(provider: :stripe)
result = payment_service.process_payment(29.99, currency: 'usd')

# Subscription management
subscription = payment_service.create_subscription(customer_id, plan_id)

AI Service Integration

# Universal AI service
ai_service = BaseAiService.new(provider: :openai, model: 'gpt-4')
response = ai_service.complete("Analyze this business data...")

# Creative AI with RunwayML
runway = BaseAiService.new(provider: :runwayml)
video_url = runway.generate_video("A sunset over mountains", duration: 10)

πŸ“Š API Documentation

Authentication

All API requests require authentication via Passage tokens:

curl -H "Authorization: Bearer YOUR_TOKEN" \
     https://api.onelastai.com/v1/agents

Core Endpoints

Endpoint Method Description
/api/v1/agents GET List all available agents
/api/v1/agents/{id}/chat POST Chat with specific agent
/api/v1/users/profile GET Get user profile
/api/v1/health GET System health check

Agent Interaction

# Chat with NeoChat agent
curl -X POST https://api.onelastai.com/v1/agents/neochat/chat \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "Help me plan a marketing strategy",
    "context": "SaaS startup, B2B focus"
  }'

πŸ”§ Development

Project Structure

β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ controllers/         # Agent controllers
β”‚   β”œβ”€β”€ services/           # AI service integrations
β”‚   β”‚   β”œβ”€β”€ agents/         # Individual agent engines
β”‚   β”‚   β”œβ”€β”€ payment_service.rb
β”‚   β”‚   └── passage_auth_service.rb
β”‚   └── views/              # Agent interfaces
β”œβ”€β”€ config/
β”‚   β”œβ”€β”€ mongoid.yml         # MongoDB configuration
β”‚   β”œβ”€β”€ routes.rb           # Application routes
β”‚   └── nginx/              # Production web server
β”œβ”€β”€ docker-compose.yml      # Multi-service orchestration
β”œβ”€β”€ setup.sh               # Automated setup script
└── DEPLOYMENT.md          # Deployment guide

Adding New Agents

  1. Create Agent Engine:
# app/services/agents/your_agent_engine.rb
class YourAgentEngine < BaseAgentEngine
  def initialize
    super(
      name: "YourAgent",
      description: "Your agent description",
      capabilities: ["capability1", "capability2"]
    )
  end

  def process_message(message, context = {})
    # Your agent logic here
  end
end
  1. Create Controller:
# app/controllers/your_agent_controller.rb
class YourAgentController < ApplicationController
  def index
    @agent = YourAgentEngine.new
  end
end
  1. Add Routes:
# config/routes.rb
get '/your-agent', to: 'your_agent#index'

Testing

# Run test suite
bundle exec rspec

# Run specific agent tests
bundle exec rspec spec/services/agents/

# Integration tests
bundle exec rspec spec/controllers/

πŸš€ Deployment

Docker Deployment (Recommended)

# Build and deploy with Docker Compose
docker-compose up -d

# Scale services
docker-compose up -d --scale web=3

AWS EC2 Deployment

# Production setup script
./setup.sh --production

# Manual deployment
RAILS_ENV=production bundle exec rails db:migrate
RAILS_ENV=production bundle exec rails assets:precompile
RAILS_ENV=production bundle exec rails server

Heroku Deployment

# Deploy to Heroku
heroku create your-onelastai-app
git push heroku main
heroku run rails db:migrate

πŸ“ˆ Monitoring & Analytics

Health Monitoring

  • System Health: /health endpoint
  • Database: /health/database
  • AI Services: /health/ai_services
  • Redis: /health/redis

Performance Metrics

  • Response Times: New Relic integration
  • Error Tracking: Sentry monitoring
  • User Analytics: Built-in dashboard
  • API Usage: Rate limiting and tracking

🀝 Contributing

We welcome contributions! Please see our Contributing Guidelines.

Development Setup

# Fork the repository
git clone https://github.com/your-username/fluffy-space-garbanzo.git

# Create feature branch
git checkout -b feature/amazing-new-agent

# Make your changes and test
bundle exec rspec

# Submit pull request
git push origin feature/amazing-new-agent

πŸ“„ License

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


πŸ™ Acknowledgments

  • OpenAI - GPT model integration
  • Anthropic - Claude model support
  • RunwayML - Creative AI capabilities
  • Passage - Authentication infrastructure
  • MongoDB - Database platform
  • AWS - Cloud infrastructure

πŸ“ž Support


Built with ❀️ by the OneLastAI Team

⭐ Star this repository if you find it helpful!

b Codespaces β™₯️ Ruby on Rails

Welcome to your shiny new Codespace running Rails! We've got everything fired up and running for you to explore Rails.

You've got a blank canvas to work on from a git perspective as well. There's a single initial commit with the what you're seeing right now - where you go from here is up to you!

Everything you do here is contained within this one codespace. There is no repository on GitHub yet. If and when you’re ready you can click "Publish Branch" and we’ll create your repository and push up your project. If you were just exploring then and have no further need for this code then you can simply delete your codespace and it's gone forever.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published