A notebook that packages Qwen3.5-9B with a PDF agent skill and OpenCode config as a ModelKit, pushes it to Jozu Hub and runs the model with a Jozu RIC.
Jozu docs · Jozu · KitOps · More examples · studio1hq.com
This repo accompanies the blog post "KitOps v1.12.0: Native Support for AI Agents". It contains a PDF agent skill, an OpenCode config, a sample registration form and the notebook (main.ipynb).
The notebook packages a quantized Qwen3.5-9B model together with the PDF skill (as prompts), opencode.json (as code) and the sample form (as docs) into one KitOps ModelKit. It pushes the ModelKit to Jozu Hub and runs the model with a Jozu Rapid Inference Container (RIC).
- Agent in one artifact: Model, skill, agent config and test document live in one versioned ModelKit.
- PDF skill: The
pdf/folder hasSKILL.md,forms.md,reference.mdand scripts for extracting form fields, filling fillable fields, adding annotations and validating bounding boxes. - OpenCode config:
opencode.jsondeclares the local model for the OpenCode coding agent. - Test input:
registration_form.pdfchecks the agent's PDF form-filling ability. - Python Kitfile: The
kitopslibrary builds the Kitfile (prompts,code,docs) and pushes it. - Jozu RIC: The ModelKit is served as a
llama-cpp-cudacontainer on port 8000.
| Layer | Tool |
|---|---|
| Model | Qwen3.5-9B GGUF (Q4_0) |
| Packaging | KitOps CLI and kitops Python library |
| Registry and runtime | Jozu Hub and Jozu Rapid Inference Container |
| Agent | OpenCode |
| Runtime | Python 3.11+, Docker, Jupyter |
- Python 3.11 or later and Jupyter
- Docker
- A Jozu Hub account at jozu.ml
- Homebrew on Linux or macOS (the notebook installs it if missing)
- A machine with an NVIDIA GPU and the NVIDIA container toolkit for the
--gpus allDocker command
git clone https://github.com/Studio1HQ/agents_with_kitops.git
cd agents_with_kitops
brew tap kitops-ml/kitops
brew install kitops
pip install kitops huggingface_hubNo environment variables. The notebook authenticates with the email and password of your Jozu Hub account and uses placeholders you replace.
| Placeholder | Description |
|---|---|
email-prefix-here |
The part of your Jozu Hub email before the @ (for jack123@gmail.com use jack123). Keep tags lowercase. |
full-email-here, password-here |
Jozu Hub credentials passed to UserCredentials in the notebook. |
Log in to Jozu Hub in a terminal (you are prompted for email and password), then open the notebook:
kit login jozu.ml
jupyter notebook main.ipynbInstall OpenCode with curl -fsSL https://opencode.ai/install | bash, and start it with opencode.
pdf/ PDF agent skill (SKILL.md, forms.md, reference.md, scripts/)
opencode.json Local model declaration for OpenCode
registration_form.pdf Sample form to fill
main.ipynb Commands from the article
- Download
Qwen3.5-9B-Q4_0.gguffromunsloth/Qwen3.5-9B-GGUFinto./Qwen3.5-9B-Q4. - Build the Kitfile:
modelis the GGUF,promptspoints topdf,codepoints toopencode.jsonanddocspoints toregistration_form.pdf. - Push with
ModelKitManagertojozu.ml/email-prefix-here/qwen3.5-9b-q4_0-gguf:latest. - Run the model:
docker run -it --rm -p 8000:8000 --gpus all "jozu.ml/email-prefix-here/qwen3.5-9b-q4_0-gguf/llama-cpp-cuda:latest" - Start OpenCode and ask it to fill out
registration_form.pdfusing the PDF skill.
-
Jozu documentation: Jozu Hub and Rapid Inference Container guides.
-
Jozu: Product site.
-
KitOps documentation: ModelKit and Kitfile reference.
-
OpenCode: The coding agent used in the article.
Built by Studio1, the technical content and DevRel partner for devtool teams. Made with Jozu.
Browse more open-source examples at github.com/Studio1HQ.
studio1hq.com · Technical content, docs, video and DevRel for devtools