diff --git a/README.md b/README.md index d08bda0..2bc911c 100644 --- a/README.md +++ b/README.md @@ -8,15 +8,37 @@ checkout this [loom video](https://www.loom.com/share/2037ee751b4f491c8d2ffd472d #### setup -1. install poetry if not already installed +1. Create a fork of this repository on GitHub and clone your fork 2. use python >=3.8 in venv -3. do poetry install +```bash +python3 --version # output: Python 3.8.xx +python3 -m venv .venv +source .venv/bin/activate +``` +3. Copy the example env file +```bash +cp .env.example .env +``` +4. Create service account API key for jobber on OpenAI (and Langsmith) and paste them in the `.env` file. +5. Install dependencies +```bash +pip3 install -r requirements.txt +``` +6. Setup playwright's browser binaries: +```bash +playwright install +``` #### running the agent 1. Start a chrome instance with this command and do necessary logins `sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222` -2. use the command `python -u -m jobber.main` -3. example task - `apply for a backend engineer role based in helsinki on linkedin` +OR using this command for Ubuntu: +```bash +google-chrome --remote-debugging-port=9222 +``` +2. Update your preferences in the `./jobber/user_preferences/user_preferences.txt` file. +3. use the command `python -u -m jobber` +4. example task - `apply for a backend engineer role based in helsinki on linkedin` # sentient diff --git a/jobber/__main__.py b/jobber/__main__.py new file mode 100644 index 0000000..680d7f7 --- /dev/null +++ b/jobber/__main__.py @@ -0,0 +1,12 @@ +import asyncio + +from jobber.core.system_orchestrator import SystemOrchestrator + + +async def main(): + orchestrator = SystemOrchestrator() + await orchestrator.start() + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..3b91f14 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +python-dotenv +poetry +litellm +playwright +pdfplumber