ragbits-agents 0.0.8.dev23005__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.
- ragbits/agents/__init__.py +36 -0
- ragbits/agents/_main.py +1291 -0
- ragbits/agents/a2a/__init__.py +0 -0
- ragbits/agents/a2a/server.py +104 -0
- ragbits/agents/cli.py +493 -0
- ragbits/agents/confirmation.py +22 -0
- ragbits/agents/exceptions.py +118 -0
- ragbits/agents/mcp/__init__.py +19 -0
- ragbits/agents/mcp/server.py +447 -0
- ragbits/agents/mcp/utils.py +48 -0
- ragbits/agents/post_processors/__init__.py +8 -0
- ragbits/agents/post_processors/base.py +157 -0
- ragbits/agents/post_processors/exceptions.py +17 -0
- ragbits/agents/post_processors/supervisor.py +236 -0
- ragbits/agents/py.typed +0 -0
- ragbits/agents/tool.py +229 -0
- ragbits/agents/tools/__init__.py +13 -0
- ragbits/agents/tools/memory.py +218 -0
- ragbits/agents/tools/openai.py +156 -0
- ragbits/agents/tools/todo.py +495 -0
- ragbits/agents/tools/types.py +12 -0
- ragbits/agents/types.py +31 -0
- ragbits_agents-0.0.8.dev23005.dist-info/METADATA +60 -0
- ragbits_agents-0.0.8.dev23005.dist-info/RECORD +25 -0
- ragbits_agents-0.0.8.dev23005.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
from ragbits.agents._main import (
|
|
2
|
+
Agent,
|
|
3
|
+
AgentDependencies,
|
|
4
|
+
AgentOptions,
|
|
5
|
+
AgentResult,
|
|
6
|
+
AgentResultStreaming,
|
|
7
|
+
AgentRunContext,
|
|
8
|
+
DownstreamAgentResult,
|
|
9
|
+
ToolCall,
|
|
10
|
+
ToolCallResult,
|
|
11
|
+
)
|
|
12
|
+
from ragbits.agents.post_processors.base import PostProcessor, StreamingPostProcessor
|
|
13
|
+
from ragbits.agents.tool import requires_confirmation
|
|
14
|
+
from ragbits.agents.tools import LongTermMemory, MemoryEntry, create_memory_tools
|
|
15
|
+
from ragbits.agents.types import QuestionAnswerAgent, QuestionAnswerPromptInput, QuestionAnswerPromptOutput
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
"Agent",
|
|
19
|
+
"AgentDependencies",
|
|
20
|
+
"AgentOptions",
|
|
21
|
+
"AgentResult",
|
|
22
|
+
"AgentResultStreaming",
|
|
23
|
+
"AgentRunContext",
|
|
24
|
+
"DownstreamAgentResult",
|
|
25
|
+
"LongTermMemory",
|
|
26
|
+
"MemoryEntry",
|
|
27
|
+
"PostProcessor",
|
|
28
|
+
"QuestionAnswerAgent",
|
|
29
|
+
"QuestionAnswerPromptInput",
|
|
30
|
+
"QuestionAnswerPromptOutput",
|
|
31
|
+
"StreamingPostProcessor",
|
|
32
|
+
"ToolCall",
|
|
33
|
+
"ToolCallResult",
|
|
34
|
+
"create_memory_tools",
|
|
35
|
+
"requires_confirmation",
|
|
36
|
+
]
|