Skip to main content

Harness framework for distributed, enterprise-grade agents.

AgentScope Java is the open-source agent framework for the JVM. ReAct reasoning, Harness engineering infrastructure, multi-agent orchestration, and MCP/A2A protocol support — from local prototype to enterprise-scale deployment.

JDK 17+Maven CentralApache 2.0
io.agentscope:agentscope-harness
JDK 17+minimum Java version
Reactivebuilt on Project Reactor
MCP · A2Aopen protocol support
Apache 2.0open-source license
Harness Engineering

Enterprise patterns, zero boilerplate.

The Harness module injects workspace management, memory persistence, and context compression into the reasoning loop via hooks — without modifying core inference logic.

  • Structured workspace as the single source of truth
  • Cross-session long-term memory with automatic consolidation
  • Context overflow protection with auto-compaction
  • Local disk → Docker sandbox → object storage, one line to switch
Learn about Harness →
workspace/
multi-agent runtime architecture
Multi-Agent

Orchestrate agents like microservices.

Declare sub-agent specs in Markdown files. The supervisor spawns sub-agents on demand at runtime, supporting both blocking and non-blocking delegation modes.

  • Declarative sub-agent definitions — no code changes needed
  • Synchronous blocking and async non-blocking delegation
  • A2A protocol for cross-process and cross-machine agent calls
  • Sub-agents can independently inherit or override Harness config
Learn about multi-agent →

Ready to build?

Run your first agent in minutes. Start with a basic ReActAgent, then layer in Harness engineering, multi-agent orchestration, and enterprise capabilities as you need them — the same API scales with you.

Start building →

Frequently Asked Questions

Still have questions? Ask on GitHub Discussions.