Skip to content

AGB SDK User Guide ​

This directory contains the complete user guide for AGB SDK, designed with a progressive structure where each guide includes comprehensive content from basic to advanced levels.

πŸ“š Core Guides ​

πŸš€ Getting Started Guides ​

  • session-management.md - Complete Session Management Guide
    • Understanding session functionality and use cases

πŸ”§ Feature Guides ​

  • context-usage-guide.md - Context Usage Guide

    • Comprehensive Context feature introduction
    • File operations and sync mechanisms
    • Advanced features and best practices
  • context-sync-policies.md - Context Sync Policies Guide

    • Sync policy configuration and optimization
    • Recommended configurations for different scenarios
    • Performance tuning and troubleshooting
  • cross-platform-persistence.md - Cross-Platform Data Persistence Guide

    • Cross-platform data persistence using MappingPolicy
    • Path mapping between different session types
    • Browser to code session data sharing
  • code-execution.md - Code Execution Guide

    • Python and JavaScript code execution
    • Code execution best practices
    • Error handling and debugging
  • command-execution.md - Command Execution Guide

    • Shell command operations
    • System monitoring and automation
    • Command chaining and pipeline operations
  • file-operations.md - File Operations Guide

    • File and directory management
    • Batch file processing
    • File system best practices
    • Backup and archival systems

πŸ—οΈ Management Guides ​

  • session-management.md - Session Management Guide

    • Session lifecycle management
    • Resource optimization and cleanup
    • Advanced session configuration
  • best-practices.md - Best Practices Guide

    • Production environment deployment
    • Performance optimization
    • Security considerations
    • Troubleshooting

πŸ“– Guide Features ​

🎯 Progressive Learning Structure ​

Each feature guide (like Session, Context, File Operations) follows a unified progressive structure:

markdown
# Guide Title

## Overview (1 minute)
Quick understanding of core concepts

## Quick Reference (1 minute)
Cheat sheet for experienced users

## Basic Usage (5-10 minutes)
Detailed step-by-step instructions and examples

## Advanced Usage (15-30 minutes)
Complex scenarios and in-depth applications

## Best Practices
Production environment usage recommendations

## Troubleshooting
Common issues and solutions

## Related Documentation
Cross-references and extended reading

πŸ”— Smart Cross-References ​

  • API Reference Links: Point to detailed API documentation
  • Example Code Links: Point to runnable examples
  • Related Guide Links: Point to guides on related topics

πŸ’‘ Practicality First ​

  • Real Scenarios: Examples based on actual use cases
  • Complete Code: Fully runnable complete examples
  • Production Ready: Includes error handling and best practices

πŸ‘‹ New Users (30 minutes) ​

  1. Context Usage Guide - Understanding Context basic concepts
  2. Session Management - Understanding basic concepts
  3. Code Execution - Learning core functionality

πŸš€ Advanced Users (60 minutes) ​

  1. Context Usage Guide - Deep learning Context features
  2. Context Sync Policies Guide - Optimize sync configuration
  3. File Operations - File system operations
  4. Command Execution - System-level operations
  5. Best Practices - Production environment preparation

πŸ† Expert Users (As needed) ​

πŸ“ž Getting Help ​

If you encounter issues while using the guides:

  1. Check related API documentation: API Reference
  2. View example code: Examples Directory
  3. Search common issues: "Troubleshooting" section in each guide
  4. Submit issues: GitHub Issues

πŸ’‘ Tip: These guides follow the "single source of truth" principle to avoid duplicate content. If you find any inconsistent or outdated information, please provide feedback through GitHub Issues.