Metadata-Version: 2.1
Name: openmacro
Version: 0.1.9
Summary: Multimodal Assistant. Human Interface for computers.
Home-page: https://github.com/amooo-ooo/openmacro
License: MIT
Author: Amor Budiyanto
Author-email: amor.budiyanto@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Provides-Extra: dev
Requires-Dist: asyncio
Requires-Dist: beautifulsoup4
Requires-Dist: chromadb
Requires-Dist: gradio_client (>=1.3.0)
Requires-Dist: markdownify
Requires-Dist: playwright
Requires-Dist: pybrowsers
Requires-Dist: rich (>=10.0)
Requires-Dist: snova (>=0.1.3)
Requires-Dist: toml (>=0.10)
Description-Content-Type: text/markdown

<div align="center">
  <a href="https://pypi.org/project/openmacro/">
    <img src="https://raw.githubusercontent.com/Openmacro/openmacro/46bb3481766cb66983cb191db731c41f5f69d18d/docs/images/openmacro-title.svg" width="480" height="auto" alt="Openmacro"/>
  </a>
</div>
<div align="center">
<a href="https://github.com/Openmacro/openmacro/blob/main/LICENSE"><img src="https://img.shields.io/static/v1?label=license&message=MIT&color=white&style=flat" alt="License"/></a>
  <a href="https://github.com/Openmacro/openmacro/graphs/commit-activity"><img src="https://img.shields.io/github/commit-activity/m/Openmacro/openmacro" alt="Commit Activity"/></a>
  <a href="https://github.com/Openmacro/openmacro/commits/"><img src="https://img.shields.io/github/last-commit/Openmacro/openmacro" alt="Last Commit"/></a>
  <a href="https://pypi.org/project/openmacro"><img src="https://img.shields.io/pypi/dm/openmacro" alt="Downloads"/></a>
  <a href="https://github.com/Openmacro/openmacro/stargazers"><img src="https://img.shields.io/github/stars/Openmacro/openmacro" alt="Stars"/></a>

</div>

##

<div align="center">
  <a href="https://pypi.org/project/openmacro/">
    <img src="https://raw.githubusercontent.com/Openmacro/openmacro/main/docs/images/demo.png" height="auto" alt="Openmacro"/>
  </a>
</div>

<br>

> Project is in its early stage of development.

openmacro is a multimodal personal agent that allows LLMs to run code locally. openmacro aims to act as a personal agent capable of completing and automating simple to complex tasks autonomously via self prompting.

This provides a cli natural-language interface for you to:

+ Complete and automate simple to complex tasks.
+ Analyse and plot data.
+ Control desktop applications through vision and pyautogui.
+ Manipulate files including photos, videos, PDFs, etc.

At the moment, API keys for models are yet to be supported and by default, models are powered by SambaNova with fallback powered by HuggingFace Spaces and their respective hosts:
+ LLM: [Llama3.1-405B-Instruct](https://huggingface.co/spaces/Corvius/LLaMA-3.1-405B-Instruct) hosted by [Corvius](https://huggingface.co/Corvius).
+ Code: [CodeQwen1.5-7B](https://huggingface.co/spaces/Qwen/CodeQwen1.5-7b-Chat-demo) hosted by [Qwen](https://huggingface.co/Qwen).
+ Vision: [Qwen-VL-Max](https://huggingface.co/spaces/Qwen/Qwen-VL-Max) hosted by [Qwen](https://huggingface.co/Qwen).

This project is heavily inspired by Open Interpreter. 

### Quick Start
You can get started with openmacro by running.
```shell
pip install openmacro
macro
```
> Not working? Raise an issue [here](https://github.com/amooo-ooo/openmacro/issues/new) or try this out instead:
```shell
py -m pip install openmacro
py -m openmacro
```

### Personalisation
Openmacro supports cli args and customised settings! You can view arg options by running:
```shell
macro --help
```
To append your own personalised settings and save it for the future, run:
```shell
macro --config "path\to\config.toml" --save
```

What your personalised `config.toml` might look like:
```toml
[assistant]
name="Basil"
personality="You have a kind, deterministic and professional attitude towards your work and respond in a formal, yet casual manner."
```

### Todo's 
- [x] AI Intepreter
- [X] Web Search Capability
- [X] Async Chunk Streaming
- [ ] Polished Extensions Feature
- [ ] Cost Efficient Long Term Memory & Context Manager
- [ ] API Keys Support
- [ ] Security & Error Handling
- [ ] Semantic File Search
- [ ] App Interface

### Currently Working On
Currently, focusing on a refined system for Extensions, so anyone can build extensions for openmacro.

- Working on `browser` which is the official openmacro browser extension powered by Playwright, Bs4 and Markdownify.

- Working on `ompi` which is the Openmacro Package Index. Similar to Python's `pypi`, users can install third-party extensions to integrate with their openmacro assistant.

- Cost efficient long term memory and conversational context managers through vector databases. Most likely powered by `Milvus` or `Milvus Lite`.

### Next Steps
Better integration of extensions. 

### Contact
You can contact me at [amor.budiyanto@gmail.com](mailto:amor.budiyanto@gmail.com)

