I have no clue how to start building my agent.
I built an application cover letter generator that is based on a LaTeX template and can be built with any LLM/model and Linux CLI shell access in order to compile the LLM generated LaTeX code into a PDF. To build a tailored coverletter, it takes e.g. maximum one minute or so. However, I want to fully automate the processing through OpenClaw.
The generator consists of the following tech stack and files:
template.tex: LaTeX coverletter template:
The template contains the http Job URL I want to apply for.
Manually attach the PDF CV of me (the candidate): CV.pdf
A korn shell script that builds the coverletter.pdf from coverletter.tex (which was LLM generated)
Manual Procedure:
I upload the template to the LLM (template.tex)
I replace the job url placeholder in template.tex with the url of the job I want to apply for.
I attach my CV (CV.pdf)
I spin-up to llm to start generating coverletter.tex
I copy the generated coverletter.tex and pipe it into a build.ksh script at the linux console that compiles the final coverletter.pdf.
The goal:
I plan to migrate this generator into OpenClaw in order to fully automate the copy/pasting, the manual provisioning of the job URL, and the attach of my CV as well the building of the final coverletter.pdf at the linux console using a specific build.ksh script that is mainly invoking the latex command to start compiling. After inception of the agent, I want the bot asking for the job url and which CV to use (like CV1.pdf, CV2.pdf...).
In OpenClaw, I started creating an own agent workspace:
openclaw agents add covletter
I provided you with the architecture, the tech stack, the design and goal.
I need a detailed step-by-step instruction of how to build this process end-to-end in OpenClaw, including all the TUI and console/terminal commmands I have to use.