Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAC support #29

Open
bhupesh-sf opened this issue Jan 19, 2025 · 15 comments
Open

MAC support #29

bhupesh-sf opened this issue Jan 19, 2025 · 15 comments

Comments

@bhupesh-sf
Copy link

Hey, I am on apple mac m2 series. I see install instructions only for Linux and Windows. How can I use it on mac?

@jbexta
Copy link
Owner

jbexta commented Jan 20, 2025

Will try to get binaries out tomorrow (intel and silicone) and I'll add build instructions for Mac

@bhupesh-sf
Copy link
Author

Thanks a lot

@jbexta
Copy link
Owner

jbexta commented Jan 21, 2025

Open interpreter had some issues with the new version, I've fixed those and it's now ready to build into executables but I gotta get some sleep, hopefully get them out in the morning

@bhupesh-sf
Copy link
Author

Hey, no worries. Take some rest :). Thanks again

@jbexta
Copy link
Owner

jbexta commented Jan 22, 2025

I've managed to get it built but only on Intel, my plan for silicone was to use a cloud mac (macincloud) but apparently they don't give you sudo access.
Apparently you can run intel apps on silicone though right? Macs are totally new to me and I still don't really get them.
Still some issues with the binaries I need to fix (see release notes)

Let us know if you have any issues

@bhupesh-sf
Copy link
Author

Hey, there is a way but its not optimized and very slow. If you can let me know the steps I can try to build on my mac and share??

Another way is build universal binaries which works on both intel and silicon. I am not sure how to do that but definitely ready to help in any ways I can.

@jbexta
Copy link
Owner

jbexta commented Jan 22, 2025

Ah ok, I'll need to look into that, the app itself it pretty lightweight, when I see to the start times it might be bearable.

I still need to update the build.py file for mac, but the instructions here https://github.com/jbexta/AgentPilot/blob/master/docs%2Fguides%2Fhow_to_build.md are almost the same (Linux without build.py)
The only difference is I used poetry to install the packages (the requirements.txt didn't work for me on mac)
Tldr:
-Install poetry if not already
-Follow instructions in guide but instead of pip install -r requirements do poetry install
-Also I'm not sure if Mac has pyenv, I just used a venv created by PyCharm. You can use anything to create and activate a venv, as long as it's a python3.10 venv.

Will update build script and better instructions when I get chance

@jbexta
Copy link
Owner

jbexta commented Jan 22, 2025

Oh wait I think the packages were different too, I'm just updating it now

@bhupesh-sf
Copy link
Author

let me know once updated because I have already setup the project but build.py is failing at the moment.

@jbexta
Copy link
Owner

jbexta commented Jan 22, 2025

@bhupesh-sf The build.py script is working now on my machine and I've removed some unnecessary dependencies.
The script requires pyenv and pyenv-virtualenv to be installed on the system.
Remember to update the project or delete and re-clone.
Hopefully this works now

@bhupesh-sf
Copy link
Author

It worked, but how do I share it now as GH is not allowing because of its size?

Also I believe more documentation and maybe some videos are required to teach how to effectively use it along with possible use cases

@jbexta
Copy link
Owner

jbexta commented Jan 24, 2025

Nice! It's up to you if you'd like to share it here or in another repo, but for security reasons I can't host binaries built by others on the repo, hope you understand. I could add a link for it as an unofficial build.
Yea definitely lacking on documentation, I'm working on a video walk-through demonstrating all capabilities.
I'll be creating stuff with it now and sharing it, so it won't just be a blank canvas

@bhupesh-sf
Copy link
Author

Thats alright, I understand your concern regarding security. I can keep it to myself for now. No worries. One quick question what I need to do to update it, doing the same process again??

@jbexta
Copy link
Owner

jbexta commented Jan 24, 2025

Yea, major updates aren't too often though, on average every 3 months or something. I'll probably do some minor updates over the next few weeks.. I think the more interesting updates from now on will be extension bundles for the app (custom Modules/Pages/Blocks/Tools/Agents etc)
The first one will be Tasks (scheduled or recurring workflows)

@jbexta
Copy link
Owner

jbexta commented Jan 24, 2025

I need to implement automatic updates / auto-build at some point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants