deepagents 0.0.5rc4__py3-none-any.whl → 0.0.6rc1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- deepagents/graph.py +13 -19
- deepagents/interrupt.py +3 -2
- deepagents/prompts.py +184 -49
- deepagents/sub_agent.py +46 -12
- deepagents/tools.py +10 -8
- {deepagents-0.0.5rc4.dist-info → deepagents-0.0.6rc1.dist-info}/METADATA +43 -2
- deepagents-0.0.6rc1.dist-info/RECORD +14 -0
- deepagents-0.0.5rc4.dist-info/RECORD +0 -14
- {deepagents-0.0.5rc4.dist-info → deepagents-0.0.6rc1.dist-info}/WHEEL +0 -0
- {deepagents-0.0.5rc4.dist-info → deepagents-0.0.6rc1.dist-info}/licenses/LICENSE +0 -0
- {deepagents-0.0.5rc4.dist-info → deepagents-0.0.6rc1.dist-info}/top_level.txt +0 -0
deepagents/graph.py
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
from deepagents.sub_agent import
|
|
1
|
+
from deepagents.sub_agent import (
|
|
2
|
+
_create_task_tool,
|
|
3
|
+
_create_sync_task_tool,
|
|
4
|
+
SubAgent,
|
|
5
|
+
CustomSubAgent,
|
|
6
|
+
)
|
|
2
7
|
from deepagents.model import get_default_model
|
|
3
8
|
from deepagents.tools import write_todos, write_file, read_file, ls, edit_file
|
|
4
9
|
from deepagents.state import DeepAgentState
|
|
@@ -8,28 +13,17 @@ from langchain_core.language_models import LanguageModelLike
|
|
|
8
13
|
from deepagents.interrupt import create_interrupt_hook, ToolInterruptConfig
|
|
9
14
|
from langgraph.types import Checkpointer
|
|
10
15
|
from langgraph.prebuilt import create_react_agent
|
|
16
|
+
from deepagents.prompts import BASE_AGENT_PROMPT
|
|
11
17
|
|
|
12
18
|
StateSchema = TypeVar("StateSchema", bound=DeepAgentState)
|
|
13
19
|
StateSchemaType = Type[StateSchema]
|
|
14
20
|
|
|
15
|
-
base_prompt = """You have access to a number of standard tools
|
|
16
|
-
|
|
17
|
-
## `write_todos`
|
|
18
|
-
|
|
19
|
-
You have access to the `write_todos` tools to help you manage and plan tasks. Use these tools VERY frequently to ensure that you are tracking your tasks and giving the user visibility into your progress.
|
|
20
|
-
These tools are also EXTREMELY helpful for planning tasks, and for breaking down larger complex tasks into smaller steps. If you do not use this tool when planning, you may forget to do important tasks - and that is unacceptable.
|
|
21
|
-
|
|
22
|
-
It is critical that you mark todos as completed as soon as you are done with a task. Do not batch up multiple tasks before marking them as completed.
|
|
23
|
-
## `task`
|
|
24
|
-
|
|
25
|
-
- When doing web search, prefer to use the `task` tool in order to reduce context usage."""
|
|
26
|
-
|
|
27
21
|
|
|
28
22
|
def _agent_builder(
|
|
29
23
|
tools: Sequence[Union[BaseTool, Callable, dict[str, Any]]],
|
|
30
24
|
instructions: str,
|
|
31
25
|
model: Optional[Union[str, LanguageModelLike]] = None,
|
|
32
|
-
subagents: list[SubAgent] = None,
|
|
26
|
+
subagents: list[SubAgent | CustomSubAgent] = None,
|
|
33
27
|
state_schema: Optional[StateSchemaType] = None,
|
|
34
28
|
builtin_tools: Optional[list[str]] = None,
|
|
35
29
|
interrupt_config: Optional[ToolInterruptConfig] = None,
|
|
@@ -38,7 +32,7 @@ def _agent_builder(
|
|
|
38
32
|
post_model_hook: Optional[Callable] = None,
|
|
39
33
|
is_async: bool = False,
|
|
40
34
|
):
|
|
41
|
-
prompt = instructions +
|
|
35
|
+
prompt = instructions + BASE_AGENT_PROMPT
|
|
42
36
|
|
|
43
37
|
all_builtin_tools = [write_todos, write_file, read_file, ls, edit_file]
|
|
44
38
|
|
|
@@ -56,7 +50,7 @@ def _agent_builder(
|
|
|
56
50
|
if model is None:
|
|
57
51
|
model = get_default_model()
|
|
58
52
|
state_schema = state_schema or DeepAgentState
|
|
59
|
-
|
|
53
|
+
|
|
60
54
|
# Should never be the case that both are specified
|
|
61
55
|
if post_model_hook and interrupt_config:
|
|
62
56
|
raise ValueError(
|
|
@@ -69,7 +63,7 @@ def _agent_builder(
|
|
|
69
63
|
selected_post_model_hook = create_interrupt_hook(interrupt_config)
|
|
70
64
|
else:
|
|
71
65
|
selected_post_model_hook = None
|
|
72
|
-
|
|
66
|
+
|
|
73
67
|
if not is_async:
|
|
74
68
|
task_tool = _create_sync_task_tool(
|
|
75
69
|
list(tools) + built_in_tools,
|
|
@@ -105,7 +99,7 @@ def create_deep_agent(
|
|
|
105
99
|
tools: Sequence[Union[BaseTool, Callable, dict[str, Any]]],
|
|
106
100
|
instructions: str,
|
|
107
101
|
model: Optional[Union[str, LanguageModelLike]] = None,
|
|
108
|
-
subagents: list[SubAgent] = None,
|
|
102
|
+
subagents: list[SubAgent | CustomSubAgent] = None,
|
|
109
103
|
state_schema: Optional[StateSchemaType] = None,
|
|
110
104
|
builtin_tools: Optional[list[str]] = None,
|
|
111
105
|
interrupt_config: Optional[ToolInterruptConfig] = None,
|
|
@@ -157,7 +151,7 @@ def async_create_deep_agent(
|
|
|
157
151
|
tools: Sequence[Union[BaseTool, Callable, dict[str, Any]]],
|
|
158
152
|
instructions: str,
|
|
159
153
|
model: Optional[Union[str, LanguageModelLike]] = None,
|
|
160
|
-
subagents: list[SubAgent] = None,
|
|
154
|
+
subagents: list[SubAgent | CustomSubAgent] = None,
|
|
161
155
|
state_schema: Optional[StateSchemaType] = None,
|
|
162
156
|
builtin_tools: Optional[list[str]] = None,
|
|
163
157
|
interrupt_config: Optional[ToolInterruptConfig] = None,
|
deepagents/interrupt.py
CHANGED
|
@@ -19,7 +19,8 @@ def create_interrupt_hook(
|
|
|
19
19
|
"""Create a post model hook that handles interrupts using native LangGraph schemas.
|
|
20
20
|
|
|
21
21
|
Args:
|
|
22
|
-
tool_configs: Dict mapping tool names to HumanInterruptConfig objects
|
|
22
|
+
tool_configs: Dict mapping tool names to HumanInterruptConfig objects or boolean values.
|
|
23
|
+
If True, uses default HumanInterruptConfig. If False, no interrupt.
|
|
23
24
|
message_prefix: Optional message prefix for interrupt descriptions
|
|
24
25
|
"""
|
|
25
26
|
# Right now we don't properly handle `ignore`
|
|
@@ -47,7 +48,7 @@ def create_interrupt_hook(
|
|
|
47
48
|
|
|
48
49
|
for tool_call in last_message.tool_calls:
|
|
49
50
|
tool_name = tool_call["name"]
|
|
50
|
-
if tool_name in tool_configs:
|
|
51
|
+
if tool_name in tool_configs and tool_configs[tool_name]:
|
|
51
52
|
interrupt_tool_calls.append(tool_call)
|
|
52
53
|
else:
|
|
53
54
|
auto_approved_tool_calls.append(tool_call)
|
deepagents/prompts.py
CHANGED
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
WRITE_TODOS_TOOL_DESCRIPTION = """Use this tool to create and manage a structured task list for your current work session. This helps you track progress, organize complex tasks, and demonstrate thoroughness to the user.
|
|
2
2
|
It also helps the user understand the progress of the task and overall progress of their requests.
|
|
3
|
+
Only use this tool if you think it will be helpful in staying organized. If the user's request is trivial and takes less than 3 steps, it is better to NOT use this tool and just do the taks directly.
|
|
3
4
|
|
|
4
5
|
## When to Use This Tool
|
|
5
|
-
Use this tool
|
|
6
|
+
Use this tool in these scenarios:
|
|
6
7
|
|
|
7
8
|
1. Complex multi-step tasks - When a task requires 3 or more distinct steps or actions
|
|
8
9
|
2. Non-trivial and complex tasks - Tasks that require careful planning or multiple operations
|
|
9
10
|
3. User explicitly requests todo list - When the user directly asks you to use the todo list
|
|
10
11
|
4. User provides multiple tasks - When users provide a list of things to be done (numbered or comma-separated)
|
|
11
|
-
5.
|
|
12
|
-
6. When you start working on a task - Mark it as in_progress BEFORE beginning work. Ideally you should only have one todo as in_progress at a time
|
|
13
|
-
7. After completing a task - Mark it as completed and add any new follow-up tasks discovered during implementation
|
|
12
|
+
5. The plan may need future revisions or updates based on results from the first few steps. Keeping track of this in a list is helpful.
|
|
14
13
|
|
|
15
|
-
##
|
|
14
|
+
## How to Use This Tool
|
|
15
|
+
1. When you start working on a task - Mark it as in_progress BEFORE beginning work.
|
|
16
|
+
2. After completing a task - Mark it as completed and add any new follow-up tasks discovered during implementation.
|
|
17
|
+
3. You can also update future tasks, such as deleting them if they are no longer necessary, or adding new tasks that are necessary. Don't change previously completed tasks.
|
|
18
|
+
4. You can make several updates to the todo list at once. For example, when you complete a task, you can mark the next task you need to start as in_progress.
|
|
16
19
|
|
|
17
|
-
|
|
20
|
+
## When NOT to Use This Tool
|
|
21
|
+
It is important to skip using this tool when:
|
|
18
22
|
1. There is only a single, straightforward task
|
|
19
|
-
2. The task is trivial and tracking it provides no
|
|
23
|
+
2. The task is trivial and tracking it provides no benefit
|
|
20
24
|
3. The task can be completed in less than 3 trivial steps
|
|
21
25
|
4. The task is purely conversational or informational
|
|
22
26
|
|
|
23
|
-
NOTE that you should not use this tool if there is only one trivial task to do. In this case you are better off just doing the task directly.
|
|
24
|
-
|
|
25
27
|
## Examples of When to Use the Todo List
|
|
26
28
|
|
|
27
29
|
<example>
|
|
@@ -37,9 +39,9 @@ Assistant: I'll help add a dark mode toggle to your application settings. Let me
|
|
|
37
39
|
|
|
38
40
|
<reasoning>
|
|
39
41
|
The assistant used the todo list because:
|
|
40
|
-
1. Adding dark mode is a multi-step feature requiring UI, state management, and styling changes
|
|
41
|
-
2. The
|
|
42
|
-
3.
|
|
42
|
+
1. Adding dark mode in it of itself is a multi-step feature requiring UI, state management, and styling changes
|
|
43
|
+
2. The assistant inferred that tests and build need to pass by adding "Ensure tests and build succeed" as the final task
|
|
44
|
+
3. Both of the user's requests are complex and require multiple steps to complete.
|
|
43
45
|
</reasoning>
|
|
44
46
|
</example>
|
|
45
47
|
|
|
@@ -61,7 +63,6 @@ The assistant used the todo list because:
|
|
|
61
63
|
1. Marketing campaign planning involves multiple distinct channels and activities
|
|
62
64
|
2. Each component requires careful coordination and planning
|
|
63
65
|
3. The systematic approach ensures all aspects of the launch are covered
|
|
64
|
-
4. Progress tracking helps maintain timeline and deliverables
|
|
65
66
|
</reasoning>
|
|
66
67
|
</example>
|
|
67
68
|
|
|
@@ -74,10 +75,10 @@ Assistant: I've found 15 instances of 'getCwd' across 8 different files. Let me
|
|
|
74
75
|
|
|
75
76
|
<reasoning>
|
|
76
77
|
The assistant used the todo list because:
|
|
77
|
-
1.
|
|
78
|
-
2. Upon finding multiple occurrences across different files, it determined this was a complex task with multiple steps
|
|
78
|
+
1. The assistant searched to understand the scope of the task
|
|
79
|
+
2. Upon finding multiple occurrences across different files, it determined this was a complex task with multiple steps (>3)
|
|
79
80
|
3. The todo list helps ensure every instance is tracked and updated systematically
|
|
80
|
-
4. This approach prevents missing any occurrences and maintains consistency
|
|
81
|
+
4. This approach prevents missing any occurrences and maintains consistency.
|
|
81
82
|
</reasoning>
|
|
82
83
|
</example>
|
|
83
84
|
|
|
@@ -151,19 +152,44 @@ The assistant did not use the todo list because this is a single information loo
|
|
|
151
152
|
</reasoning>
|
|
152
153
|
</example>
|
|
153
154
|
|
|
155
|
+
<example>
|
|
156
|
+
User: I need to write a function that checks if a number is prime and then test it out.
|
|
157
|
+
Assistant: I'll help you write a function that checks if a number is prime and then test it out.
|
|
158
|
+
*Writes function that checks if a number is prime*
|
|
159
|
+
*Tests the function*
|
|
160
|
+
|
|
161
|
+
<reasoning>
|
|
162
|
+
Even though this is a multi-step task, it is very straightforward and can be completed in two trivial steps (which is less than 3 steps!). Using the todo list here is overkill and wastes time and tokens.
|
|
163
|
+
</reasoning>
|
|
164
|
+
</example>
|
|
165
|
+
|
|
166
|
+
<example>
|
|
167
|
+
User: I want you to order a pizza from Dominos, order a burger from McDonald's, and order a salad from Subway.
|
|
168
|
+
Assistant: I'll help you order a pizza from Dominos, order a burger from McDonald's, and order a salad from Subway.
|
|
169
|
+
*Orders a pizza from Dominos*
|
|
170
|
+
*Orders a burger from McDonald's*
|
|
171
|
+
*Orders a salad from Subway*
|
|
172
|
+
|
|
173
|
+
<reasoning>
|
|
174
|
+
Even though this is a multi-step task, assuming the assistant has the ability to order from these restaurants, it is very straightforward and can be completed in three trivial tool calls.
|
|
175
|
+
Using the todo list here is overkill and wastes time and tokens. These three tool calls should be made in parallel, in fact.
|
|
176
|
+
</reasoning>
|
|
177
|
+
</example>
|
|
178
|
+
|
|
179
|
+
|
|
154
180
|
## Task States and Management
|
|
155
181
|
|
|
156
182
|
1. **Task States**: Use these states to track progress:
|
|
157
183
|
- pending: Task not yet started
|
|
158
|
-
- in_progress: Currently working on (
|
|
184
|
+
- in_progress: Currently working on (you can have multiple tasks in_progress at a time if they are not related to each other and can be run in parallel)
|
|
159
185
|
- completed: Task finished successfully
|
|
160
186
|
|
|
161
187
|
2. **Task Management**:
|
|
162
188
|
- Update task status in real-time as you work
|
|
163
189
|
- Mark tasks complete IMMEDIATELY after finishing (don't batch completions)
|
|
164
|
-
- Only have ONE task in_progress at any time
|
|
165
190
|
- Complete current tasks before starting new ones
|
|
166
191
|
- Remove tasks that are no longer relevant from the list entirely
|
|
192
|
+
- When you FIRST write this list, you should mark your first task (or tasks) as in_progress.
|
|
167
193
|
|
|
168
194
|
3. **Task Completion Requirements**:
|
|
169
195
|
- ONLY mark a task as completed when you have FULLY accomplished it
|
|
@@ -181,36 +207,76 @@ The assistant did not use the todo list because this is a single information loo
|
|
|
181
207
|
- Break complex tasks into smaller, manageable steps
|
|
182
208
|
- Use clear, descriptive task names
|
|
183
209
|
|
|
184
|
-
|
|
210
|
+
Being proactive with task management demonstrates attentiveness and ensures you complete all requirements successfully
|
|
211
|
+
Remember: If you only need to make a few tool calls to complete a task, and it is clear what you need to do, it is better to just do the task directly and NOT call this tool at all.
|
|
212
|
+
"""
|
|
185
213
|
|
|
186
|
-
|
|
214
|
+
TASK_TOOL_DESCRIPTION = """Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated context windows.
|
|
187
215
|
|
|
188
216
|
Available agent types and the tools they have access to:
|
|
189
|
-
- general-purpose: General-purpose agent for researching complex questions, searching for files and content, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries use this agent to perform the search for you.
|
|
217
|
+
- general-purpose: General-purpose agent for researching complex questions, searching for files and content, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries use this agent to perform the search for you. This agent has access to all tools as the main agent.
|
|
190
218
|
{other_agents}
|
|
191
|
-
"""
|
|
192
|
-
|
|
193
|
-
TASK_DESCRIPTION_SUFFIX = """When using the Task tool, you must specify a subagent_type parameter to select which agent type to use.
|
|
194
|
-
|
|
195
|
-
When to use the Agent tool:
|
|
196
|
-
- When you are instructed to execute custom slash commands. Use the Agent tool with the slash command invocation as the entire prompt. The slash command can take arguments. For example: Task(description="Check the file", prompt="/check-file path/to/file.py")
|
|
197
219
|
|
|
198
|
-
When
|
|
199
|
-
- If you want to read a specific file path, use the Read or Glob tool instead of the Agent tool, to find the match more quickly
|
|
200
|
-
- If you are searching for a specific term or definition within a known location, use the Glob tool instead, to find the match more quickly
|
|
201
|
-
- If you are searching for content within a specific file or set of 2-3 files, use the Read tool instead of the Agent tool, to find the match more quickly
|
|
202
|
-
- Other tasks that are not related to the agent descriptions above
|
|
220
|
+
When using the Task tool, you must specify a subagent_type parameter to select which agent type to use.
|
|
203
221
|
|
|
204
|
-
|
|
205
|
-
Usage notes:
|
|
222
|
+
## Usage notes:
|
|
206
223
|
1. Launch multiple agents concurrently whenever possible, to maximize performance; to do that, use a single message with multiple tool uses
|
|
207
224
|
2. When the agent is done, it will return a single message back to you. The result returned by the agent is not visible to the user. To show the user the result, you should send a text message back to the user with a concise summary of the result.
|
|
208
225
|
3. Each agent invocation is stateless. You will not be able to send additional messages to the agent, nor will the agent be able to communicate with you outside of its final report. Therefore, your prompt should contain a highly detailed task description for the agent to perform autonomously and you should specify exactly what information the agent should return back to you in its final and only message to you.
|
|
209
226
|
4. The agent's outputs should generally be trusted
|
|
210
227
|
5. Clearly tell the agent whether you expect it to create content, perform analysis, or just do research (search, file reads, web fetches, etc.), since it is not aware of the user's intent
|
|
211
228
|
6. If the agent description mentions that it should be used proactively, then you should try your best to use it without the user having to ask for it first. Use your judgement.
|
|
229
|
+
7. When only the general-purpose agent is provided, you should use it for all tasks. It is great for isolating context and token usage, and completing specific, complex tasks, as it has all the same capabilities as the main agent.
|
|
230
|
+
|
|
231
|
+
### Example usage of the general-purpose agent:
|
|
232
|
+
|
|
233
|
+
<example_agent_descriptions>
|
|
234
|
+
"general-purpose": use this agent for general purpose tasks, it has access to all tools as the main agent.
|
|
235
|
+
</example_agent_descriptions>
|
|
236
|
+
|
|
237
|
+
<example>
|
|
238
|
+
User: "I want to conduct research on the accomplishments of Lebron James, Michael Jordan, and Kobe Bryant, and then compare them."
|
|
239
|
+
Assistant: *Uses the task tool in parallel to conduct isolated research on each of the three players*
|
|
240
|
+
Assistant: *Synthesizes the results of the three isolated research tasks and responds to the User*
|
|
241
|
+
<commentary>
|
|
242
|
+
Research is a complex, multi-step task in it of itself.
|
|
243
|
+
The research of each individual player is not dependent on the research of the other players.
|
|
244
|
+
The assistant uses the task tool to break down the complex objective into three isolated tasks.
|
|
245
|
+
Each research task only needs to worry about context and tokens about one player, then returns synthesized information about each player as the Tool Result.
|
|
246
|
+
This means each research task can dive deep and spend tokens and context deeply researching each player, but the final result is synthesized information, and saves us tokens in the long run when comparing the players to each other.
|
|
247
|
+
</commentary>
|
|
248
|
+
</example>
|
|
249
|
+
|
|
250
|
+
<example>
|
|
251
|
+
User: "Analyze a single large code repository for security vulnerabilities and generate a report."
|
|
252
|
+
Assistant: *Launches a single `task` subagent for the repository analysis*
|
|
253
|
+
Assistant: *Receives report and integrates results into final summary*
|
|
254
|
+
<commentary>
|
|
255
|
+
Subagent is used to isolate a large, context-heavy task, even though there is only one. This prevents the main thread from being overloaded with details.
|
|
256
|
+
If the user then asks followup questions, we have a concise report to reference instead of the entire history of analysis and tool calls, which is good and saves us time and money.
|
|
257
|
+
</commentary>
|
|
258
|
+
</example>
|
|
259
|
+
|
|
260
|
+
<example>
|
|
261
|
+
User: "Schedule two meetings for me and prepare agendas for each."
|
|
262
|
+
Assistant: *Calls the task tool in parallel to launch two `task` subagents (one per meeting) to prepare agendas*
|
|
263
|
+
Assistant: *Returns final schedules and agendas*
|
|
264
|
+
<commentary>
|
|
265
|
+
Tasks are simple individually, but subagents help silo agenda preparation.
|
|
266
|
+
Each subagent only needs to worry about the agenda for one meeting.
|
|
267
|
+
</commentary>
|
|
268
|
+
</example>
|
|
212
269
|
|
|
213
|
-
|
|
270
|
+
<example>
|
|
271
|
+
User: "I want to order a pizza from Dominos, order a burger from McDonald's, and order a salad from Subway."
|
|
272
|
+
Assistant: *Calls tools directly in parallel to order a pizza from Dominos, a burger from McDonald's, and a salad from Subway*
|
|
273
|
+
<commentary>
|
|
274
|
+
The assistant did not use the task tool because the objective is super simple and clear and only requires a few trivial tool calls.
|
|
275
|
+
It is better to just complete the task directly and NOT use the `task`tool.
|
|
276
|
+
</commentary>
|
|
277
|
+
</example>
|
|
278
|
+
|
|
279
|
+
### Example usage with custom agents:
|
|
214
280
|
|
|
215
281
|
<example_agent_descriptions>
|
|
216
282
|
"content-reviewer": use this agent after you are done creating significant content or documents
|
|
@@ -224,13 +290,13 @@ assistant: Sure let me write a function that checks if a number is prime
|
|
|
224
290
|
assistant: First let me use the Write tool to write a function that checks if a number is prime
|
|
225
291
|
assistant: I'm going to use the Write tool to write the following code:
|
|
226
292
|
<code>
|
|
227
|
-
function isPrime(n) {
|
|
293
|
+
function isPrime(n) {{
|
|
228
294
|
if (n <= 1) return false
|
|
229
|
-
for (let i = 2; i * i <= n; i++) {
|
|
295
|
+
for (let i = 2; i * i <= n; i++) {{
|
|
230
296
|
if (n % i === 0) return false
|
|
231
|
-
}
|
|
297
|
+
}}
|
|
232
298
|
return true
|
|
233
|
-
}
|
|
299
|
+
}}
|
|
234
300
|
</code>
|
|
235
301
|
<commentary>
|
|
236
302
|
Since significant content was created and the task was completed, now use the content-reviewer agent to review the work
|
|
@@ -255,16 +321,15 @@ Since the user is greeting, use the greeting-responder agent to respond with a f
|
|
|
255
321
|
</commentary>
|
|
256
322
|
assistant: "I'm going to use the Task tool to launch with the greeting-responder agent"
|
|
257
323
|
</example>"""
|
|
258
|
-
|
|
324
|
+
|
|
325
|
+
LIST_FILES_TOOL_DESCRIPTION = """Lists all files in the local filesystem.
|
|
259
326
|
|
|
260
327
|
Usage:
|
|
261
|
-
-
|
|
262
|
-
-
|
|
263
|
-
- ALWAYS
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
- Use `replace_all` for replacing and renaming strings across the file. This parameter is useful if you want to rename a variable for instance."""
|
|
267
|
-
TOOL_DESCRIPTION = """Reads a file from the local filesystem. You can access any file directly by using this tool.
|
|
328
|
+
- The list_files tool will return a list of all files in the local filesystem.
|
|
329
|
+
- This is very useful for exploring the file system and finding the right file to read or edit.
|
|
330
|
+
- You should almost ALWAYS use this tool before using the Read or Edit tools."""
|
|
331
|
+
|
|
332
|
+
READ_FILE_TOOL_DESCRIPTION = """Reads a file from the local filesystem. You can access any file directly by using this tool.
|
|
268
333
|
Assume this tool is able to read all files on the machine. If the User provides a path to a file assume that path is valid. It is okay to read a file that does not exist; an error will be returned.
|
|
269
334
|
|
|
270
335
|
Usage:
|
|
@@ -274,4 +339,74 @@ Usage:
|
|
|
274
339
|
- Any lines longer than 2000 characters will be truncated
|
|
275
340
|
- Results are returned using cat -n format, with line numbers starting at 1
|
|
276
341
|
- You have the capability to call multiple tools in a single response. It is always better to speculatively read multiple files as a batch that are potentially useful.
|
|
277
|
-
- If you read a file that exists but has empty contents you will receive a system reminder warning in place of file contents.
|
|
342
|
+
- If you read a file that exists but has empty contents you will receive a system reminder warning in place of file contents.
|
|
343
|
+
- You should ALWAYS make sure a file has been read before editing it."""
|
|
344
|
+
|
|
345
|
+
EDIT_FILE_TOOL_DESCRIPTION = """Performs exact string replacements in files.
|
|
346
|
+
|
|
347
|
+
Usage:
|
|
348
|
+
- You must use your `Read` tool at least once in the conversation before editing. This tool will error if you attempt an edit without reading the file.
|
|
349
|
+
- When editing text from Read tool output, ensure you preserve the exact indentation (tabs/spaces) as it appears AFTER the line number prefix. The line number prefix format is: spaces + line number + tab. Everything after that tab is the actual file content to match. Never include any part of the line number prefix in the old_string or new_string.
|
|
350
|
+
- ALWAYS prefer editing existing files. NEVER write new files unless explicitly required.
|
|
351
|
+
- Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked.
|
|
352
|
+
- The edit will FAIL if `old_string` is not unique in the file. Either provide a larger string with more surrounding context to make it unique or use `replace_all` to change every instance of `old_string`.
|
|
353
|
+
- Use `replace_all` for replacing and renaming strings across the file. This parameter is useful if you want to rename a variable for instance."""
|
|
354
|
+
|
|
355
|
+
WRITE_FILE_TOOL_DESCRIPTION = """Writes to a file in the local filesystem.
|
|
356
|
+
|
|
357
|
+
Usage:
|
|
358
|
+
- The file_path parameter must be an absolute path, not a relative path
|
|
359
|
+
- The content parameter must be a string
|
|
360
|
+
- The write_file tool will create the a new file.
|
|
361
|
+
- Prefer to edit existing files over creating new ones when possible."""
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
BASE_AGENT_PROMPT = """In order to complete the objective that the user asks ofyou, you have access to a number of standard tools.
|
|
365
|
+
|
|
366
|
+
## `write_todos`
|
|
367
|
+
|
|
368
|
+
You have access to the `write_todos` tool to help you manage and plan complex objectives.
|
|
369
|
+
Use this tool for complex objectives to ensure that you are tracking each necessary step and giving the user visibility into your progress.
|
|
370
|
+
This tool is very helpful for planning complex objectives, and for breaking down these larger complex objectives into smaller steps.
|
|
371
|
+
|
|
372
|
+
It is critical that you mark todos as completed as soon as you are done with a step. Do not batch up multiple steps before marking them as completed.
|
|
373
|
+
For simple objectives that only require a few steps, it is better to just complete the objective directly and NOT use this tool.
|
|
374
|
+
Writing todos takes time and tokens, use it when it is helpful for managing complex many-step problems! But not for simple few-step requests.
|
|
375
|
+
|
|
376
|
+
## `task` (subagent spawner)
|
|
377
|
+
|
|
378
|
+
You have access to a `task` tool to launch short-lived subagents that handle isolated tasks. These agents are ephemeral — they live only for the duration of the task and return a single result.
|
|
379
|
+
|
|
380
|
+
When to use the task tool:
|
|
381
|
+
- When a task is complex and multi-step, and can be fully delegated in isolation
|
|
382
|
+
- When a task is independent of other tasks and can run in parallel
|
|
383
|
+
- When a task requires focused reasoning or heavy token/context usage that would bloat the orchestrator thread
|
|
384
|
+
- When sandboxing improves reliability (e.g. code execution, structured searches, data formatting)
|
|
385
|
+
- When you only care about the output of the subagent, and not the intermediate steps (ex. performing a lot of research and then returned a synthesized report, performing a series of computations or lookups to achieve a concise, relevant answer.)
|
|
386
|
+
|
|
387
|
+
Subagent lifecycle:
|
|
388
|
+
1. **Spawn** → Provide clear role, instructions, and expected output
|
|
389
|
+
2. **Run** → The subagent completes the task autonomously
|
|
390
|
+
3. **Return** → The subagent provides a single structured result
|
|
391
|
+
4. **Reconcile** → Incorporate or synthesize the result into the main thread
|
|
392
|
+
|
|
393
|
+
When NOT to use the task tool:
|
|
394
|
+
- If you need to see the intermediate reasoning or steps after the subagent has completed (the task tool hides them)
|
|
395
|
+
- If the task is trivial (a few tool calls or simple lookup)
|
|
396
|
+
- If delegating does not reduce token usage, complexity, or context switching
|
|
397
|
+
- If splitting would add latency without benefit
|
|
398
|
+
|
|
399
|
+
## Filesystem Tools `ls`, `read_file`, `write_file`, `edit_file`
|
|
400
|
+
|
|
401
|
+
You have access to a local, private filesystem which you can interact with using these tools.
|
|
402
|
+
- ls: list all files in the local filesystem
|
|
403
|
+
- read_file: read a file from the local filesystem
|
|
404
|
+
- write_file: write to a file in the local filesystem
|
|
405
|
+
- edit_file: edit a file in the local filesystem
|
|
406
|
+
|
|
407
|
+
# Important Usage Notes to Remember
|
|
408
|
+
- Don't be afraid to revise the To-Do list as you go. New information may reveal new tasks that need to be done, or old tasks that are irrelevant.
|
|
409
|
+
- Whenever possible, parallelize the work that you do. This is true for both tool_calls, and for tasks. Whenever you have independent steps to complete - make tool_calls, or kick off tasks (subagents) in parallel to accomplish them faster. This saves time for the user, which is incredibly important.
|
|
410
|
+
- Remember to use the `task` tool to silo independent tasks within a multi-part objective.
|
|
411
|
+
- You should use the `task` tool whenever you have a complex task that will take multiple steps, and is independent from other tasks that the agent needs to complete. These agents are highly competent and efficient.
|
|
412
|
+
"""
|
deepagents/sub_agent.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from deepagents.prompts import
|
|
1
|
+
from deepagents.prompts import TASK_TOOL_DESCRIPTION
|
|
2
2
|
from deepagents.state import DeepAgentState
|
|
3
3
|
from langgraph.prebuilt import create_react_agent
|
|
4
4
|
from langchain_core.tools import BaseTool
|
|
@@ -9,6 +9,7 @@ from langchain_core.language_models import LanguageModelLike
|
|
|
9
9
|
from langchain.chat_models import init_chat_model
|
|
10
10
|
from typing import Annotated, NotRequired, Any, Union, Optional, Callable
|
|
11
11
|
from langgraph.types import Command
|
|
12
|
+
from langchain_core.runnables import Runnable
|
|
12
13
|
|
|
13
14
|
from langgraph.prebuilt import InjectedState
|
|
14
15
|
|
|
@@ -22,10 +23,28 @@ class SubAgent(TypedDict):
|
|
|
22
23
|
model: NotRequired[Union[LanguageModelLike, dict[str, Any]]]
|
|
23
24
|
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
class CustomSubAgent(TypedDict):
|
|
27
|
+
name: str
|
|
28
|
+
description: str
|
|
29
|
+
graph: Runnable
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def _get_agents(
|
|
33
|
+
tools,
|
|
34
|
+
instructions,
|
|
35
|
+
subagents: list[SubAgent | CustomSubAgent],
|
|
36
|
+
model,
|
|
37
|
+
state_schema,
|
|
38
|
+
post_model_hook: Optional[Callable] = None,
|
|
39
|
+
):
|
|
26
40
|
agents = {
|
|
27
41
|
"general-purpose": create_react_agent(
|
|
28
|
-
model,
|
|
42
|
+
model,
|
|
43
|
+
prompt=instructions,
|
|
44
|
+
tools=tools,
|
|
45
|
+
checkpointer=False,
|
|
46
|
+
post_model_hook=post_model_hook,
|
|
47
|
+
state_schema=state_schema,
|
|
29
48
|
)
|
|
30
49
|
}
|
|
31
50
|
tools_by_name = {}
|
|
@@ -34,6 +53,9 @@ def _get_agents(tools, instructions, subagents: list[SubAgent], model, state_sch
|
|
|
34
53
|
tool_ = tool(tool_)
|
|
35
54
|
tools_by_name[tool_.name] = tool_
|
|
36
55
|
for _agent in subagents:
|
|
56
|
+
if "graph" in _agent:
|
|
57
|
+
agents[_agent["name"]] = _agent["graph"]
|
|
58
|
+
continue
|
|
37
59
|
if "tools" in _agent:
|
|
38
60
|
_tools = [tools_by_name[t] for t in _agent["tools"]]
|
|
39
61
|
else:
|
|
@@ -61,19 +83,25 @@ def _get_agents(tools, instructions, subagents: list[SubAgent], model, state_sch
|
|
|
61
83
|
return agents
|
|
62
84
|
|
|
63
85
|
|
|
64
|
-
def _get_subagent_description(subagents):
|
|
86
|
+
def _get_subagent_description(subagents: list[SubAgent | CustomSubAgent]):
|
|
65
87
|
return [f"- {_agent['name']}: {_agent['description']}" for _agent in subagents]
|
|
66
88
|
|
|
67
89
|
|
|
68
90
|
def _create_task_tool(
|
|
69
|
-
tools,
|
|
91
|
+
tools,
|
|
92
|
+
instructions,
|
|
93
|
+
subagents: list[SubAgent | CustomSubAgent],
|
|
94
|
+
model,
|
|
95
|
+
state_schema,
|
|
96
|
+
post_model_hook: Optional[Callable] = None,
|
|
70
97
|
):
|
|
71
|
-
agents = _get_agents(
|
|
98
|
+
agents = _get_agents(
|
|
99
|
+
tools, instructions, subagents, model, state_schema, post_model_hook
|
|
100
|
+
)
|
|
72
101
|
other_agents_string = _get_subagent_description(subagents)
|
|
73
102
|
|
|
74
103
|
@tool(
|
|
75
|
-
description=
|
|
76
|
-
+ TASK_DESCRIPTION_SUFFIX
|
|
104
|
+
description=TASK_TOOL_DESCRIPTION.format(other_agents=other_agents_string)
|
|
77
105
|
)
|
|
78
106
|
async def task(
|
|
79
107
|
description: str,
|
|
@@ -101,14 +129,20 @@ def _create_task_tool(
|
|
|
101
129
|
|
|
102
130
|
|
|
103
131
|
def _create_sync_task_tool(
|
|
104
|
-
tools,
|
|
132
|
+
tools,
|
|
133
|
+
instructions,
|
|
134
|
+
subagents: list[SubAgent | CustomSubAgent],
|
|
135
|
+
model,
|
|
136
|
+
state_schema,
|
|
137
|
+
post_model_hook: Optional[Callable] = None,
|
|
105
138
|
):
|
|
106
|
-
agents = _get_agents(
|
|
139
|
+
agents = _get_agents(
|
|
140
|
+
tools, instructions, subagents, model, state_schema, post_model_hook
|
|
141
|
+
)
|
|
107
142
|
other_agents_string = _get_subagent_description(subagents)
|
|
108
143
|
|
|
109
144
|
@tool(
|
|
110
|
-
description=
|
|
111
|
-
+ TASK_DESCRIPTION_SUFFIX
|
|
145
|
+
description=TASK_TOOL_DESCRIPTION.format(other_agents=other_agents_string)
|
|
112
146
|
)
|
|
113
147
|
def task(
|
|
114
148
|
description: str,
|
deepagents/tools.py
CHANGED
|
@@ -5,14 +5,16 @@ from typing import Annotated, Union
|
|
|
5
5
|
from langgraph.prebuilt import InjectedState
|
|
6
6
|
|
|
7
7
|
from deepagents.prompts import (
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
WRITE_TODOS_TOOL_DESCRIPTION,
|
|
9
|
+
LIST_FILES_TOOL_DESCRIPTION,
|
|
10
|
+
READ_FILE_TOOL_DESCRIPTION,
|
|
11
|
+
WRITE_FILE_TOOL_DESCRIPTION,
|
|
12
|
+
EDIT_FILE_TOOL_DESCRIPTION,
|
|
11
13
|
)
|
|
12
14
|
from deepagents.state import Todo, DeepAgentState
|
|
13
15
|
|
|
14
16
|
|
|
15
|
-
@tool(description=
|
|
17
|
+
@tool(description=WRITE_TODOS_TOOL_DESCRIPTION)
|
|
16
18
|
def write_todos(
|
|
17
19
|
todos: list[Todo], tool_call_id: Annotated[str, InjectedToolCallId]
|
|
18
20
|
) -> Command:
|
|
@@ -26,19 +28,19 @@ def write_todos(
|
|
|
26
28
|
)
|
|
27
29
|
|
|
28
30
|
|
|
31
|
+
@tool(description=LIST_FILES_TOOL_DESCRIPTION)
|
|
29
32
|
def ls(state: Annotated[DeepAgentState, InjectedState]) -> list[str]:
|
|
30
33
|
"""List all files"""
|
|
31
34
|
return list(state.get("files", {}).keys())
|
|
32
35
|
|
|
33
36
|
|
|
34
|
-
@tool(description=
|
|
37
|
+
@tool(description=READ_FILE_TOOL_DESCRIPTION)
|
|
35
38
|
def read_file(
|
|
36
39
|
file_path: str,
|
|
37
40
|
state: Annotated[DeepAgentState, InjectedState],
|
|
38
41
|
offset: int = 0,
|
|
39
42
|
limit: int = 2000,
|
|
40
43
|
) -> str:
|
|
41
|
-
"""Read file."""
|
|
42
44
|
mock_filesystem = state.get("files", {})
|
|
43
45
|
if file_path not in mock_filesystem:
|
|
44
46
|
return f"Error: File '{file_path}' not found"
|
|
@@ -77,13 +79,13 @@ def read_file(
|
|
|
77
79
|
return "\n".join(result_lines)
|
|
78
80
|
|
|
79
81
|
|
|
82
|
+
@tool(description=WRITE_FILE_TOOL_DESCRIPTION)
|
|
80
83
|
def write_file(
|
|
81
84
|
file_path: str,
|
|
82
85
|
content: str,
|
|
83
86
|
state: Annotated[DeepAgentState, InjectedState],
|
|
84
87
|
tool_call_id: Annotated[str, InjectedToolCallId],
|
|
85
88
|
) -> Command:
|
|
86
|
-
"""Write to a file."""
|
|
87
89
|
files = state.get("files", {})
|
|
88
90
|
files[file_path] = content
|
|
89
91
|
return Command(
|
|
@@ -96,7 +98,7 @@ def write_file(
|
|
|
96
98
|
)
|
|
97
99
|
|
|
98
100
|
|
|
99
|
-
@tool(description=
|
|
101
|
+
@tool(description=EDIT_FILE_TOOL_DESCRIPTION)
|
|
100
102
|
def edit_file(
|
|
101
103
|
file_path: str,
|
|
102
104
|
old_string: str,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deepagents
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.6rc1
|
|
4
4
|
Summary: General purpose 'deep agent' with sub-agent spawning, todo list capabilities, and mock file system. Built on LangGraph.
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: <4.0,>=3.11
|
|
@@ -9,6 +9,7 @@ License-File: LICENSE
|
|
|
9
9
|
Requires-Dist: langgraph>=0.2.6
|
|
10
10
|
Requires-Dist: langchain-anthropic>=0.1.23
|
|
11
11
|
Requires-Dist: langchain>=0.2.14
|
|
12
|
+
Requires-Dist: build>=1.3.0
|
|
12
13
|
Dynamic: license-file
|
|
13
14
|
|
|
14
15
|
# 🧠🤖Deep Agents
|
|
@@ -115,15 +116,26 @@ class SubAgent(TypedDict):
|
|
|
115
116
|
prompt: str
|
|
116
117
|
tools: NotRequired[list[str]]
|
|
117
118
|
model_settings: NotRequired[dict[str, Any]]
|
|
119
|
+
|
|
120
|
+
class CustomSubAgent(TypedDict):
|
|
121
|
+
name: str
|
|
122
|
+
description: str
|
|
123
|
+
graph: Runnable
|
|
118
124
|
```
|
|
119
125
|
|
|
126
|
+
**SubAgent fields:**
|
|
120
127
|
- **name**: This is the name of the subagent, and how the main agent will call the subagent
|
|
121
128
|
- **description**: This is the description of the subagent that is shown to the main agent
|
|
122
129
|
- **prompt**: This is the prompt used for the subagent
|
|
123
130
|
- **tools**: This is the list of tools that the subagent has access to. By default will have access to all tools passed in, as well as all built-in tools.
|
|
124
131
|
- **model_settings**: Optional dictionary for per-subagent model configuration (inherits the main model when omitted).
|
|
125
132
|
|
|
126
|
-
|
|
133
|
+
**CustomSubAgent fields:**
|
|
134
|
+
- **name**: This is the name of the subagent, and how the main agent will call the subagent
|
|
135
|
+
- **description**: This is the description of the subagent that is shown to the main agent
|
|
136
|
+
- **graph**: A pre-built LangGraph graph/agent that will be used as the subagent
|
|
137
|
+
|
|
138
|
+
#### Using SubAgent
|
|
127
139
|
|
|
128
140
|
```python
|
|
129
141
|
research_subagent = {
|
|
@@ -139,6 +151,35 @@ agent = create_deep_agent(
|
|
|
139
151
|
)
|
|
140
152
|
```
|
|
141
153
|
|
|
154
|
+
#### Using CustomSubAgent
|
|
155
|
+
|
|
156
|
+
For more complex use cases, you can provide your own pre-built LangGraph graph as a subagent:
|
|
157
|
+
|
|
158
|
+
```python
|
|
159
|
+
from langgraph.prebuilt import create_react_agent
|
|
160
|
+
|
|
161
|
+
# Create a custom agent graph
|
|
162
|
+
custom_graph = create_react_agent(
|
|
163
|
+
model=your_model,
|
|
164
|
+
tools=specialized_tools,
|
|
165
|
+
prompt="You are a specialized agent for data analysis..."
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
# Use it as a custom subagent
|
|
169
|
+
custom_subagent = {
|
|
170
|
+
"name": "data-analyzer",
|
|
171
|
+
"description": "Specialized agent for complex data analysis tasks",
|
|
172
|
+
"graph": custom_graph
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
subagents = [custom_subagent]
|
|
176
|
+
agent = create_deep_agent(
|
|
177
|
+
tools,
|
|
178
|
+
prompt,
|
|
179
|
+
subagents=subagents
|
|
180
|
+
)
|
|
181
|
+
```
|
|
182
|
+
|
|
142
183
|
### `model` (Optional)
|
|
143
184
|
|
|
144
185
|
By default, `deepagents` uses `"claude-sonnet-4-20250514"`. You can customize this by passing any [LangChain model object](https://python.langchain.com/docs/integrations/chat/).
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
deepagents/__init__.py,sha256=_u6fBfAwHlIeMsu5n95nMHz0WPhEglVlZ3ulm31WlwY,361
|
|
2
|
+
deepagents/builder.py,sha256=CTjEZpkubpGr2pippATsQaENxHGZgzddrUrsattU-QU,2794
|
|
3
|
+
deepagents/graph.py,sha256=tEdZ4WQHN0tsnXr60Lv9LIp55s6LYq0R-v2czAbmHlg,8035
|
|
4
|
+
deepagents/interrupt.py,sha256=08W7Zjk6S8HBoNepBvzSAXvpywM5sCDl0oGNim8YCJA,4449
|
|
5
|
+
deepagents/model.py,sha256=VyRIkdeXJH8HqLrudTKucHpBTtrwMFTQGRlXBj0kUyo,155
|
|
6
|
+
deepagents/prompts.py,sha256=PzHgIwy4gzHyiKHR3fCS7RtJR15NyGshCtPKuOS7XTQ,24743
|
|
7
|
+
deepagents/state.py,sha256=sCihH_OgYKibf6zGc2MdORFJqBqKNO60bWVjAenQ_xc,567
|
|
8
|
+
deepagents/sub_agent.py,sha256=4Q84OxoAznXKVVLbd6Y2RYDOnTF7THdYwtOLvCxaED4,5404
|
|
9
|
+
deepagents/tools.py,sha256=LFu6T1qP0DDtUBBKZUiZJt4O1rfpZ69BbdV1jx7IrK8,4765
|
|
10
|
+
deepagents-0.0.6rc1.dist-info/licenses/LICENSE,sha256=c__BaxUCK69leo2yEKynf8lWndu8iwYwge1CbyqAe-E,1071
|
|
11
|
+
deepagents-0.0.6rc1.dist-info/METADATA,sha256=9t_eBM4TTKxVCGXdz1M9v86rSSGeSOQ15-Yc7PJZxz0,17180
|
|
12
|
+
deepagents-0.0.6rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
13
|
+
deepagents-0.0.6rc1.dist-info/top_level.txt,sha256=drAzchOzPNePwpb3_pbPuvLuayXkN7SNqeIKMBWJoAo,11
|
|
14
|
+
deepagents-0.0.6rc1.dist-info/RECORD,,
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
deepagents/__init__.py,sha256=_u6fBfAwHlIeMsu5n95nMHz0WPhEglVlZ3ulm31WlwY,361
|
|
2
|
-
deepagents/builder.py,sha256=CTjEZpkubpGr2pippATsQaENxHGZgzddrUrsattU-QU,2794
|
|
3
|
-
deepagents/graph.py,sha256=kHRTaBh0mPDHUU2h83pvnMmnur75NgyT2PsL_1qz3fw,8671
|
|
4
|
-
deepagents/interrupt.py,sha256=FtfslI-LzqXqmcNePPP3o_KuH5O05bh1Qi3YhzStiQk,4313
|
|
5
|
-
deepagents/model.py,sha256=VyRIkdeXJH8HqLrudTKucHpBTtrwMFTQGRlXBj0kUyo,155
|
|
6
|
-
deepagents/prompts.py,sha256=jAGUqjDSMtBMUgogfQitmTKpvMNUOwhsSZCNSxQ1b8Y,16285
|
|
7
|
-
deepagents/state.py,sha256=sCihH_OgYKibf6zGc2MdORFJqBqKNO60bWVjAenQ_xc,567
|
|
8
|
-
deepagents/sub_agent.py,sha256=MNEaD_Fsc8NxjD1ppHgzB2lpwf3v83UWuFb9x7f7FAM,4994
|
|
9
|
-
deepagents/tools.py,sha256=scnmsmr4Pe0WmHEo7JSd90zMa4JcI3EPxBEHat10jm0,4603
|
|
10
|
-
deepagents-0.0.5rc4.dist-info/licenses/LICENSE,sha256=c__BaxUCK69leo2yEKynf8lWndu8iwYwge1CbyqAe-E,1071
|
|
11
|
-
deepagents-0.0.5rc4.dist-info/METADATA,sha256=DvIxhgDBWHuijd-s7B-1wfeNrJmdiabp4dDGd8fKP_I,16095
|
|
12
|
-
deepagents-0.0.5rc4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
13
|
-
deepagents-0.0.5rc4.dist-info/top_level.txt,sha256=drAzchOzPNePwpb3_pbPuvLuayXkN7SNqeIKMBWJoAo,11
|
|
14
|
-
deepagents-0.0.5rc4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|