Skip to main content
AgentScope Java supports multiple models, RAG stores, and extensions, each requiring different third-party SDKs. Bundling everything together would bloat your project, so we offer two ways to add dependencies:
  • All-in-one: Single dependency with common model extensions (OpenAI / Gemini / Anthropic / DashScope / Ollama) and MCP SDK included, get started quickly
  • Core + extensions: Minimal core package, add extension modules as needed, for strict dependency control
For most cases, all-in-one is enough. Switch to core + extensions when you need fine-grained dependency control. Requirements: JDK 17+

Dependency Options

Maven:
Gradle:

Included Dependencies

The all-in-one package (io.agentscope:agentscope) already bundles the common model extensions and their required third-party SDKs. You do not need to add model-provider SDKs separately:
  • OpenAI model support (agentscope-extensions-model-openai, native HTTP — no openai-java required)
  • Google Gemini model support (includes Google GenAI SDK)
  • Anthropic model support (includes Anthropic Java SDK)
  • DashScope model support (Qwen series)
  • Ollama model support
  • MCP SDK (Model Context Protocol)
  • Reactor Core, Jackson, SLF4J (base frameworks)

Additional Dependencies

Add the following only when using core + extensions, or when you need runtime drivers / optional components that are not covered above. All-in-one users do not need to manually add OpenAI / Gemini / Anthropic / DashScope / Ollama SDKs for the models listed in the previous section.

Example: Using Qdrant RAG + PDF Processing

Studio Integration

Connect to AgentScope Studio for visualization and debugging: Full configuration:

Core + Extensions

For fine-grained dependency control, use agentscope-core with extension modules: Maven:
Gradle:

Extension Modules

Long-term Memory

RAG

Session Storage

Multi-Agent Collaboration

Scheduling

User Interface

Extension modules automatically include their required third-party dependencies.

Example: Core + Mem0 Extension

Framework Integration

Spring Boot

Additional starters:

Quarkus

Micronaut