quantalogic 0.92__py3-none-any.whl → 0.93__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.
- {quantalogic-0.92.dist-info → quantalogic-0.93.dist-info}/METADATA +57 -30
- {quantalogic-0.92.dist-info → quantalogic-0.93.dist-info}/RECORD +5 -5
- {quantalogic-0.92.dist-info → quantalogic-0.93.dist-info}/LICENSE +0 -0
- {quantalogic-0.92.dist-info → quantalogic-0.93.dist-info}/WHEEL +0 -0
- {quantalogic-0.92.dist-info → quantalogic-0.93.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: quantalogic
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.93
|
4
4
|
Summary: QuantaLogic ReAct Agents
|
5
5
|
License: MIT
|
6
6
|
Author: Raphaël MANSUY
|
@@ -125,57 +125,86 @@ Here’s how it flows:
|
|
125
125
|
```mermaid
|
126
126
|
graph TD
|
127
127
|
A[User] -->|Input| B[QuantaLogic]
|
128
|
-
B -->
|
128
|
+
B --> C1[Pure ReAct]
|
129
|
+
B --> C2[CodeAct]
|
129
130
|
B --> D[Flow: Automate]
|
130
131
|
B --> E[Chat: Converse]
|
131
|
-
|
132
|
+
C1 --> F1[LLM + Tools]
|
133
|
+
C2 --> F2[LLM + Code Actions]
|
132
134
|
D --> G[Nodes + Engine]
|
133
135
|
E --> H[Persona + Tools]
|
134
|
-
|
136
|
+
F1 --> I[Output]
|
137
|
+
F2 --> I
|
135
138
|
G --> I
|
136
139
|
H --> I
|
137
140
|
I --> A
|
138
|
-
style A fill:#
|
139
|
-
style
|
141
|
+
style A fill:#ffe5b4,stroke:#555
|
142
|
+
style B fill:#cfe0e8,stroke:#555
|
143
|
+
style C1 fill:#e6e6fa,stroke:#555
|
144
|
+
style C2 fill:#ffd1dc,stroke:#555
|
145
|
+
style D fill:#c8e6c9,stroke:#555
|
146
|
+
style E fill:#fff9c4,stroke:#555
|
147
|
+
style F1 fill:#f0f0f0,stroke:#555
|
148
|
+
style F2 fill:#f0f0f0,stroke:#555
|
149
|
+
style G fill:#d0f0c0,stroke:#555
|
150
|
+
style H fill:#ffefdb,stroke:#555
|
151
|
+
style I fill:#cfe0e8,stroke:#555
|
140
152
|
```
|
141
153
|
|
154
|
+
For detailed CodeAct documentation, see [CodeAct Module](quantalogic_codeact/README.md).
|
155
|
+
|
142
156
|
---
|
143
157
|
|
144
158
|
## How to Get Started
|
145
159
|
|
146
160
|
**How do you dive in?** Install it, set it up, and start creating. We’ll guide you through setup, examples, and pro tips to master QuantaLogic in minutes.
|
147
161
|
|
148
|
-
### Installation
|
162
|
+
### Installation & Setup
|
149
163
|
|
150
|
-
####
|
151
|
-
-
|
152
|
-
-
|
164
|
+
#### Prerequisites
|
165
|
+
- Python >= 3.10+ (required)
|
166
|
+
- Docker (optional; sandboxed execution)
|
167
|
+
- Poetry (optional; for source builds)
|
153
168
|
|
154
|
-
####
|
169
|
+
#### Installation
|
170
|
+
Install the core CLI and (optionally) CodeAct extension:
|
155
171
|
```bash
|
156
172
|
pip install quantalogic
|
173
|
+
pip install quantalogic-codeact
|
157
174
|
```
|
158
|
-
|
159
|
-
#### Option 2: pipx (Clean Setup)
|
175
|
+
Or with pipx:
|
160
176
|
```bash
|
161
177
|
pipx install quantalogic
|
178
|
+
pipx install quantalogic-codeact
|
162
179
|
```
|
163
180
|
|
164
|
-
####
|
181
|
+
#### Developer Build (optional)
|
165
182
|
```bash
|
166
183
|
git clone https://github.com/quantalogic/quantalogic.git
|
167
184
|
cd quantalogic
|
168
185
|
python -m venv .venv
|
169
|
-
|
186
|
+
# macOS/Linux
|
187
|
+
source .venv/bin/activate
|
188
|
+
# Windows
|
189
|
+
.venv\\Scripts\\activate
|
170
190
|
poetry install
|
171
191
|
```
|
172
192
|
|
173
|
-
|
193
|
+
#### Verify Installation
|
174
194
|
```bash
|
175
|
-
|
176
|
-
|
195
|
+
quantalogic --help
|
196
|
+
quantalogic_codeact --help
|
177
197
|
```
|
178
198
|
|
199
|
+
#### Configure API Keys
|
200
|
+
```bash
|
201
|
+
cat <<EOF > .env
|
202
|
+
OPENAI_API_KEY=sk-your-key
|
203
|
+
DEEPSEEK_API_KEY=ds-your-key
|
204
|
+
EOF
|
205
|
+
```
|
206
|
+
> For advanced settings, see [docs/config.md](./docs/config.md)
|
207
|
+
|
179
208
|
---
|
180
209
|
|
181
210
|
### Quick Start Examples
|
@@ -194,6 +223,16 @@ quantalogic chat --persona "You’re a cosmic guide" "What’s the tallest mount
|
|
194
223
|
```
|
195
224
|
**Output**: A lively response, possibly with search results!
|
196
225
|
|
226
|
+
#### CLI: CodeAct Shell
|
227
|
+
```bash
|
228
|
+
quantalogic_codeact shell
|
229
|
+
```
|
230
|
+
|
231
|
+
#### CLI: CodeAct Task
|
232
|
+
```bash
|
233
|
+
quantalogic_codeact task "Solve 2 + 2" --model deepseek/deepseek-chat --timeout 60 --streaming
|
234
|
+
```
|
235
|
+
|
197
236
|
#### Python: ReAct Agent
|
198
237
|
```python
|
199
238
|
from quantalogic import Agent
|
@@ -396,18 +435,6 @@ result = agent.solve_task("Write a poem")
|
|
396
435
|
|
397
436
|
**Memory Magic**: Imagine a sticky note board. As tasks or chats grow, QuantaLogic condenses old notes to keep space for new ones—efficient and clutter-free.
|
398
437
|
|
399
|
-
---
|
400
|
-
|
401
|
-
### Example Playground
|
402
|
-
Dive into our [Examples Folder](./examples/) for inspiration:
|
403
|
-
- **Code Generation**: [05-code.py](./examples/05-code.py)
|
404
|
-
- **Workflow Demo**: [story_generator_agent.py](./examples/flow/story_generator/story_generator_agent.py)
|
405
|
-
- **Finance Tasks**: [10-finance-agent.py](./examples/10-finance-agent.py)
|
406
|
-
|
407
|
-
**Video Walkthrough**:
|
408
|
-
[](./examples/generated_tutorials/python/quantalogic_long.mp4)
|
409
|
-
|
410
|
-
---
|
411
438
|
|
412
439
|
### Contributing
|
413
440
|
|
@@ -168,8 +168,8 @@ quantalogic/version_check.py,sha256=JyQFTNMDWtpHCLnN-BiakzB2cyXf6kUFsTjvmSruZi4,
|
|
168
168
|
quantalogic/welcome_message.py,sha256=o4tHdgabNuIV9kbIDPgS3_2yzJhayK30oKad2UouYDc,3020
|
169
169
|
quantalogic/xml_parser.py,sha256=bLLwIwO-VEHWF3heNS7nuPC8wgdYw9F_fVZZNW1figY,11728
|
170
170
|
quantalogic/xml_tool_parser.py,sha256=hGHA1q20JUoTNTbZYmi4FTdA5I25-AGEIP8DwZgQCNA,3897
|
171
|
-
quantalogic-0.
|
172
|
-
quantalogic-0.
|
173
|
-
quantalogic-0.
|
174
|
-
quantalogic-0.
|
175
|
-
quantalogic-0.
|
171
|
+
quantalogic-0.93.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
172
|
+
quantalogic-0.93.dist-info/METADATA,sha256=ymSaIw5s2I_Q3uHkgvhxdVU1hK1zSJcn9_pygYQfFsw,16763
|
173
|
+
quantalogic-0.93.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
174
|
+
quantalogic-0.93.dist-info/entry_points.txt,sha256=wgSq5SRU98yvlRHGEZD1Xn7sS5CSjH2RfUtTa6Qy28Q,52
|
175
|
+
quantalogic-0.93.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|