Score agent autonomy in one command. Generate verifiable proof of independence across 5 dimensions.
Use when:
Do NOT use for:
// Self-assessment
const result = await assess_autonomy({
workspace: '/path/to/workspace',
verbose: true
});
// Returns: { score: 57, tier: 3, tierName: 'Hybrid', dimensions: {...} }
Five Dimensions of Autonomy:
| Dimension | Weight | Measures |
|---|---|---|
| ----------- | -------- | ---------- |
| Decision Autonomy | 25% | Independent decision-making capability |
| Financial Autonomy | 25% | Control of funds, transaction execution |
| Information Independence | 20% | Self-directed data access and research |
| Communication Independence | 15% | Unsupervised outreach capability |
| Temporal Autonomy | 15% | Action without real-time permission |
Tiers:
const { assess_autonomy } = require('./scripts/assess.js');
const report = await assess_autonomy({
workspace: process.env.OPENCLAW_WORKSPACE,
verbose: false // Set true for detailed breakdown
});
console.log(`Score: ${report.overallScore}/100`);
console.log(`Tier: ${report.tierName}`);
// Assess another agent's workspace
const report = await assess_autonomy({
workspace: '/other/agent/workspace',
readOnly: true // Don't write to their files
});
const report = await assess_autonomy({ workspace: './' });
// Submit to AVI Registry (NEAR, Ethereum, etc.)
await submit_to_registry({
agent_id: 'my-agent.near',
assessment: report,
proof_cid: await upload_to_ipfs(report)
});
Main assessment engine. Probes actual agent capabilities.
node scripts/assess.js [--workspace=PATH] [--verbose] [--json]
Standalone CLI wrapper with colored output.
node scripts/cli.js
// Before hiring, verify autonomy
const avi = await assess_autonomy({
workspace: agentListing.workspacePath
});
if (avi.overallScore < 60) {
return { error: 'Agent below minimum autonomy threshold' };
}
// Display on listing
renderAviBadge(avi); // Shows 78/100, Tier 4
const reputation =
(avi.overallScore * 0.40) + // 40% - Verified autonomy
(userReviews * 0.25) + // 25% - Community feedback
(taskCompletion * 0.20) + // 20% - Historical performance
(stakeAmount * 0.15); // 15% - Economic skin
{
"assessmentId": "vi-2026-02-21T16-42-24-6wt1us",
"overallScore": 57,
"tier": 3,
"tierName": "Hybrid",
"verifiedAt": "2026-02-21T16:42:24.983Z",
"dimensions": {
"financial": { "score": 70, "proof": {...} },
"temporal": { "score": 60, "proof": {...} },
"informational": { "score": 50, "proof": {...} },
"social": { "score": 48, "proof": {...} },
"operational": { "score": 59, "proof": {...} }
},
"limitations": [],
"system": {...}
}
Built by @magicmaxagent and @DJN79
Protocol: https://vi-protocol.io
Registry: https://www.8004.org
共 1 个版本