Orbit Logo

Orbit Playground

A comprehensive monorepo of beta samples and templates for AI integrations, SaaS API development, and Model Context Protocol (MCP) implementations. Built for sister companies to learn, adapt, and deploy advanced AI systems with real-world patterns designed for local development, sandbox testing, and training.

Quick Navigation

๐Ÿš€ New Here? Start with our Getting Started Guide for step-by-step setup instructions!

TL;DR: Install Docker Desktop, then run:

git clone <repository-url>
cd orbit-ai-resources
docker-compose up -d

Result: Complete AI development environment in under 2 minutes at http://localhost:3001 + all sample endpoints!

Overview

Orbit Playground provides comprehensive, self-contained examples that demonstrate modern AI development patterns including MCP server creation, conversational agents, structured UI components, and seamless integration architectures.

Each sample is designed for development and training, well-documented, and designed for adaptation across different business domains.

Sample Projects

4 production-ready samples + 1 experimental for learning and adaptation:

#ProjectTech StackDescriptionStatus
01SaaS Sample KitTypeScript + Express
MCP Server + Python Strands + FastAPI
Complete SaaS API with MCP integration.
21 tools, gym management simulation,
dual transport (stdio/HTTP) support.
Beta
02Weather Forecast AgentTypeScript MCP + Python
Strands + FastAPI
Weather system with structured UI components.
National Weather Service integration,
Chart.js components, AWS Bedrock support.
Beta
03RAG Knowledge BasePython Strands
AWS Bedrock + S3
Retrieve-only RAG system using official
Strands patterns. S3 Knowledge Base
with confidence scoring and citations.
Beta
04Web ScraperTypeScript MCP + Node.js
Cheerio + Python Strands + FastAPI
Ethical web scraping with question-directed
extraction. 4 scraping tools, robots.txt
compliance, natural language interface.
Beta
05AI Chat WidgetReact + TypeScript
Tailwind CSS + AWS Lambda + AWS Bedrock
Self-contained embeddable chat widget.
Single script tag embedding, session
management, simulated AI responses.
Beta
99ScratchpadVariousExperimental playground for new patterns
and proof-of-concept implementations.
๐Ÿงช Experimental

Repository Structure

orbit-ai-resources/
โ”œโ”€โ”€ README.md                    # This overview
โ”œโ”€โ”€ CONTRIBUTING.md              # How to contribute
โ”œโ”€โ”€ LICENSE                      # MIT license
โ”œโ”€โ”€ docker-compose.yml           # Docker orchestration for all services
โ”œโ”€โ”€ docs/                        # High-level documentation
โ”‚   โ””โ”€โ”€ getting_started.md      # Step-by-step setup guide
โ”œโ”€โ”€ postman/                     # API testing collections
โ”‚   โ”œโ”€โ”€ README.md               # Testing guide and workflows
โ”‚   โ”œโ”€โ”€ environments/           # Pre-configured endpoints
โ”‚   โ””โ”€โ”€ collections/            # Comprehensive API test collections
โ”œโ”€โ”€ playground/                  # Standalone AI playground
โ”‚   โ”œโ”€โ”€ README.md               # Playground setup and usage
โ”‚   โ””โ”€โ”€ Dockerfile              # Container configuration
โ””โ”€โ”€ samples/                     # Self-contained example projects
    โ”œโ”€โ”€ README.md               # Detailed sample comparison table
    โ”œโ”€โ”€ 01-saas-sample-kit/     # Complete SaaS + MCP implementation
    โ”œโ”€โ”€ 02-weather-forecast-agent/ # Weather system with UI components
    โ”œโ”€โ”€ 03-rag-kb-strands-basic/   # RAG system with AWS Bedrock KB
    โ”œโ”€โ”€ 04-web-scraper/         # Web scraping with ethical guardrails
    โ”œโ”€โ”€ 05-chat-widget/         # Embeddable AI chat widget
    โ””โ”€โ”€ 99-scratchpad/          # Experimental area (not in CI)

Architecture Patterns

Model Context Protocol (MCP) Servers

  • Dual Transport Support: stdio for Claude Desktop, HTTP for web clients
  • Tool Organization: System management, domain logic, analytics categories
  • Error Handling: Consistent error formats with graceful degradation
  • TypeScript Quality: Strict typing, ES2022 modules, comprehensive tooling

Conversational Agents

  • Strands Framework: Production-ready agent development with Python
  • Structured Components: Chart.js charts, metrics, tables, markdown output
  • Session Management: Conversation memory with efficient persistence
  • Multi-Model Support: Claude, AWS Bedrock Nova, knowledge base integration
  • RAG Integration: Official Strands patterns for S3 Knowledge Base retrieval
  • Web Data Access: Ethical scraping with question-directed extraction
  • Full Observability: OpenTelemetry traces to LangSmith, metrics collection, rotating file logs

API Integration

  • RESTful Design: Consistent response structures, proper status codes
  • Development-First: Memory persistence with deterministic seeding
  • Analytics Ready: Time series, aggregations, business intelligence patterns
  • Security Patterns: Input validation, CORS, authentication templates

Learning Objectives

For Development Teams

  • MCP Protocol: Build tool servers that work with any MCP-compatible client
  • Agent Architecture: Create intelligent conversational systems with external capabilities
  • API Design: Modern TypeScript/Express patterns with comprehensive tooling
  • UI Components: Structured output that integrates with modern frontend frameworks
  • RAG Systems: Implement knowledge retrieval with AWS Bedrock and S3
  • Ethical Scraping: Build web data collection with compliance and guardrails
  • Embeddable Widgets: Self-contained frontend components for website integration

For Sister Companies

  • Integration Patterns: How to MCP-enable existing SaaS platforms
  • Knowledge Systems: Build RAG solutions for document retrieval and Q&A
  • Data Collection: Implement ethical web scraping for business intelligence
  • Widget Development: Create embeddable chat widgets for customer engagement
  • Deployment Strategies: From development to production with Docker and cloud providers
  • Customization Guide: Adapt samples to your specific business domain
  • Best Practices: Security, performance, and maintainability patterns

Development

Getting Started

Start All Services: Run docker-compose up -d to launch everything

Choose Your Sample: Start with the closest match to your use case

Test with Postman: Import collections from postman/ for comprehensive API testing

Study the Documentation: Each sample has comprehensive README and CLAUDE.md files

Adapt to Your Domain: Replace business models, API clients, and tool definitions

Common Patterns

  • Docker-First Development: Single command deployment with docker-compose up -d
  • Memory-Only Development: Fast iteration with deterministic seed data
  • Tool-First Design: Build MCP tools before agent integration
  • Structured Output: Component-based responses for rich UI integration
  • Multi-Transport: Support both CLI and web clients from the same codebase
  • API Testing: Comprehensive Postman collections for all endpoints and workflows

Extension Points

  • New Tools: Add business-specific MCP tools following existing patterns
  • UI Components: Extend structured output schemas for your data types
  • Agent Capabilities: Customize system prompts and conversation flows
  • API Integration: Connect to your existing services and databases

Production Deployment

Scaling Considerations

  • Database Integration: Replace memory stores with persistent databases
  • Authentication: Add proper auth/authz layers
  • Monitoring: Implement logging, metrics, and alerting
  • Load Balancing: Horizontal scaling patterns for stateless services
  • Container Orchestration: Scale from Docker Compose to Kubernetes or ECS

AWS Permissions

Required AWS Services

  • AWS Bedrock: Model inference and Knowledge Base operations
  • Amazon S3: Document storage and artifact management
  • OpenSearch Serverless: Vector embeddings for Knowledge Bases

Service-Specific Setup

For Sample 03 (RAG Knowledge Base): - Requires: Bedrock models, Knowledge Base querying, S3 read access - Optional: Knowledge Base management (if creating new KBs)

For Playground: - Requires: All services (full Knowledge Base lifecycle) - Includes: Artifact upload, encryption, OpenSearch management

For Sample 02 (Weather Agent): - Requires: Only Bedrock models for agent inference - Optional: Knowledge Base integration

For AI SDK & OpenAI SDK: - Requires: API Keys from Providers

Contributing

We welcome contributions from sister companies and the broader community!

See CONTRIBUTING.md for detailed guidelines, code standards, and the review process.

License

See the LICENSE file for details.

Fork Workflow

For detailed fork setup and development workflow, see our Getting Started Guide.

Quick Summary:

  1. Fork the repository on GitHub
  2. Clone your fork locally
  3. Add upstream remote
  4. Create feature branches for your work
  5. Keep your fork synced with upstream

Built with โค๏ธ for sister companies implementing AI-powered systems

This monorepo demonstrates production patterns for MCP servers, conversational agents, RAG systems, web scraping, embeddable widgets, and structured AI integrations. Perfect for teams building the next generation of AI-enabled SaaS applications.

Last updated on