concise · accurate · to the point

Less talk.
Better code.

Artex is a coding assistant that answers in code, not essays. Runs locally on your Mac — your code never leaves the machine.

artex-coder-7b Local · MLX

Demo answers are pre-written. Artex may make mistakes — review before you ship.

// why artex

Same question. A tenth of the words.

Most assistants pad every answer with preamble, caveats and recaps. Artex is tuned to skip all of it.

Typical assistant117 words

> How do I reverse a string in Python?

Great question! Reversing a string is a common task in Python, and there are actually several ways to accomplish it. In this answer, I'll walk you through the most popular approaches, explain how each one works, and discuss when you might want to use them.

The most Pythonic approach uses slicing. Slicing allows you to extract a portion of a sequence, and by providing a step of -1 you can traverse the string backwards…

Another approach is to use the built-in reversed() function combined with join(). This is slightly more verbose but some developers find it more readable…

In summary, both approaches work well. I hope this helps! Let me know if you have any other questions.

Artex8 words

> How do I reverse a string in Python?

s[::-1]

Slicing with step -1. Works on any sequence.

// features

Everything you need. Nothing you don't.

chat
you › regex for a hex color
artex › /^#(?:[0-9a-f]{3}){1,2}$/i
        Matches #fff and #ffffff.

Answers, not essays.

Code first, one line of context, done. No "Great question!", no recap paragraph, no wall of disclaimers.

pytest
$ uv run pytest
collected 13 items

test_build_dataset.py ......
test_prepare_data.py  .......

13 passed

Trained on real, working code.

Fine-tuned from Qwen2.5-Coder-7B on curated, MIT-licensed instruction data. Loss only counts on answers, so it learns to respond — not to ramble.

zsh
$ mlx_lm.generate --model artex-coder-7b \
    --prompt "retry fetch hook in React"
==========
export function useRetryFetch(url, tries = 3) {
  …
// generated on-device

Runs on your Mac. Stays on your Mac.

Built on Apple's MLX and quantized to 4-bit, Artex runs natively on Apple Silicon. No API key, no telemetry, no code uploaded anywhere.

chat
you › cara cek file ada di Node?
artex › import { existsSync } from "node:fs";
        existsSync("path") // true / false
        Versi async: fs.promises.access.

Replies in your language.

Ask in English, Bahasa Indonesia, or whatever you think in. Artex answers in kind — the code stays code.

PythonTypeScriptRustGoSQLSwiftBashJavaC++KotlinRubyPHP

// how it's built

Small model. Sharp edges.

A 7B coder, fine-tuned with LoRA on a single Mac. Nothing exotic — just a tight pipeline.

  1. 01

    Curate

    ~4,000 coding examples plus Artex's own voice, in chat format.

  2. 02

    Fine-tune

    LoRA rank 16 on 16 layers. Prompt masked, answers learned.

  3. 03

    Fuse

    Adapters merged into one standalone model.

  4. 04

    Run

    Load it with MLX and start asking.

7B
parameters
4-bit
quantized
~4.3 GB
on disk
M-series
Apple Silicon native

// get started

Three commands to your first answer.

01

Install MLX

pip install mlx-lm
02

Get the weights Soon

hf download artex/artex-coder-7b
03

Ask

mlx_lm.chat --model artex-coder-7b

// faq

Frequently asked.

What is Artex?

A coding assistant model fine-tuned from Qwen2.5-Coder-7B-Instruct to give short, accurate answers. It runs on your own Mac with MLX.

What hardware do I need?

An Apple Silicon Mac (M1 or newer). The 4-bit model is about 4.3 GB, so 16 GB of RAM is comfortable.

Does my code get sent anywhere?

No. Inference happens entirely on your machine. There is no server to send it to.

Is it free?

Yes. Weights will be published on Hugging Face; you only pay with your own electricity.

Can it replace a frontier model?

Not for everything. It's a 7B model — great for everyday snippets, fixes and explanations, weaker on large multi-file reasoning.

Stop reading. Start shipping.

Artex gives you the code and gets out of your way.

Get Artex