File size: 3,228 Bytes
0b9dc2e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# CHANGELOG of v1.0.0

> ➑️ change; βœ… new feature; ❌ deprecate

The overall changes from v0.x.x to v1.0.0 are summarized below.

## Overview
- βœ… Support asynchronous execution throughout the library
- βœ… Support tools API thoroughly


## ✨Session
- βœ… Support automatic state management
- βœ… Support session/application-level state management


## ✨Tracing
- βœ… Support OpenTelemetry-based tracing
- βœ… Support third-party tracing platforms, e.g. Arize-Phoenix, Langfuse, etc.


## ✨MCP
- βœ… Support both client- and function-level control over MCP by a new MCP module
- βœ… Support both "pay-as-you-go" and persistent session management
- βœ… Support streamable HTTP, SSE and StdIO transport protocols


## ✨Memory
- βœ… Support long-term memory by providing a `LongTermMemoryBase` class
- βœ… Provide a Mem0-based long-term memory implementation
- βœ… Support both static- and agent-controlled long-term memory modes


## Formatter
- βœ… Support prompt construction/formatting with token count estimation
- βœ… Support tools API in multi-agent prompt formatting


## Model
- ❌ Deprecate model configuration, use explicit object instantiation instead
- βœ… Provide a new `ModelResponse` class for structured model responses
- βœ… Support asynchronous model invocation
- βœ… Support reasoning models
- βœ… Support any combination of streaming/non-streaming, reasoning/non-reasoning and tools API


## Agent
- ❌ Deprecate `DialogAgent`, `DictDialogAgent` and prompt-based ReAct agent class
- ➑️ Expose memory, formatter interfaces to the agent's constructor in ReActAgent
- ➑️ Unify the signature of pre- and post- agent hooks
- βœ… Support pre-/post-reasoning and pre-/post-acting hooks in ReActAgent class
- βœ… Support asynchronous agent execution
- βœ… Support interrupting agent's replying and customized interruption handling
- βœ… Support automatic state management
- βœ… Support parallel tool calls
- βœ… Support two-modes long-term memory in ReActAgent class


## Tool
- βœ… Provide a more powerful `Toolkit` class for tools management
- βœ… Provide a new `ToolResponse` class for structured and multimodal tool responses
- βœ… Support group-wise tool management
- βœ… Support agent to manage tools by itself
- βœ… Support post-processing of tool responses
- Tool function
  - βœ… Support both async and sync functions
  - βœ… Support both streaming and non-streaming return


## Evaluation
- βœ… Support ReAct agent-oriented evaluation
- βœ… Support Ray-based distributed and concurrent evaluation
- βœ… Support statistical analysis over evaluation results


## AgentScope Studio
- βœ… Support runtime tracing
- βœ… Provide a built-in copilot agent named Friday


## Logging
- ❌ Deprecate `loguru` and use Python native `logging` module instead


## Distribution
- ❌ Deprecate distribution functionality momentarily, a new distribution module is coming soon


## RAG
- ❌ Deprecate RAG functionality momentarily, a new RAG module is coming soon


## Parsers
- ❌ Deprecate parsers module


## WebBrowser
- ❌ Deprecate the `WebBrowser` class and shift to MCP-based web browsing