Skip to content

feat: add standalone AgentScope-Lab Harbor agent - #20

Draft
KumaKuma2002 wants to merge 1 commit into
agentscope-ai:mainfrom
KumaKuma2002:agent/agentscope-lab-harbor
Draft

feat: add standalone AgentScope-Lab Harbor agent#20
KumaKuma2002 wants to merge 1 commit into
agentscope-ai:mainfrom
KumaKuma2002:agent/agentscope-lab-harbor

Conversation

@KumaKuma2002

Copy link
Copy Markdown
Collaborator

Summary

  • Add AgentScope-Lab 0.2.0 as a standalone package under main_harness/candidates/agentscope-lab/.
  • Provide the agentscope-lab Harbor-facing CLI plus a reference Harbor BaseAgent wrapper.
  • Add versioned result, provenance, native-trace, and ATIF-v1.7 contracts together with validation schemas.
  • Keep the 15 Harness-core Feature switches, workspace isolation, tracing, verification, error classification, and controlled ablation tooling inside the AgentScope-Lab boundary.

Why

This is a companion split from #18. It isolates the AgentScope implementation and Harbor handoff from the broader Harness-core attribution work so the agent boundary can be reviewed independently.

The portable runtime does not import Harbor. Harbor-specific registry and packaging changes remain integration-owned, while harbor_adapter/reference_harbor_agent.py documents and validates the expected wrapper contract.

Scope and impact

  • 76 new text files, all under main_harness/candidates/agentscope-lab/.
  • No modifications to the existing PawBench QwenPaw, OpenClaw, or Hermes runtime paths.
  • No datasets, private results, run records, ablation outputs, caches, virtual environments, built wheels, symlinks, or machine-specific paths are included.
  • API credentials remain environment-only and are redacted at external boundaries.

Validation

  • 418 passed, 4 skipped in a clean standalone Python 3.12 environment.
    • The four skips are parity/data checks whose canonical Harness-core sources and local PawBench V2 task data intentionally remain in feat: add main harness core #18 or outside this PR.
  • agentscope-lab --version reports 0.2.0; CLI help smoke test passed.
  • Reproducible wheel double-build passed: 26 members, identical SHA-256 across both builds.
  • Staged and remote boundary audits passed: 76 files, 0 out-of-scope paths, 0 binary diffs, 0 non-ignored symlinks.
  • Secret/privacy scan found no private-key material, provider-formatted credentials, high-entropy hardcoded credential assignments, private result paths, or local user paths.

Harbor handoff

The handoff includes:

  • harbor_adapter/reference_harbor_agent.py for the Harbor wrapper contract;
  • stable JSON schemas for result, provenance, and ATIF output;
  • explicit error codes and retryability semantics;
  • a pinned, reproducible wheel build process;
  • contract validators for generated Harbor artifacts.

Harbor integration should pin the AgentScope-Lab wheel and Harbor revision, register the wrapper class, and retain the documented no-resume boundary until resume support is implemented.

@helloml0326

Copy link
Copy Markdown
Collaborator

agentscope-lab-harbor-integration-proposal.md
这是融合到harbor的方案,可以作为参考

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants