Complete AgentTeams test cycle including installation, uninstallation, running tests, and exporting debug logs for analysis. Use for (1) verifying AgentTeams functionality (2) CI/CD test validation (3) issue diagnosis and debugging (4) pre-merge testing. Trigger words: test AgentTeams, run AgentTeams tests, agentteams test, make test, verify AgentTeams installation.
67
81%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Complete AgentTeams testing workflow including installation verification, functional tests, and issue diagnosis.
# 1. Clone/update code
git clone https://github.com/alibaba/agentteams.git && cd agentteams
# 2. Create config file (first time)
cp agentteams-manager.env.example ~/agentteams-manager.env
# Edit ~/agentteams-manager.env and set AGENTTEAMS_LLM_API_KEY, etc.
# 3. Run full test
set -a && . ~/agentteams-manager.env && set +a && make test# Clone latest code
git clone https://github.com/alibaba/agentteams.git
cd agentteams
# Check if config file exists
ls ~/agentteams-manager.env# Load config and run tests (automatically executes install → test → uninstall)
set -a && . ~/agentteams-manager.env && set +a && make testTest cases:
# Install only
set -a && . ~/agentteams-manager.env && set +a && AGENTTEAMS_YOLO=1 make install
# Uninstall only
make uninstall
# Run tests using existing installation (skip reinstall)
set -a && . ~/agentteams-manager.env && set +a
./tests/run-all-tests.sh --skip-build --use-existingWhen tests fail or hang, use agentteams-debug.sh to export logs:
# In agentteams repository directory
./tests/skills/agentteams-test/scripts/agentteams-debug.sh all
# Analyze hang issues only
./tests/skills/agentteams-test/scripts/agentteams-debug.sh analyze# Manager container logs
docker logs --tail 100 agentteams-manager 2>&1
# Manager Agent logs
docker exec agentteams-manager tail -100 /var/log/agentteams/manager-agent.log
# Manager Agent error logs
docker exec agentteams-manager tail -50 /var/log/agentteams/manager-agent-error.log
# Worker container logs
docker ps --filter "name=agentteams-worker" --format "table {{.Names}}\t{{.Status}}"
docker logs --tail 50 agentteams-worker-alice 2>&1
# Test output files
ls tests/output/
cat tests/output/metrics-*.jsonUse agentteams-debug.sh to analyze PHASE_DONE messages for mention issues:
# Run in AgentTeams repository directory
./tests/skills/agentteams-test/scripts/agentteams-debug.sh analyze 1h
# Or use export-debug-log.py directly
python3 scripts/export-debug-log.py --range 1hagentteams-debug.sh checks if Worker's PHASE_DONE messages include @manager:
@manager → Message will be processed by Manager@manager → Message ignored, may cause hangCommon cause: In multi-phase collaboration projects, Worker doesn't @mention Manager after completing a phase
Solution: Fixed in v1.0.8+, Manager adds Multi-Phase Collaboration Protocol to task specs
# Check if Worker container is running
docker ps --filter "name=agentteams-worker"
# Check Worker Agent process
docker exec agentteams-worker-alice ps aux | grep openclaw# Check error logs
docker exec agentteams-manager grep -i "error\|fail" /var/log/agentteams/manager-agent-error.logSome tests (like test-14-git-collab) take longer, you can increase timeout:
# Run test script directly with custom timeout
timeout 1200 ./tests/run-all-tests.sh --skip-build --use-existing========================================
Test Summary
========================================
Total: 12
[32mPassed: 12[0m
[31mFailed: 0[0m
========================================[36m[TEST INFO][0m SKIP: No GitHub token configuredRequires AGENTTEAMS_GITHUB_TOKEN environment variable.
Each test generates metrics-XX-testname.json containing:
# Full uninstall
make uninstall
# Delete all Worker containers
docker rm -f $(docker ps -aq --filter "name=agentteams-worker")
# Delete test code
rm -rf ./agentteams69c5849
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.