FrontAgent: Frontend Engineering Agent
Collection
A collection for FrontAgent, an LLM-powered agent system for frontend engineering. It includes the SFT dataset, LoRA planner model and demo Space. • 4 items • Updated • 1
How to use ceilf6/frontagent-planner-14B-lora with MLX:
# Make sure mlx-lm is installed
# pip install --upgrade mlx-lm
# if on a CUDA device, also pip install mlx[cuda]
# Generate text with mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("ceilf6/frontagent-planner-14B-lora")
prompt = "Once upon a time in"
text = generate(model, tokenizer, prompt=prompt, verbose=True)How to use ceilf6/frontagent-planner-14B-lora with MLX LM:
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "ceilf6/frontagent-planner-14B-lora" --prompt "Once upon a time"
This repository contains a FrontAgent Planner-only LoRA adapter trained with MLX-LM on Apple Silicon. It generates structured frontend engineering execution plans for FrontAgent. It does not directly generate business code, run tools, or make repository changes. Generated plans still require FrontAgent schema validation and runtime safety checks.
adapters.safetensorsmlx-community/Qwen2.5-Coder-14B-Instruct-4bitQwen/Qwen2.5-Coder-14B-Instructpython -m venv .venv
.venv/bin/python -m pip install mlx-lm
.venv/bin/python -m mlx_lm generate \
--model mlx-community/Qwen2.5-Coder-14B-Instruct-4bit \
--adapter-path ceilf6/frontagent-planner-14B-lora \
--system-prompt '你是一个资深前端工程师和项目规划专家。只输出 JSON,不要输出 markdown。' \
--prompt '任务:创建一个用户登录页面,包含邮箱和密码输入框,支持表单验证\n项目上下文:React 18 + TypeScript + Ant Design 5' \
--max-tokens 1536 \
--temp 0
Quantized
Base model
Qwen/Qwen2.5-14B