agentscope-java

Build distributed, production-grade, long-running agents.

What is agentscope-java?

Build distributed, production-grade, long-running agents.

Overview of agentscope-java

What it is

AgentScope Java 2.0 is a production-ready framework for building distributed, enterprise-grade agents. It provides essential abstractions that work with rising model capability and built-in support for long-running, safely-controlled agent execution.

Key features

  • Event System → A unified event stream with 32 typed events for real-time frontend rendering and human-in-the-loop.
  • Permission System → Tool-call gating: allow / require user approval / deny.
  • Middleware → AOP-style hook interception for flexibly extending the reasoning-acting loop.
  • Workspace & Sandbox → Run tools in isolated environments — local, Docker, Kubernetes, or AgentRun cloud sandbox.
  • Multi-Agent Orchestration → Multiple subagent definition patterns with agent_spawn / agent_send and real-time event forwarding.
  • Distributed Deployment → True distributed session and memory management (Redis / MySQL / PostgreSQL / OSS / COS) with cross-replica session recovery.
  • Agent Evolution → Provides Agent observability and auditing, Agent evaluation and experimentation, and Agent asset management and continuous optimization.

Use cases

AgentScope Java 2.0 is designed for building distributed, production-grade, long-running agents. It can be used for business integration, offering background tasks, interactive assistants, or specialist process steps through Endpoints. Applications retain their interface, data authorization, and acceptance rules. It also supports persistent work and delivery, following status, snapshots, and events through Invocations, handling human interaction, and retrieving results and files for the business process.

Getting started

AgentScope Java requires JDK 17 or higher. Add the following Maven dependency:xml io.agentscope agentscope-harness 2.0.3Model providers are shipped as separate extension modules. Add the one you need — for example, DashScope:xml io.agentscope agentscope-extensions-model-dashscope 2.0.3Other options: agentscope-extensions-model-openai, agentscope-extensions-model-anthropic, agentscope-extensions-model-gemini, agentscope-extensions-model-ollama. See the Model docs for details.

License and pricing

This project is licensed under the Apache-2.0 license. It is open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/agentscope-aiagentscope-java.svg)](https://yunodb.com/tools/agentscope-aiagentscope-java?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/agentscope-aiagentscope-java?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/agentscope-aiagentscope-java.svg" alt="Featured on YunoDB" height="20"></a>