axllm 22.0.4__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.
- axllm/__init__.py +111 -0
- axllm/agent.py +6995 -0
- axllm/ai.py +6246 -0
- axllm/conformance.py +2255 -0
- axllm/flow.py +1514 -0
- axllm/gen.py +1994 -0
- axllm/mcp.py +726 -0
- axllm/prompt.py +673 -0
- axllm/providers/__init__.py +3 -0
- axllm/providers/openai.py +3 -0
- axllm/py.typed +0 -0
- axllm/runtime.py +251 -0
- axllm/runtime_quickjs.py +170 -0
- axllm/schema.py +1130 -0
- axllm/signature.py +850 -0
- axllm/tool.py +75 -0
- axllm-22.0.4.dist-info/METADATA +304 -0
- axllm-22.0.4.dist-info/RECORD +21 -0
- axllm-22.0.4.dist-info/WHEEL +5 -0
- axllm-22.0.4.dist-info/licenses/LICENSE +201 -0
- axllm-22.0.4.dist-info/top_level.txt +1 -0
axllm/__init__.py
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
from .signature import AxSignature, AxSignatureError, Field, FieldType, SignatureBuilder, f, s
|
|
2
|
+
from .schema import AxValidationError
|
|
3
|
+
from .tool import Tool, fn
|
|
4
|
+
from .ai import (
|
|
5
|
+
AIClient,
|
|
6
|
+
AxAIRefusalError,
|
|
7
|
+
AxAIService,
|
|
8
|
+
AxAIServiceAuthenticationError,
|
|
9
|
+
AxAIServiceError,
|
|
10
|
+
AxAIServiceNetworkError,
|
|
11
|
+
AxAIServiceResponseError,
|
|
12
|
+
AxAIServiceStatusError,
|
|
13
|
+
AxAIServiceStreamTerminatedError,
|
|
14
|
+
AxAIServiceTimeoutError,
|
|
15
|
+
AxBaseAI,
|
|
16
|
+
AxBalancer,
|
|
17
|
+
AxUnsupportedCapabilityError,
|
|
18
|
+
AnthropicClient,
|
|
19
|
+
AzureOpenAIClient,
|
|
20
|
+
CohereClient,
|
|
21
|
+
DeepSeekClient,
|
|
22
|
+
GrokClient,
|
|
23
|
+
GoogleGeminiClient,
|
|
24
|
+
MistralClient,
|
|
25
|
+
MultiServiceRouter,
|
|
26
|
+
OpenAICompatibleClient,
|
|
27
|
+
OpenAIResponsesClient,
|
|
28
|
+
ProviderRouter,
|
|
29
|
+
RekaClient,
|
|
30
|
+
ai,
|
|
31
|
+
get_supported_ai_models,
|
|
32
|
+
)
|
|
33
|
+
from .gen import AxGen, AxMemory, ax
|
|
34
|
+
from .agent import AxAgent, AxAgentClarificationError, AxBootstrapFewShot, AxCodeRuntime, AxCodeSession, AxGEPA, OptimizerEngine, OptimizerEvaluator, agent, optimize
|
|
35
|
+
from .flow import AxFlow, AxProgram, flow
|
|
36
|
+
from .mcp import AxMCPClient, AxMCPOAuthOptions, AxMCPStdioTransport, AxMCPStreamableHTTPTransport, AxMCPTokenSet, AxMCPTransport
|
|
37
|
+
from .prompt import AxPromptTemplate, TemplateError, render_template_content, validate_prompt_template_syntax
|
|
38
|
+
from .runtime import ProcessCodeRuntime, ProcessCodeSession, RuntimeCapabilities, RuntimeEnvelope
|
|
39
|
+
from .runtime_quickjs import AxQuickJsCodeRuntime, AxQuickJsCodeSession
|
|
40
|
+
|
|
41
|
+
__all__ = [
|
|
42
|
+
"AIClient",
|
|
43
|
+
"AxAIRefusalError",
|
|
44
|
+
"AxAIService",
|
|
45
|
+
"AxAIServiceAuthenticationError",
|
|
46
|
+
"AxAIServiceError",
|
|
47
|
+
"AxAIServiceNetworkError",
|
|
48
|
+
"AxAIServiceResponseError",
|
|
49
|
+
"AxAIServiceStatusError",
|
|
50
|
+
"AxAIServiceStreamTerminatedError",
|
|
51
|
+
"AxAIServiceTimeoutError",
|
|
52
|
+
"AxBaseAI",
|
|
53
|
+
"AxBalancer",
|
|
54
|
+
"AxGen",
|
|
55
|
+
"AxFlow",
|
|
56
|
+
"AxAgent",
|
|
57
|
+
"AxAgentClarificationError",
|
|
58
|
+
"AxBootstrapFewShot",
|
|
59
|
+
"AxCodeRuntime",
|
|
60
|
+
"AxCodeSession",
|
|
61
|
+
"AxQuickJsCodeRuntime",
|
|
62
|
+
"AxQuickJsCodeSession",
|
|
63
|
+
"AxGEPA",
|
|
64
|
+
"AxMemory",
|
|
65
|
+
"AxMCPClient",
|
|
66
|
+
"AxMCPOAuthOptions",
|
|
67
|
+
"AxMCPStdioTransport",
|
|
68
|
+
"AxMCPStreamableHTTPTransport",
|
|
69
|
+
"AxMCPTokenSet",
|
|
70
|
+
"AxMCPTransport",
|
|
71
|
+
"OptimizerEngine",
|
|
72
|
+
"OptimizerEvaluator",
|
|
73
|
+
"ProcessCodeRuntime",
|
|
74
|
+
"ProcessCodeSession",
|
|
75
|
+
"AxPromptTemplate",
|
|
76
|
+
"AxProgram",
|
|
77
|
+
"AxSignature",
|
|
78
|
+
"AxSignatureError",
|
|
79
|
+
"AxUnsupportedCapabilityError",
|
|
80
|
+
"AxValidationError",
|
|
81
|
+
"AnthropicClient",
|
|
82
|
+
"AzureOpenAIClient",
|
|
83
|
+
"CohereClient",
|
|
84
|
+
"DeepSeekClient",
|
|
85
|
+
"Field",
|
|
86
|
+
"FieldType",
|
|
87
|
+
"GrokClient",
|
|
88
|
+
"GoogleGeminiClient",
|
|
89
|
+
"MistralClient",
|
|
90
|
+
"MultiServiceRouter",
|
|
91
|
+
"OpenAICompatibleClient",
|
|
92
|
+
"OpenAIResponsesClient",
|
|
93
|
+
"ProviderRouter",
|
|
94
|
+
"RekaClient",
|
|
95
|
+
"RuntimeCapabilities",
|
|
96
|
+
"RuntimeEnvelope",
|
|
97
|
+
"SignatureBuilder",
|
|
98
|
+
"TemplateError",
|
|
99
|
+
"Tool",
|
|
100
|
+
"ai",
|
|
101
|
+
"agent",
|
|
102
|
+
"ax",
|
|
103
|
+
"f",
|
|
104
|
+
"fn",
|
|
105
|
+
"flow",
|
|
106
|
+
"get_supported_ai_models",
|
|
107
|
+
"optimize",
|
|
108
|
+
"render_template_content",
|
|
109
|
+
"s",
|
|
110
|
+
"validate_prompt_template_syntax",
|
|
111
|
+
]
|