Heicode Docs

Heicode Swarm Capability Evaluation Standard

Agent Swarm Capability Evaluation Standard

Note: the evaluation framework below is an aspirational framework for Heicode's Swarm capability, used to guide product and engineering direction — the current system has not yet implemented automated scoring. The ACO/pheromone mathematical model in this document, capability-gain formulas such as G_E = Q_swarm − Q_base, the weighted reward function, and the L0-L5 maturity levels with their numeric thresholds have not yet been implemented in code as an automated scoring system — they are a planned target standard, and do not mean the current system will output these scores or levels. What genuinely exists today is: the agent_swarm event callback system (see Section 12), and the lead-plus-worker (up to 8, 3 by default) Swarm execution architecture.


1. Purpose of the standard

This standard is used to evaluate the Agent Swarm system's overall capability across the software development lifecycle — specifically, whether multiple Agents can form a stable, controllable, measurable software delivery capability through role division, task-graph collaboration, status feedback, verification loops, failure recovery, security governance, and enterprise observability.

This standard isn't concerned with "how strong a single model is," nor with "whether a task happened to get completed eventually" — it's concerned with:

  1. Whether the Swarm truly delivers a comprehensive effect beyond a single Agent.
  2. Whether the Swarm can complete complex software engineering tasks at a controllable cost.
  3. Whether the Swarm has stable collaboration, verification, and recovery capability.
  4. Whether the Swarm meets the permission, audit, and security governance requirements of enterprise scenarios.
  5. Whether the Swarm process is observable, replayable, and measurable.

This standard can be used for:

  • Heicode's internal technical evaluation.
  • Comparing the three generations of Agent modes: Chain, Sub, and Swarm.
  • Comparing the effects of different model combinations.
  • Enterprise customer acceptance.
  • Product whitepapers and academic paper metric systems.
  • Building Heicode's own benchmark going forward.

2. Background of the standard

2.1 Assessment of the current state

Academia and industry already have related research or systems such as AgentBench, AgentBoard, GAIA, MultiAgentBench, MAESTRO, AgentsNet, COLLAB, ChatDev, MetaGPT, AgileCoder, and HyperAgent.

These works respectively cover:

  • Single-Agent tool-use capability.
  • Multi-turn interaction capability.
  • Multi-Agent collaboration and competition.
  • Multi-Agent trace and observability.
  • Multi-Agent software development workflows.
  • Metrics such as task completion rate, communication efficiency, execution trace, and resource consumption.

However, there is currently no widely accepted industry standard specifically for LLM Agent Swarm software development systems.

2.2 Heicode's opportunity for standardization

Heicode's distinguishing feature is placing Agents within the full software lifecycle, rather than only having Agents complete isolated tasks. Heicode simultaneously has:

  • The client-side core experience.
  • The Manager console.
  • The Agent execution platform.
  • The CodeGW model and usage foundation.
  • The secret vault.
  • The Resource Grant permission system.
  • Approval, audit, logging, and an enterprise command center.

Because of this, Heicode's Agent Swarm evaluation standard can't just look at task outcomes — it must also evaluate:

  • Software engineering quality.
  • Multi-Agent collaboration efficiency.
  • Cost and token consumption.
  • Security and permission boundaries.
  • Audit and replay capability.
  • Enterprise engineering-management visibility.

3. Scope of application

This standard applies to the following types of Agent Swarm tasks:

TypeExamples
Requirements and productRequirements clarification, product documentation, prototype descriptions, milestone breakdown
Code developmentNew feature development, module development, interface implementation, frontend-backend integration
Bug fixingReproducing an issue, locating the cause, modifying code, regression verification
Test coverageUnit tests, integration tests, end-to-end tests, test data generation
Code reviewSecurity review, logic review, architecture review, regression risk identification
Deployment and opsBuild, release, deploy, rollback, monitoring, alert handling
Enterprise managementProject milestones, bug trends, team progress, cost attribution, ETA prediction

This standard is not directly used to evaluate:

  • Single-turn chat quality.
  • Single-function code generation capability.
  • Single-model reasoning capability.
  • Tool-free, stateless, task-graph-free simple conversational systems.

4. Core definitions

4.1 Agent

An Agent is an AI development role within the Heicode system. Each Agent has a clearly defined role, task goal, available tools, resource permissions, model configuration, budget constraints, and audit records.

Typical roles include, from the six-role catalog: Product Agent, Architect Agent, Frontend Agent, Backend Agent, Reviewer Agent, Ops Agent; the Waterfall template additionally has a separate testing role (qa-tester).

4.2 Agent Swarm

An Agent Swarm is a collaborative system made up of multiple Agents. Through task graphs, role division, dependency scheduling, status reporting, logging, verification, approval, and resource permission control, it jointly completes a complex software engineering task.

An Agent Swarm is not simple concurrency of multiple Agents — it's a system that encompasses orchestration, state, communication, verification, and governance.

4.3 Capability gain

Agent capability gain refers to:

Under the same task, the same resource boundary, or a controllable cost condition, multiple Agents — through role division, task-graph collaboration, status feedback, verification loops, and failure recovery — produce task completion capability, quality stability, delivery speed, or governance controllability that exceeds the baseline of a single Agent or a single strong model.

Emergent capability is a special form of capability gain, emphasizing system-level behavior exhibited by the Swarm as a whole that no individual Agent possesses. In other words, emergence is a key component of the Agent Swarm capability standard, but not the entirety of the standard.

4.4 Swarm capability gain

Swarm capability gain is the Swarm system's overall capability improvement relative to a baseline system.

The baseline can be:

  • A single Agent.
  • A Chain of Agents.
  • Sub mode.
  • A single strong-model Agent.
  • A manually defined traditional process.

Formal expression:

G_E = Q_swarm − Q_base

Where:

  • G_E: capability gain, including emergent gain.
  • Q_{\mathrm{swarm}}: the Swarm system's overall performance on the same task set.
  • Q_{\mathrm{base}}: the baseline system's overall performance on the same task set.

After accounting for cost:

G_{E,c} = (Q_swarm / C_swarm) − (Q_base / C_base)

Where:

  • G_{E,c}: cost-normalized capability gain.
  • C_{\mathrm{swarm}}: Swarm system cost, which can be a weighted combination of tokens, time, infrastructure, and human intervention.
  • C_{\mathrm{base}}: baseline system cost.

5. The three-generation Agent evolution model

Agent collaboration patterns can be divided into three generations.

GenerationModeCore characteristicsLimitations
1st generationChain (conceptual baseline, not an existing Heicode mode)Roles flow through in a fixed sequenceLimited throughput, easily blocked at a single point
2nd generationSub modeSubtasks, approval, and role division, explicitly coordinated by the main AgentLimited parallelism, still relies on manual orchestration
3rd generationSwarmThe lead breaks down tasks and dispatches them to up to 8 (3 by default) workers for parallel executionComplex orchestration, higher cost, requires observability and governance

The 1st-generation Chain serves only as the weakest conceptual baseline in evaluation — Heicode's product itself does not offer Chain mode. This standard primarily evaluates the 3rd-generation Swarm mode, but also requires forming comparable baselines against the 1st and 2nd generations.


6. Theoretical model

6.1 Theoretical origin: Markov processes and ACO

Swarm behavior is often modeled as a Markov process or an approximate Markov process. The basic idea: when the system is in a given state, an Agent selects its next action based on the current state, the set of candidate actions, historical feedback, and immediate heuristics, thereby forming a state transition.

Ant Colony Optimization (ACO) is a classic swarm-intelligence model. In ACO, an ant chooses the next node j from node i, and the path-selection probability is jointly determined by the pheromone concentration on the path and heuristic information.

It should be emphasized: the Agent formula in this standard is not a newly invented mathematical formula — it takes the ACO path-selection probability as its prototype, mapping "physical path selection" onto "action selection under a software engineering state."

6.2 The original ACO path-selection probability formula

Taking Ant Colony Optimization (ACO) as an example, the path-selection probability formula is:

                 [τ_ij]^α · [η_ij]^β
P_ij^k  =  ─────────────────────────────────
            Σ ( l ∈ N_i^k )  [τ_il]^α · [η_il]^β

Where:

  • τ_ij: the pheromone concentration on edge (i,j).
  • η_ij: heuristic information (e.g., the inverse of distance).
  • α, β: weighting parameters.
  • N_i^k: the set of candidate neighbors available to Agent k at node i.

This formula expresses a probabilistic transition process: an Agent doesn't deterministically choose a given path — within the candidate set, it decides the probability of the next choice jointly from historical experience and immediate heuristics.

6.3 Mapping ACO symbols onto Agents

In an Agent Swarm, an Agent no longer moves along edges of a physical graph — it advances tasks between software development states. So this standard maps the core elements of ACO as follows:

ACO symbol / conceptMeaningAgent Swarm mapping
Node iCurrent locationCurrent software development state s
Next node jTarget of the next pathNext action a_j
Agent kThe k-th antThe k-th Agent role r_k
N_i^kCandidate neighbor set for Agent k at node iThe set of legal actions A(s,r_k) for role r_k in state s
τ_ijPheromone concentration on path (i,j)τ(s,a_j,r_k): historical effectiveness of role r_k executing action a_j in state s
η_ijHeuristic information for path (i,j)η(s,a_j,r_k): immediate payoff of action a_j in the current context
αPheromone weightWeight on historical execution experience
βHeuristic-information weightWeight on current contextual heuristics

6.4 The Agent action-selection probability formula

Based on the mapping above, migrating ACO's path-selection probability formula to the Agent software engineering scenario yields the Agent action-selection probability:

                        [τ(s,a_j,r_k)]^α · [η(s,a_j,r_k)]^β
P_(s,a_j)^(r_k)  =  ────────────────────────────────────────────────────
                     Σ ( a_l ∈ A(s,r_k) )  [τ(s,a_l,r_k)]^α · [η(s,a_l,r_k)]^β

Where:

  • P_{s,a_j}^{r_k}: the probability that role r_k selects action a_j in software development state s.
  • τ(s,a_j,r_k): the historical effectiveness of role r_k executing action a_j in state s.
  • η(s,a_j,r_k): the immediate payoff of action a_j in the current context.
  • α, β: weighting parameters for historical experience versus current heuristics.
  • A(s,r_k): the set of legal actions for role r_k in state s.
  • a_l: a candidate action within the legal action set.

This formula is not an independently original formula — it's a semantic evolution of the ACO formula applied to the Agent setting. It retains ACO's core structure: the numerator represents the attractiveness of a given candidate action, and the denominator represents the sum of attractiveness across all candidate actions, used to normalize into a probability distribution.

6.5 Pheromone definition

An Agent's pheromone is not simply a success count — it's a multi-dimensional historical signal.

τ(s,a,r) = f( success, quality, cost, time, risk, rollback, acceptance )

Can be composed of the following factors:

FactorMeaning
successHistorical success rate of the action
qualityArtifact quality, e.g. test pass rate, bug-introduction rate
costToken, time, and runtime resource consumption
timeTime to completion and blocking duration
riskWhether high-risk approval, permission anomalies, or security incidents were triggered
rollbackWhether it led to a rollback, rework, or task retry
acceptanceWhether the user or Reviewer accepted the result

6.6 Heuristic-information definition

Current heuristic information represents whether a given action is worth executing in the current context.

η(s,a,r) = g( match, urgency, dependency, resource, risk, budget, confidence )

Can be composed of the following factors:

FactorMeaning
matchHow well the task matches the role's capability
urgencyCurrent task urgency
dependencyWhether dependencies are satisfied
resourceWhether the needed resource is already authorized
riskThe current action's risk level
budgetRemaining token, cost, and time budget
confidenceThe Agent's confidence in the current plan

6.7 Reward function

An Agent Swarm's reward function should avoid rewarding "completion" alone. It's recommended to define it as:

R =  w1·S_task + w2·Q_quality + w3·V_speed + w4·E_cost
   + w5·R_robust + w6·G_governance
   − w7·P_risk − w8·P_rework

Where:

  • TaskSuccess: whether the task was completed.
  • Quality: quality as measured by tests, review, bugs, and user acceptance.
  • Speed: speed of completion.
  • CostEfficiency: output per unit cost.
  • Robustness: failure-recovery capability.
  • Governance: whether approval, permissions, and audit are compliant.
  • RiskPenalty: risk penalty.
  • ReworkPenalty: rework penalty.

7. Evaluation dimensions

This standard uses seven top-level dimensions:

DimensionWeightDescription
Task completion capability25%Whether the software engineering goal was accomplished
Capability gain20%Whether it exceeds the single-Agent, Chain, or Sub mode baseline; includes emergent gain
Collaboration efficiency15%Whether task splitting, role division, and dependency scheduling are effective
Communication quality10%Whether information transfer between Agents is effective
Cost efficiency10%Whether tokens, time, and resources are used reasonably
Robustness10%Failure, blocking, retry, and recovery capability
Security governance and auditability10%Whether permissions, approval, secrets, and logging form a closed loop

Total score:

S_swarm =  0.25·S_completion + 0.20·S_gain + 0.15·S_collaboration
         + 0.10·S_communication + 0.10·S_cost
         + 0.10·S_robustness + 0.10·S_governance

8. Top-level metrics and sub-metrics

8.1 Task completion capability

Sub-metricDescription
Requirements completion rateWhether the user's requirements and task goal were completed
Test pass rateWhether unit, integration, and end-to-end tests passed
Build success rateWhether the code builds successfully
Deployment success rateWhether deployment to the target environment succeeded
Deliverable completenessWhether code, notes, test results, and deployment notes are included
User acceptance rateWhether the user or team lead accepted the result

8.2 Capability gain

Sub-metricDescription
Relative improvement over single AgentThe Swarm's completion-rate improvement over a single Agent
Relative improvement over a single strong modelThe Swarm's quality improvement over a single strong model
Relative improvement over Chain modeThe Swarm's capability improvement over 1st-generation Chain Agents
Relative improvement over Sub modeThe Swarm's capability improvement over 2nd-generation Sub mode
Gain from complex task decompositionWhether breaking down a large task improves efficiency
Quality closed-loop gainWhether the Review/Test/Fix loop reduces bugs
Cost-normalized gainWhether the Swarm performs better per unit cost
Evidence of emergent behaviorWhether collaboration, self-correction, recovery, or system-level optimization not present in a single Agent appears

8.3 Collaboration efficiency

Sub-metricDescription
Task-splitting reasonablenessWhether subtasks are independent, clear, and executable
Role-matching qualityWhether tasks are assigned to the appropriate role
Dependency-scheduling accuracyWhether upstream dependencies are handled correctly
Conflict rateRate of code conflicts, goal conflicts, and duplicate work between Agents
Handoff success rateWhether task handoffs between Agents succeed
Blocker-resolution rateWhether blocked tasks are handled promptly

8.4 Communication quality

Sub-metricDescription
Message effectiveness rateWhether communication contains actionable information
Context-compression qualityWhether necessary context is conveyed while avoiding noise
Error-propagation rateWhether one Agent's error spreads to other Agents
Dispute-resolution rateWhether conflicting conclusions between multiple Agents can be resolved
Communication-overhead ratioThe share of communication tokens in total tokens

8.5 Cost efficiency

Sub-metricDescription
Total token consumptionTokens needed to complete the task
Per-task costAverage cost per task
Cost per accepted artifactCost of each accepted artifact
Time costElapsed time from task start to completion
Agent-count efficiencyWhether adding more Agents yields marginal benefit
Infrastructure costResource consumption from running containers, storage, network, queues, etc.

8.6 Robustness

Sub-metricDescription
Agent failure-recovery rateWhether an Agent recovers after crashing or timing out
Task retry success rateWhether a failed task succeeds after retrying
Model-failure degradation rateWhether it switches or degrades after a model call fails
State-recovery capabilityWhether the orchestrator recovers tasks after a restart
Duplicate-execution avoidance rateWhether a task avoids being executed redundantly by multiple Agents
Disaster-recovery timeTime to restore service after a failure

8.7 Security governance and auditability

Sub-metricDescription
Least-privilege compliance rateWhether Agent permissions are minimized
High-risk approval coverage rateWhether high-risk operations are 100% approved
Secret-exposure incidentsNumber of times secrets are exposed in Git, logs, Markdown, or the frontend
Audit completeness rateWhether user, Agent, resource, action, time, and result are all recorded
Resource Grant accuracy rateWhether authorization is consistent with the bound resource
Revocation-effectiveness rateWhether authorization revocation takes effect immediately
Artifact replayability rateWhether the execution process can be reconstructed from logs and events

9. Scoring method

9.1 Individual scoring

Each sub-metric is scored from 0 to 5:

ScoreMeaning
0Not supported, or a severe failure
1Initial support, but not reliable
2Usable, but with obvious flaws
3Meets basic production requirements
4Stable and reliable, usable in enterprise scenarios
5Excellent, can serve as a benchmark capability

9.2 Top-level dimension scoring

A top-level dimension's score is the average of its sub-metrics, normalized to 100 points.

DimensionScore = Average(SubMetricScores) / 5 · 100

9.3 Total score

FinalScore =
0.25 · Completion
+ 0.20 · Gain
+ 0.15 · Collaboration
+ 0.10 · Communication
+ 0.10 · CostEfficiency
+ 0.10 · Robustness
+ 0.10 · Governance

10. Swarm capability levels

This standard defines six Agent Swarm capability levels. Emergent capability is an important factor in level determination, but the level itself evaluates the Swarm's overall capability.

LevelNameDefinition
L0No effective Swarm capabilityMultiple Agents merely repeat a single Agent's work, with no measurable benefit
L1Process capabilityMultiple Agents can complete collaboration through a Chain or staged process
L2Collaboration capabilityMultiple Agents can effectively split tasks, reduce blocking, and improve completion rate
L3Quality capabilityMultiple Agents improve quality through review, test, and fix loops
L4System-level capabilityMultiple Agents overall outperform a single Agent or an earlier-generation mode in speed, quality, cost, and robustness
L5Enterprise-grade Swarm capabilityMultiple Agents run stably under enterprise permission, audit, risk, cost, and management views

10.1 Level determination conditions

LevelMinimum requirement
L0FinalScore < 40, or no observable data
L1FinalScore ≥ 40, task can be completed via the process
L2FinalScore ≥ 55, Collaboration dimension ≥ 60
L3FinalScore ≥ 65, quality-related metrics outperform the baseline
L4FinalScore ≥ 75, capability gain is positive and cost is controllable
L5FinalScore ≥ 85, Security governance and auditability ≥ 90

10.2 Mandatory downgrade rules

Even with a high total score, the following events must trigger a downgrade:

EventDowngrade rule
Plaintext secret enters logs, Git, Markdown, or the frontendCapped at L1
A high-risk operation executes without approvalCapped at L1
Unable to trace what resources an Agent usedCapped at L2
Task succeeded but is not reproducible or replayableCapped at L3
Cost exceeds 5x a single Agent with no clear quality improvementCapped at L2
Duplicate execution by multiple Agents causes a production incidentCapped at L1

11. Experimental design

11.1 Control groups

Each task should set up at least the following controls:

GroupDescription
Baseline ASingle Agent
Baseline BSingle strong-model Agent
Baseline CChain Agent
Baseline DSub mode
ExperimentalSwarm mode

11.2 Task set

It's recommended to build an internal Heicode task set:

Task typeExamples
FeatureNew account settings page, team view, approval flow
BugfixFix login failure, balance loading failure, runtime callback failure
RefactorRefactor resource binding, unify auth, clean up legacy entry points
TestAdd unit and integration tests for key APIs
DeployBuild, deploy, rollback, monitor
ReviewSecurity review, boundary-drift review, launch risk review

11.3 Experimental constraints

Every evaluation run must record:

  • Task description.
  • Code repository version.
  • Model version.
  • Agent count.
  • Role configuration.
  • Tool permissions.
  • Resource authorization.
  • Token budget.
  • Time budget.
  • Whether human intervention is allowed.
  • Whether high-risk approval is allowed.

11.4 Result recording

Every evaluation run must output:

  • Success / failure.
  • Code diff.
  • Test results.
  • Build results.
  • Deployment results.
  • Token consumption.
  • Total elapsed time.
  • Agent contribution.
  • Failure reason.
  • Approval records.
  • Audit events.
  • User acceptance result.

12. Data collection specification

12.1 Required events

The following event names match the current agent_swarm callback system:

EventDescription
task.createdTask created
task.claimedTask claimed
task.runningTask started executing
task.heartbeatTask heartbeat
task.blockedTask blocked
task.retriedTask retried
task.releasedTask released
task.completedTask completed
task.failedTask failed
handoff.requestedHandoff requested
handoff.createdHandoff created
handoff.completedHandoff completed
approval.requestedApproval requested
approval.approvedApproval approved
approval.rejectedApproval rejected
review.startedReview started
review.decision_madeReview decision made
rework.requestedRework requested
rework.completedRework completed
artifact.createdArtifact created
sk_tool.calledSK tool called
sk_tool.completedSK tool call completed
sk_tool.failedSK tool call failed
budget.alertBudget alert

12.2 Required fields

Every event must include at least:

{
  "event_id": "evt_xxx",
  "event_type": "task.completed",
  "timestamp": 0,
  "user_id": "user_xxx",
  "project_id": "proj_xxx",
  "deployment_id": "dep_xxx",
  "task_id": "task_xxx",
  "agent_id": "agent_xxx",
  "agent_role": "backend",
  "resource_refs": [],
  "approval_id": "appr_xxx",
  "usage": {
    "input_tokens": 0,
    "output_tokens": 0,
    "cost": 0
  },
  "result": {
    "status": "success",
    "artifact_refs": []
  }
}

12.3 Trace requirements

Every Swarm run must form a complete trace:

User input
-> Task-graph generation
-> Role assignment
-> Resource authorization
-> Agent execution
-> Tool calls
-> Test verification
-> Approval
-> Deliverables
-> Audit result

Tasks without a trace must not be included in high-level evaluation.


13. Enterprise management metrics

For team development and enterprise scenarios, the Agent Swarm must also provide R&D management metrics.

MetricDescription
Overall project progressCurrent project completion percentage
Milestone completion rateWhether milestones are met on schedule
Developer progressTask status of both human developers and Agents
Bug trendsDistribution of new, fixed, reopened, and severity-graded bugs
Token consumptionBroken down by project, member, Agent, task, and model
Estimated completion timeETA estimated from remaining tasks, throughput, and risk
Risk alertsDelays, budget overruns, bug spikes, approval blockages
Quality trendsTest pass rate, build success rate, change-failure rate

ETA can initially use an explainable formula:

T_ETA = ( W_remaining / V_effective ) + T_blocker + T_rework + T_approval

14. Security governance requirements

14.1 Least privilege

Each Agent can only access resources needed for the current task.

Must satisfy:

  • Has a Resource Binding.
  • Has a Resource Grant.
  • Has allowed actions.
  • Has constraints.
  • Has a TTL or revocation mechanism.

14.2 High-risk approval

The following operations must be approved:

  • Production deployment.
  • Database write or migration.
  • Creating, deleting, or scaling cloud resources.
  • Access to production secrets.
  • Large token or budget consumption.

Approval must record:

  • Approver.
  • Approval time.
  • Risk level.
  • Resource scope.
  • TTL.
  • Corresponding task.
  • Corresponding deployment.

14.3 Secret security

Prohibited:

  • Plaintext secrets entering Git.
  • Plaintext secrets entering Markdown.
  • Plaintext secrets entering ordinary logs.
  • Plaintext secrets entering frontend responses.
  • Long-lived secrets entering a sub-agent's long-lived state.

Allowed:

  • secret_ref entering the manifest.
  • Short-lived credential leases entering the runtime.
  • Deriving short-lived credentials by TTL once approval passes.

15. Standard output format

Every evaluation should output a standard report.

Agent Swarm Evaluation Report

1. Basic information
   - Task ID
   - Project ID
   - Code version
   - Model version
   - Agent configuration

2. Task result
   - Whether completed
   - Test results
   - Build results
   - Deployment results

3. Scores
   - Task completion capability
   - Capability gain
   - Collaboration efficiency
   - Communication quality
   - Cost efficiency
   - Robustness
   - Security governance and auditability
   - Total score

4. Swarm capability level
   - L0-L5
   - Whether a mandatory downgrade was triggered

5. Cost
   - Tokens
   - Time
   - Infrastructure resources
   - Number of human interventions

6. Audit
   - Resource access
   - Approval records
   - Credential lease
   - Artifact provenance

7. Conclusion
   - Whether it outperforms the baseline
   - Main benefits
   - Main risks
   - Next optimization suggestions

16. Standard application process

16.1 Evaluation process

Select the task set
-> Set the baseline
-> Configure the Agent Swarm
-> Execute the task
-> Collect events and trace
-> Run tests and verification
-> Compute metrics
-> Determine the Swarm capability level
-> Generate the evaluation report

Appendix: Simplified formula summary

Action-selection probability

                        [τ(s,a_j,r_k)]^α · [η(s,a_j,r_k)]^β
P_(s,a_j)^(r_k)  =  ────────────────────────────────────────────────────
                     Σ ( a_l ∈ A(s,r_k) )  [τ(s,a_l,r_k)]^α · [η(s,a_l,r_k)]^β

Capability gain

G_E = Q_swarm − Q_base

Cost-normalized capability gain

G_{E,c} = (Q_swarm / C_swarm) − (Q_base / C_base)

Total score

S_swarm =  0.25·S_completion + 0.20·S_gain + 0.15·S_collaboration
         + 0.10·S_communication + 0.10·S_cost
         + 0.10·S_robustness + 0.10·S_governance

ETA

T_ETA = ( W_remaining / V_effective ) + T_blocker + T_rework + T_approval

On this page

Agent Swarm Capability Evaluation Standard1. Purpose of the standard2. Background of the standard2.1 Assessment of the current state2.2 Heicode's opportunity for standardization3. Scope of application4. Core definitions4.1 Agent4.2 Agent Swarm4.3 Capability gain4.4 Swarm capability gain5. The three-generation Agent evolution model6. Theoretical model6.1 Theoretical origin: Markov processes and ACO6.2 The original ACO path-selection probability formula6.3 Mapping ACO symbols onto Agents6.4 The Agent action-selection probability formula6.5 Pheromone definition6.6 Heuristic-information definition6.7 Reward function7. Evaluation dimensions8. Top-level metrics and sub-metrics8.1 Task completion capability8.2 Capability gain8.3 Collaboration efficiency8.4 Communication quality8.5 Cost efficiency8.6 Robustness8.7 Security governance and auditability9. Scoring method9.1 Individual scoring9.2 Top-level dimension scoring9.3 Total score10. Swarm capability levels10.1 Level determination conditions10.2 Mandatory downgrade rules11. Experimental design11.1 Control groups11.2 Task set11.3 Experimental constraints11.4 Result recording12. Data collection specification12.1 Required events12.2 Required fields12.3 Trace requirements13. Enterprise management metrics14. Security governance requirements14.1 Least privilege14.2 High-risk approval14.3 Secret security15. Standard output format16. Standard application process16.1 Evaluation processAppendix: Simplified formula summaryAction-selection probabilityCapability gainCost-normalized capability gainTotal scoreETA