Comprehensive Guide to ADE Development Environment: From Installation to First Long-Task Execution

    This guide provides a step-by-step walkthrough of the Agentic Development Environment (ADE), covering installation across platforms, initial configuration, and practical implementation of long-running tasks. Developers will learn how to leverage ADE's natural language processing capabilities for full-cycle software development.

    1. Environment Overview: A New Paradigm for Agentic Development

    The Agentic Development Environment (ADE) represents an integrated development platform tailored for the large language model era. Its core value lies in seamlessly integrating natural language processing capabilities into traditional programming workflows. Through pre-configured agent frameworks, developers can perform code generation, debugging, testing, project previewing, and change review operations using natural language commands.

    Three technical features define modern ADE implementations:

    1. Long-context Processing: Supports million-token context windows for complex business logic
    2. Task-driven Architecture: Organizes development workflows around discrete tasks rather than conversational interactions
    3. Cross-platform Compatibility: Provides native support for Windows, macOS, and Linux environments

    Key application scenarios include:

    • Rapid prototyping through natural language specifications
    • Complex system debugging using extended context analysis
    • Automated code review with quality assessment
    • Multi-agent collaboration for distributed systems

    2. Installation Deployment: Cross-platform Solutions

    2.1 System Requirements

    Platform Hardware Specifications Software Dependencies
    Windows x64/ARM64 architecture, 8GB+ RAM .NET Framework 4.8+
    macOS Apple Silicon/Intel, 16GB+ RAM macOS 12.0+
    Linux x86_64 architecture, 8GB+ RAM glibc 2.28+

    2.2 Installation Procedures

    Windows Installation:

    1. Download architecture-specific installer (x64/ARM64)
    2. Run as administrator
    3. Select components:
      • Core environment (required)
      • Debugging tools (recommended)
      • Sample projects (optional)
    4. Automatic desktop shortcut creation

    macOS Special Considerations:

    1. Mount .dmg file after download
    2. Drag application to Applications folder
    3. Grant permissions in System Settings:
      • Accessibility (for UI operations)
      • File system (project management)
      • Network (model connections)

    Linux Deployment:

    1. # Debian-based example
    2. echo "deb [trusted=yes] https://ade-repo.example.com/debian stable main" | sudo tee /etc/apt/sources.list.d/ade.list
    3. sudo apt update && sudo apt install ade-core ade-cli ade-vscode-extension
    4. ade --version

    3. Initial Configuration: Critical Parameter Setup

    3.1 Model Service Connection

    Complete initial setup wizard:

    1. Service Endpoint Configuration:
      • Self-hosted: Enter API endpoint and credentials
      • Cloud: Select region and input access key
    2. Model Selection Strategy:
      • Rapid response: GLM-5-turbo (2M tokens/day)
      • Complex tasks: GLM-5.2 (3M tokens/day)
    3. Network Optimization:
      • Enable HTTP/2
      • Connection pool size: 16 (recommended)
      • Timeout threshold: 60s (default)

    3.2 Workspace Initialization

    1. # CLI workspace creation example
    2. ade workspace create \
    3. --name "ecommerce_project" \
    4. --template "full_stack" \
    5. --model "glm-5.2" \
    6. --storage "local:///projects"

    Key parameters:

    • --template: web/mobile/backend architecture presets
    • --storage: Local path or object storage URI
    • --env: Environment variable injection (e.g., DB_CONNECTION_STRING)

    4. First Long-Task Development Practice

    4.1 Task Definition Standards

    Effective tasks require:

    1. Clear Objective: “Generate user authentication module”
    2. Context Constraints: “JWT implementation with multi-device support”
    3. Output Requirements: “Unit tests and API documentation”
    4. Quality Metrics: “≥85% code coverage, no critical vulnerabilities”

    4.2 Development Workflow

    Step 1: Task File Creation

    1. # auth_module.task.yml
    2. version: 1.0
    3. name: User Authentication System
    4. description: JWT-based multi-device authentication
    5. requirements:
    6. - Framework: FastAPI 0.100+
    7. - Database: PostgreSQL 14+
    8. deliverables:
    9. - type: python_module
    10. path: src/auth/
    11. - type: test_suite
    12. path: tests/auth/
    13. quality_gates:
    14. - coverage: ">=85%"
    15. - security: "no_critical"

    Step 2: Task Execution

    1. ade task run auth_module.task.yml \
    2. --watch \ # Real-time progress monitoring
    3. --debug \ # Detailed logging
    4. --workers 4 # Parallel processing threads

    Step 3: Interactive Development
    Task panel features:

    • Context injection: Append business rules
    • Intermediate validation: Review generated code
    • Direction adjustment: Modify technology stack

    4.3 Debugging Techniques

    1. Log Analysis:

      • Filter errors: ade log filter --level ERROR
      • Timeline-based issue localization
    2. Performance Optimization:

      • Subtask decomposition (<5,000 tokens each)
      • Enable incremental builds in ade.config.json
    3. Quality Assessment:
      ```python

      Sample evaluation script

      import pytest
      from coverage import Coverage

    def evaluate_code(path):
    pytest.main([f”{path}/tests”, “—cov={path}/src”])
    cov = Coverage()
    cov.load()
    print(f”Total coverage: {cov.report()*100:.2f}%”)

    1. # 5. Advanced Capabilities
    2. ## 5.1 Multi-agent Orchestration
    3. Create agent pipelines with `ade agent orchestrate`:
    4. ```yaml
    5. # orchestration.yml
    6. agents:
    7. - name: api_generator
    8. model: glm-5.2
    9. role: API code generation
    10. - name: security_scanner
    11. model: glm-5-turbo
    12. role: Vulnerability detection
    13. workflow:
    14. - trigger: api_generator
    15. output: api_code/
    16. - trigger: security_scanner
    17. input: api_code/
    18. condition: "file_count > 0"

    5.2 CI/CD Integration

    Jenkins pipeline example:

    1. pipeline {
    2. agent any
    3. stages {
    4. stage('ADE Execution') {
    5. steps {
    6. sh 'ade task run --input ./specs --output ./build'
    7. archiveArtifacts artifacts: 'build/**', fingerprint: true
    8. }
    9. }
    10. }
    11. }

    5.3 History Migration

    Import conversation records from legacy tools:

    1. ade migrate import \
    2. --source "claude_code" \
    3. --path ./claude_history.json \
    4. --map "claude_user=>ade_dev"

    6. Best Practices

    1. Task Decomposition:

      • Maintain 2,000-5,000 token range per task
      • Break complex logic into related subtasks
    2. Context Management:

      • Regularly purge irrelevant history
      • Anonymize sensitive information
    3. Performance Tuning:

      • Configure model cache (model_cache_size: 2GB)
      • Use templates for repetitive tasks
    4. Security Practices:

      • Isolate development/production environments
      • Audit agent permissions regularly

    This structured approach enables 3-5x productivity gains while maintaining enterprise-grade code quality. Begin with simple tasks to familiarize with environment features before advancing to complex system development.