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:
- Long-context Processing: Supports million-token context windows for complex business logic
- Task-driven Architecture: Organizes development workflows around discrete tasks rather than conversational interactions
- 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:
- Download architecture-specific installer (x64/ARM64)
- Run as administrator
- Select components:
- Core environment (required)
- Debugging tools (recommended)
- Sample projects (optional)
- Automatic desktop shortcut creation
macOS Special Considerations:
- Mount .dmg file after download
- Drag application to Applications folder
- Grant permissions in System Settings:
- Accessibility (for UI operations)
- File system (project management)
- Network (model connections)
Linux Deployment:
# Debian-based exampleecho "deb [trusted=yes] https://ade-repo.example.com/debian stable main" | sudo tee /etc/apt/sources.list.d/ade.listsudo apt update && sudo apt install ade-core ade-cli ade-vscode-extensionade --version
3. Initial Configuration: Critical Parameter Setup
3.1 Model Service Connection
Complete initial setup wizard:
- Service Endpoint Configuration:
- Self-hosted: Enter API endpoint and credentials
- Cloud: Select region and input access key
- Model Selection Strategy:
- Rapid response: GLM-5-turbo (2M tokens/day)
- Complex tasks: GLM-5.2 (3M tokens/day)
- Network Optimization:
- Enable HTTP/2
- Connection pool size: 16 (recommended)
- Timeout threshold: 60s (default)
3.2 Workspace Initialization
# CLI workspace creation exampleade workspace create \--name "ecommerce_project" \--template "full_stack" \--model "glm-5.2" \--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:
- Clear Objective: “Generate user authentication module”
- Context Constraints: “JWT implementation with multi-device support”
- Output Requirements: “Unit tests and API documentation”
- Quality Metrics: “≥85% code coverage, no critical vulnerabilities”
4.2 Development Workflow
Step 1: Task File Creation
# auth_module.task.ymlversion: 1.0name: User Authentication Systemdescription: JWT-based multi-device authenticationrequirements:- Framework: FastAPI 0.100+- Database: PostgreSQL 14+deliverables:- type: python_modulepath: src/auth/- type: test_suitepath: tests/auth/quality_gates:- coverage: ">=85%"- security: "no_critical"
Step 2: Task Execution
ade task run auth_module.task.yml \--watch \ # Real-time progress monitoring--debug \ # Detailed logging--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
Log Analysis:
- Filter errors:
ade log filter --level ERROR - Timeline-based issue localization
- Filter errors:
Performance Optimization:
- Subtask decomposition (<5,000 tokens each)
- Enable incremental builds in
ade.config.json
Quality Assessment:
```pythonSample 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}%”)
# 5. Advanced Capabilities## 5.1 Multi-agent OrchestrationCreate agent pipelines with `ade agent orchestrate`:```yaml# orchestration.ymlagents:- name: api_generatormodel: glm-5.2role: API code generation- name: security_scannermodel: glm-5-turborole: Vulnerability detectionworkflow:- trigger: api_generatoroutput: api_code/- trigger: security_scannerinput: api_code/condition: "file_count > 0"
5.2 CI/CD Integration
Jenkins pipeline example:
pipeline {agent anystages {stage('ADE Execution') {steps {sh 'ade task run --input ./specs --output ./build'archiveArtifacts artifacts: 'build/**', fingerprint: true}}}}
5.3 History Migration
Import conversation records from legacy tools:
ade migrate import \--source "claude_code" \--path ./claude_history.json \--map "claude_user=>ade_dev"
6. Best Practices
Task Decomposition:
- Maintain 2,000-5,000 token range per task
- Break complex logic into related subtasks
Context Management:
- Regularly purge irrelevant history
- Anonymize sensitive information
Performance Tuning:
- Configure model cache (
model_cache_size: 2GB) - Use templates for repetitive tasks
- Configure model cache (
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.
