PikoAi 0.1.26__py3-none-any.whl → 0.1.28__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.
- Agents/Executor/prompts.py +1 -1
- OpenCopilot.py +2 -2
- pikoai-0.1.28.dist-info/METADATA +166 -0
- {pikoai-0.1.26.dist-info → pikoai-0.1.28.dist-info}/RECORD +8 -8
- pikoai-0.1.26.dist-info/METADATA +0 -101
- {pikoai-0.1.26.dist-info → pikoai-0.1.28.dist-info}/WHEEL +0 -0
- {pikoai-0.1.26.dist-info → pikoai-0.1.28.dist-info}/entry_points.txt +0 -0
- {pikoai-0.1.26.dist-info → pikoai-0.1.28.dist-info}/licenses/LICENSE +0 -0
- {pikoai-0.1.26.dist-info → pikoai-0.1.28.dist-info}/top_level.txt +0 -0
Agents/Executor/prompts.py
CHANGED
@@ -56,7 +56,7 @@ These are the points that you learned from the mistakes you made earlier :
|
|
56
56
|
- Continue performing actions until the user's goal is fully achieved. Only then, include 'TASK_DONE' in your response.
|
57
57
|
- Do not end the task immediately after a tool call without evaluating its output.
|
58
58
|
- The best way to give output is to save it open the file using shell commands.
|
59
|
-
|
59
|
+
|
60
60
|
|
61
61
|
for e.g. User: what is the latest news on Ai.
|
62
62
|
your response should be :
|
OpenCopilot.py
CHANGED
@@ -200,8 +200,8 @@ Examples:
|
|
200
200
|
def run(self):
|
201
201
|
"""Main conversation loop with enhanced @ command support."""
|
202
202
|
print_formatted_text(FormattedText([
|
203
|
-
('class:title', '🚀
|
204
|
-
('class:subtitle', '\
|
203
|
+
('class:title', '🚀PikoAi: Your AI Terminal Companion'),
|
204
|
+
('class:subtitle', '\nUse @<file_path> to include files in your context.\n')
|
205
205
|
]))
|
206
206
|
|
207
207
|
try:
|
@@ -0,0 +1,166 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: PikoAi
|
3
|
+
Version: 0.1.28
|
4
|
+
Summary: An AI-powered task automation tool
|
5
|
+
Home-page: https://github.com/nihaaaar22/OS-Assistant
|
6
|
+
Author: Nihar S
|
7
|
+
Author-email: nihar.sr22@gmail.com
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
10
|
+
Classifier: Operating System :: OS Independent
|
11
|
+
Requires-Python: >=3.8
|
12
|
+
Description-Content-Type: text/markdown
|
13
|
+
License-File: LICENSE
|
14
|
+
Requires-Dist: python-dotenv>=1.0.1
|
15
|
+
Requires-Dist: openai>=1.58.1
|
16
|
+
Requires-Dist: groq>=0.22.0
|
17
|
+
Requires-Dist: requests>=2.32.3
|
18
|
+
Requires-Dist: pdfplumber>=0.11.4
|
19
|
+
Requires-Dist: beautifulsoup4>=4.13.4
|
20
|
+
Requires-Dist: duckduckgo_search>=7.4.2
|
21
|
+
Requires-Dist: rich>=13.9.4
|
22
|
+
Requires-Dist: mistralai>=1.2.5
|
23
|
+
Requires-Dist: click>=8.1.8
|
24
|
+
Requires-Dist: httpx>=0.28.1
|
25
|
+
Requires-Dist: psutil>=5.9.8
|
26
|
+
Requires-Dist: inquirer>=3.1.3
|
27
|
+
Requires-Dist: litellm
|
28
|
+
Requires-Dist: prompt_toolkit>=3.0.43
|
29
|
+
Requires-Dist: PyPDF2
|
30
|
+
Requires-Dist: python-docx
|
31
|
+
Requires-Dist: yaspin==3.1.0
|
32
|
+
Dynamic: author
|
33
|
+
Dynamic: author-email
|
34
|
+
Dynamic: classifier
|
35
|
+
Dynamic: description
|
36
|
+
Dynamic: description-content-type
|
37
|
+
Dynamic: home-page
|
38
|
+
Dynamic: license-file
|
39
|
+
Dynamic: requires-dist
|
40
|
+
Dynamic: requires-python
|
41
|
+
Dynamic: summary
|
42
|
+
|
43
|
+
# OpenCopilot - PikoAi
|
44
|
+
|
45
|
+
**Your AI-Powered Command-Line Companion!**
|
46
|
+
|
47
|
+
PikoAi powered by the OpenCopilot framework, transforms your terminal into an intelligent assistant. Seamlessly integrate AI into your daily workflow to automate tasks, conduct research, interact with web services, and much more. Stop switching contexts and let your copilot handle the heavy lifting, right from your command line.
|
48
|
+
|
49
|
+
Install it using a single pip command
|
50
|
+
```bash
|
51
|
+
pip install pikoai
|
52
|
+
```
|
53
|
+
---
|
54
|
+
|
55
|
+
## ✨ See It In Action!
|
56
|
+
|
57
|
+
Watch a glimpse of OpenCopilot's capabilities:
|
58
|
+
|
59
|
+

|
60
|
+
|
61
|
+
This demo showcases how OpenCopilot can understand your requests, interact with web pages, and provide you with the information you need, all within your terminal.
|
62
|
+
|
63
|
+
---
|
64
|
+
|
65
|
+
## 🚀 Core Features
|
66
|
+
|
67
|
+
- **LLM-Powered Task Automation:** Leverages cutting-edge Large Language Models to understand your natural language prompts and orchestrate complex task execution.
|
68
|
+
- **Multi-Provider Support:** Flexibility to choose and switch between various LLM providers such as Mistral, Groq, OpenAI, Anthropic, and Gemini.
|
69
|
+
- **Extensible Tool System:** Equip your AI agent with a growing library of custom tools to interact with files, system details, web content, and more.
|
70
|
+
- **Versatile Execution Modes:**
|
71
|
+
- **Conversational Mode:** Engage in an interactive dialogue to collaboratively accomplish tasks.
|
72
|
+
- **One-Shot Task Execution:** Directly execute specific tasks with a single, concise command.
|
73
|
+
- **User-Friendly CLI:** An intuitive command-line interface to manage configurations, tools, API keys, and task execution.
|
74
|
+
- **Web Interaction:** Browse websites, extract information, and perform web searches directly through the agent.
|
75
|
+
|
76
|
+
---
|
77
|
+
|
78
|
+
## 🛠️ Getting Started
|
79
|
+
|
80
|
+
### **Prerequisites**
|
81
|
+
- 
|
82
|
+
- Git (if cloning from source)
|
83
|
+
|
84
|
+
### **Installation**
|
85
|
+
|
86
|
+
You can install OpenCopilot using pip:
|
87
|
+
|
88
|
+
```bash
|
89
|
+
pip install pikoai
|
90
|
+
```
|
91
|
+
|
92
|
+
Alternatively, to install from source:
|
93
|
+
|
94
|
+
1. **Clone the repository:**
|
95
|
+
```bash
|
96
|
+
git clone https://github.com/Piko-AI/OpenCopilot.git
|
97
|
+
```
|
98
|
+
2. **Navigate to the project directory:**
|
99
|
+
```bash
|
100
|
+
cd OpenCopilot
|
101
|
+
```
|
102
|
+
3. **Create a virtual environment:**
|
103
|
+
```bash
|
104
|
+
python -m venv venv
|
105
|
+
```
|
106
|
+
or if you have multiple Python versions:
|
107
|
+
```bash
|
108
|
+
python3 -m venv venv
|
109
|
+
```
|
110
|
+
4. **Activate the virtual environment:**
|
111
|
+
- **Windows:**
|
112
|
+
```bash
|
113
|
+
venv\Scripts\activate
|
114
|
+
```
|
115
|
+
- **macOS/Linux:**
|
116
|
+
```bash
|
117
|
+
source venv/bin/activate
|
118
|
+
```
|
119
|
+
5. **Install dependencies:**
|
120
|
+
```bash
|
121
|
+
pip install -r requirements.txt
|
122
|
+
```
|
123
|
+
|
124
|
+
---
|
125
|
+
|
126
|
+
## ▶️ Running the Application
|
127
|
+
|
128
|
+
Once the installation is complete, you can run OpenCopilot from the root directory of the project:
|
129
|
+
|
130
|
+
```bash
|
131
|
+
python Src/cli.py
|
132
|
+
```
|
133
|
+
or
|
134
|
+
```bash
|
135
|
+
python3 Src/cli.py
|
136
|
+
```
|
137
|
+
|
138
|
+
This will start OpenCopilot in conversational mode. You can also use it for one-shot tasks.
|
139
|
+
|
140
|
+
---
|
141
|
+
|
142
|
+
## ⚡ One-Shot Task Execution
|
143
|
+
|
144
|
+
Execute tasks directly without entering the conversational mode:
|
145
|
+
|
146
|
+
```bash
|
147
|
+
python Src/cli.py --task "Your task description here"
|
148
|
+
```
|
149
|
+
|
150
|
+
You can also set the maximum number of iterations for a task:
|
151
|
+
|
152
|
+
```bash
|
153
|
+
python Src/cli.py --task "Your task description here" --max-iter 5
|
154
|
+
```
|
155
|
+
|
156
|
+
---
|
157
|
+
|
158
|
+
## 🤝 Contributing
|
159
|
+
|
160
|
+
We welcome contributions! Please feel free to fork the repository, make your changes, and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
|
161
|
+
|
162
|
+
---
|
163
|
+
|
164
|
+
## 📄 License
|
165
|
+
|
166
|
+
This project is licensed under the terms of the LICENSE file.
|
@@ -1,9 +1,9 @@
|
|
1
|
-
OpenCopilot.py,sha256=
|
1
|
+
OpenCopilot.py,sha256=Sf35DQBjAYtfKv9rh9lLOM3VdSok7xlxvnDi-VWqIBo,12300
|
2
2
|
cli.py,sha256=2UvmH74pcBFFezI0WHNyWTHMYasIM5NGnrUX6wsdveM,12945
|
3
3
|
Agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
Agents/Executor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
Agents/Executor/executor.py,sha256=LaO8sx_n83YszSED9puDusnbJDzhhT2R64rmcRx5oCY,9766
|
6
|
-
Agents/Executor/prompts.py,sha256=
|
6
|
+
Agents/Executor/prompts.py,sha256=3MIvfFEHpDKStYVe2Az_eXnt3myi5MtsWfa8uqyCdC0,3320
|
7
7
|
Env/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
8
8
|
Env/base_env.py,sha256=K4PoWwPXn3pKeu7_-JOlUuyNbyYQ9itMhQybFOm-3K4,1563
|
9
9
|
Env/python_executor.py,sha256=g9I2A1vI7eLQJyN_ZByrRDL_yDcPoneCMMxwRXQzNOE,4018
|
@@ -24,9 +24,9 @@ Utils/executor_utils.py,sha256=ikcgkXFlqM9pr7Jaq4eZj6_5XB48EE52A3b3kMK25ss,1005
|
|
24
24
|
Utils/ter_interface.py,sha256=vB_Gj1vXyTI6iWqUmojb7RBaGcvMJn5hB2vvij76bBY,5852
|
25
25
|
llm_interface/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
26
26
|
llm_interface/llm.py,sha256=nnTfzW-wdWoRd_ZtGxCqv33qf5V2uni8nQpzXDN0A0Y,5112
|
27
|
-
pikoai-0.1.
|
28
|
-
pikoai-0.1.
|
29
|
-
pikoai-0.1.
|
30
|
-
pikoai-0.1.
|
31
|
-
pikoai-0.1.
|
32
|
-
pikoai-0.1.
|
27
|
+
pikoai-0.1.28.dist-info/licenses/LICENSE,sha256=cELUVOboOAderKFp8bdtcM5VyJi61YH1oDbRhOuoQZw,1067
|
28
|
+
pikoai-0.1.28.dist-info/METADATA,sha256=IjSb6o4K3Nht1ztM2D1eRcNA1jihtVBQxQhjTEtDJJk,4791
|
29
|
+
pikoai-0.1.28.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
30
|
+
pikoai-0.1.28.dist-info/entry_points.txt,sha256=xjZnheDymNDnQ0o84R0jZKEITrhNbzQWN-AhqfA_d6s,50
|
31
|
+
pikoai-0.1.28.dist-info/top_level.txt,sha256=hWzBNE7UQsuNcENIOksGcJED08k3ZGRRn2X5jnStICU,53
|
32
|
+
pikoai-0.1.28.dist-info/RECORD,,
|
pikoai-0.1.26.dist-info/METADATA
DELETED
@@ -1,101 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: PikoAi
|
3
|
-
Version: 0.1.26
|
4
|
-
Summary: An AI-powered task automation tool
|
5
|
-
Home-page: https://github.com/nihaaaar22/OS-Assistant
|
6
|
-
Author: Nihar S
|
7
|
-
Author-email: nihar.sr22@gmail.com
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
10
|
-
Classifier: Operating System :: OS Independent
|
11
|
-
Requires-Python: >=3.8
|
12
|
-
Description-Content-Type: text/markdown
|
13
|
-
License-File: LICENSE
|
14
|
-
Requires-Dist: python-dotenv>=1.0.1
|
15
|
-
Requires-Dist: openai>=1.58.1
|
16
|
-
Requires-Dist: groq>=0.22.0
|
17
|
-
Requires-Dist: requests>=2.32.3
|
18
|
-
Requires-Dist: pdfplumber>=0.11.4
|
19
|
-
Requires-Dist: beautifulsoup4>=4.13.4
|
20
|
-
Requires-Dist: duckduckgo_search>=7.4.2
|
21
|
-
Requires-Dist: rich>=13.9.4
|
22
|
-
Requires-Dist: mistralai>=1.2.5
|
23
|
-
Requires-Dist: click>=8.1.8
|
24
|
-
Requires-Dist: httpx>=0.28.1
|
25
|
-
Requires-Dist: psutil>=5.9.8
|
26
|
-
Requires-Dist: inquirer>=3.1.3
|
27
|
-
Requires-Dist: litellm
|
28
|
-
Requires-Dist: PyPDF2
|
29
|
-
Requires-Dist: python-docx
|
30
|
-
Dynamic: author
|
31
|
-
Dynamic: author-email
|
32
|
-
Dynamic: classifier
|
33
|
-
Dynamic: description
|
34
|
-
Dynamic: description-content-type
|
35
|
-
Dynamic: home-page
|
36
|
-
Dynamic: license-file
|
37
|
-
Dynamic: requires-dist
|
38
|
-
Dynamic: requires-python
|
39
|
-
Dynamic: summary
|
40
|
-
|
41
|
-
<p align="center">
|
42
|
-
<img src="https://www.python.org/static/community_logos/python-logo-master-v3-TM.png" alt="Python 3.8+" width="200"/>
|
43
|
-
</p>
|
44
|
-
|
45
|
-
# TaskAutomator
|
46
|
-
|
47
|
-
**Empower your terminal with AI!**
|
48
|
-
|
49
|
-
Just type `ocp` and open a chat with your companion, your copilot. It will search the internet for you, scrape information from sites, help you with projects, do research, and much more. Your system just became a lot more capable. You now have a companion.
|
50
|
-
|
51
|
-
---
|
52
|
-
|
53
|
-
## 🚀 Core Features
|
54
|
-
|
55
|
-
- **LLM-Powered Task Automation:** Utilizes LLMs to understand prompts and orchestrate task execution.
|
56
|
-
- **Multi-Provider Support:** Seamlessly switch between LLM providers like Mistral, Groq, and OpenAI.
|
57
|
-
- **Extensible Tool System:** Equip agents with custom tools to interact with various environments and APIs.
|
58
|
-
- **Flexible Execution Modes:**
|
59
|
-
- **Conversational Mode:** Engage in an interactive dialogue to accomplish tasks.
|
60
|
-
- **One-Shot Task Execution:** Directly execute specific tasks with a single command.
|
61
|
-
- **User-Friendly CLI:** A command-line interface to manage configurations, tools, and task execution.
|
62
|
-
|
63
|
-
---
|
64
|
-
|
65
|
-
## 🛠️ Getting Started
|
66
|
-
|
67
|
-
### **Prerequisites**
|
68
|
-
- 
|
69
|
-
|
70
|
-
### **Installation**
|
71
|
-
Install using pip:
|
72
|
-
|
73
|
-
```bash
|
74
|
-
pip install ocp
|
75
|
-
```
|
76
|
-
|
77
|
-
---
|
78
|
-
|
79
|
-
## ⚡ One-Shot Task Execution
|
80
|
-
|
81
|
-
```bash
|
82
|
-
ocp --task "Your task description here"
|
83
|
-
```
|
84
|
-
|
85
|
-
You can set the maximum number of iterations for a task:
|
86
|
-
|
87
|
-
```bash
|
88
|
-
ocp --task "Your task description here" --max-iter 5
|
89
|
-
```
|
90
|
-
|
91
|
-
---
|
92
|
-
|
93
|
-
## 🤝 Contributing
|
94
|
-
|
95
|
-
We welcome contributions! Please feel free to fork the repository, make your changes, and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
|
96
|
-
|
97
|
-
---
|
98
|
-
|
99
|
-
## 📄 License
|
100
|
-
|
101
|
-
This project is licensed under the terms of the LICENSE file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|