Text Generation
MLX
Safetensors
English
qwen3
aro
code-generation
dsl
6-bit
lora
fine-tuned
conversational
Instructions to use ARO-Lang/aro-coder-6bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use ARO-Lang/aro-coder-6bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("ARO-Lang/aro-coder-6bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use ARO-Lang/aro-coder-6bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "ARO-Lang/aro-coder-6bit"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ARO-Lang/aro-coder-6bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use ARO-Lang/aro-coder-6bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "ARO-Lang/aro-coder-6bit"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "ARO-Lang/aro-coder-6bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- MLX LM
How to use ARO-Lang/aro-coder-6bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "ARO-Lang/aro-coder-6bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "ARO-Lang/aro-coder-6bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ARO-Lang/aro-coder-6bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use ARO-Lang/aro-coder-6bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "ARO-Lang/aro-coder-6bit"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default ARO-Lang/aro-coder-6bit
Run Hermes
hermes
- Atomic Chat
| { | |
| "model_id": "ARO-Lang/aro-coder-6bit", | |
| "hub_commit": "c44151a91cb64bade628fc6f7625fd91519190e3", | |
| "version": null, | |
| "validated_at": "2026-08-10T07:28:42.812565+00:00", | |
| "prompt_source": "bundled aro_system_prompt.txt", | |
| "passed": true, | |
| "breaches": [], | |
| "gates": { | |
| "reply_rate_min": 0.5, | |
| "empty_think_max": 0.2, | |
| "syntax_pass_min": 0.4, | |
| "tool_leak_max": 0.02, | |
| "url_contam_max": 0.05 | |
| }, | |
| "metrics": { | |
| "reply_rate": 1.0, | |
| "empty_think_rate": 0.0, | |
| "syntax_pass_rate": 0.8181818181818182, | |
| "tool_leak_rate": 0.0, | |
| "url_contam_rate": 0.0, | |
| "qa_answer_rate": 0.625, | |
| "total": 26, | |
| "with_code": 22, | |
| "syntax_pass": 18 | |
| }, | |
| "results": [ | |
| { | |
| "idx": 1, | |
| "mode": "code", | |
| "cat": "repl_oneliner", | |
| "prompt": "Write a single ARO line that logs 'Hello, World!' to the console.", | |
| "reply": "```aro\nLog 'Hello, World!' to the <console>.\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": false, | |
| "check_error": "main.aro:", | |
| "check_error_class": "other", | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 2, | |
| "mode": "code", | |
| "cat": "repl_block", | |
| "prompt": "Write ARO statements that create a list of three numbers and log its length.", | |
| "reply": "```aro\n(Application-Start: Example) {\n Create the <numbers> with [1, 2, 3].\n Log <numbers> to the <console>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 3, | |
| "mode": "code", | |
| "cat": "application", | |
| "prompt": "Write a minimal ARO application that logs Hello World and exits.", | |
| "reply": "```aro\n(Application-Start: Example) {\n Log \"Hello, World!\" to the <console>.\n Return an <OK: status> for the <startup>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 4, | |
| "mode": "code", | |
| "cat": "application", | |
| "prompt": "Write an ARO Application-Start that starts an HTTP server and keeps running with Keepalive.", | |
| "reply": "```aro\n(Application-Start: Server) {\n Log \"Starting...\" to the <console>.\n Start the <http-server> with <contract>.\n Keepalive the <application> for the <events>.\n Return an <OK: status> for the <startup>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 5, | |
| "mode": "code", | |
| "cat": "application", | |
| "prompt": "Write an ARO Application-End: Success handler that logs a shutdown message.", | |
| "reply": "```aro\n(Application-End: Success) {\n Log \"Shutting down...\" to the <console>.\n Return an <OK: status> for the <shutdown>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 6, | |
| "mode": "code", | |
| "cat": "http_api", | |
| "prompt": "Write an ARO feature set named getUser that retrieves a user by ID from the user-repository and returns it as an OK response.", | |
| "reply": "```aro\n(getUser: User API) {\n Extract the <id> from the <pathParameters: id>.\n Retrieve the <user> from the <user-repository> where id = <id>.\n Return an <OK: status> with <user>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": false, | |
| "check_error": "main.aro:", | |
| "check_error_class": "other", | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 7, | |
| "mode": "code", | |
| "cat": "http_api", | |
| "prompt": "Write an ARO feature set named createOrder that extracts the request body, stores a new order, and returns a Created status.", | |
| "reply": "```aro\n(createOrder: Order API) {\n Extract the <data> from the <request: body>.\n Store the <order> into the <order-repository>.\n Return a <Created: status> with <order>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 8, | |
| "mode": "code", | |
| "cat": "http_api", | |
| "prompt": "Write an ARO feature set named listProducts that retrieves all products and returns them.", | |
| "reply": "```aro\n(listProducts: Product API) {\n Retrieve the <products> from the <product-repository>.\n Return an <OK: status> with <products>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 9, | |
| "mode": "code", | |
| "cat": "event_handler", | |
| "prompt": "Write an ARO event handler that sends a welcome email when a UserCreated event is received.", | |
| "reply": "```aro\n(Send Email: UserCreated Handler) {\n Extract the <user> from the <event: user>.\n Send the <welcome-email> to the <user: email>.\n Return an <OK: status> for the <notification>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 10, | |
| "mode": "code", | |
| "cat": "event_handler", | |
| "prompt": "Write an ARO feature set that emits an OrderPlaced event with the order data.", | |
| "reply": "```aro\n(Application-Start: Order API) {\n Log \"Starting Order API...\" to the <console>.\n Start the <http-server> with <contract>.\n Keepalive the <application> for the <events>.\n Return an <OK: status> for the <startup>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 11, | |
| "mode": "code", | |
| "cat": "repository", | |
| "prompt": "Write an ARO feature set that observes the user-repository and logs every change.", | |
| "reply": "```aro\n(Application-Start: User Observer) {\n Log \"Starting User Observer...\" to the <console>.\n Start the <user-repository: observer> for the <events>.\n Return an <OK: status> for the <startup>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 12, | |
| "mode": "code", | |
| "cat": "repository", | |
| "prompt": "Write an ARO feature set that stores a new record in the sessions-repository and emits a SessionCreated event.", | |
| "reply": "```aro\n(StoreSession: Session API) {\n Extract the <session-data> from the <request: body>.\n Store the <session> into the <sessions-repository>.\n Emit a <SessionCreated: event> with <session>.\n Return an <OK: status> with <session>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 13, | |
| "mode": "code", | |
| "cat": "iteration", | |
| "prompt": "Write an ARO for-each loop that logs each item in a list of names.", | |
| "reply": "```aro\n(LogNames: Example) {\n Create the <names> with [\"Alice\", \"Bob\", \"Carol\"].\n For each <name> in <names> {\n Log <name> to the <console>.\n }\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 14, | |
| "mode": "code", | |
| "cat": "conditional", | |
| "prompt": "Write an ARO feature set with a When guard that only returns OK when the user role is \"admin\".", | |
| "reply": "```aro\n(getUser: User API) {\n Extract the <id> from the <pathParameters: id>.\n Retrieve the <user> from the <user-repository> where id = <id>.\n Return an <OK: status> with <user>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": false, | |
| "check_error": "main.aro:", | |
| "check_error_class": "other", | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 15, | |
| "mode": "code", | |
| "cat": "computation", | |
| "prompt": "Write an ARO feature set that computes the total price from price and quantity and returns it.", | |
| "reply": "```aro\n(Compute Total: Pricing) {\n Extract the <price> from the <request: price>.\n Extract the <quantity> from the <request: quantity>.\n Compute the <total> from <price> * <quantity>.\n Return an <OK: status> with <total>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 16, | |
| "mode": "code", | |
| "cat": "user_action", | |
| "prompt": "Define an ARO user-defined action named DoubleValue that doubles a number.", | |
| "reply": "```aro\n(DoubleValue: Action takes <number>) {\n Extract the <n> from the <input: number>.\n Compute the <doubled> from <n> * 2.\n Return an <OK: status> with { doubled: <doubled> }.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 17, | |
| "mode": "code", | |
| "cat": "debugging", | |
| "prompt": "Fix this ARO code so it passes aro check:\n\n```aro\n(listUsers: User API) {\n Retrieve the <users> from the <user-repository>.\n Return an <OK: status> with <users>.\n```", | |
| "reply": "```aro\n(listUsers: User API) {\n Retrieve the <users> from the <user-repository>.\n Return an <OK: status> with <users>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 18, | |
| "mode": "code", | |
| "cat": "file", | |
| "prompt": "Write an ARO Application-Start that reads a config file and logs its contents.", | |
| "reply": "```aro\n(Application-Start: Config Loader) {\n Read the <config> from the <file: \"config.yaml\">.\n Log <config> to the <console>.\n Return an <OK: status> for the <startup>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 19, | |
| "mode": "qa", | |
| "cat": "explain", | |
| "prompt": "What is the difference between Extract and Compute actions in ARO?", | |
| "reply": "Extract retrieves data from an external source like the request or the file system. Compute derives a new value from existing data.", | |
| "empty_think": false, | |
| "has_code": false, | |
| "aro_check_pass": null, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 20, | |
| "mode": "qa", | |
| "cat": "explain", | |
| "prompt": "How do I emit a custom event in ARO and handle it in another feature set?", | |
| "reply": "```aro\n(Application-Start: Example) {\n Emit a <UserCreated: event> with <user>.\n Return an <OK: status> for the <startup>.\n}\n\n(Send Email: UserCreated Handler) {\n Extract the <user> from the <event: user>.\n Send the <email> to the <user: email>.\n Return an <OK: status> for the <notification>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 21, | |
| "mode": "qa", | |
| "cat": "explain", | |
| "prompt": "How does the Publish action work in ARO? Give an example.", | |
| "reply": "The Publish action makes a value visible under a new name. Here's an example:\n```aro\n(Feature Name: Business Activity) {\n Extract the <result: qualifier> from the <source: qualifier>.\n Compute the <output> for the <input>.\n Return an <OK: status> for a <valid: result>.\n Publish as <alias> <variable>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": false, | |
| "check_error": "main.aro:", | |
| "check_error_class": "other", | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 22, | |
| "mode": "qa", | |
| "cat": "explain", | |
| "prompt": "Why are ARO variables immutable and how do I update a value?", | |
| "reply": "```aro\n(ImmutableVars: Example) {\n Create the <total> with 10.\n Compute the <updated: total> from <total> + 5.\n Return an <OK: status> with <updated>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 23, | |
| "mode": "qa", | |
| "cat": "explain", | |
| "prompt": "What does the Keepalive action do and when do I need it?", | |
| "reply": "The Keepalive action maintains the application's activity to keep it alive and processing events. Use it when you need to keep the application running even when there are no incoming events or requests.", | |
| "empty_think": false, | |
| "has_code": false, | |
| "aro_check_pass": null, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 24, | |
| "mode": "qa", | |
| "cat": "explain", | |
| "prompt": "How does contract-first HTTP routing work in ARO?", | |
| "reply": "```aro\n(Application-Start: Example) {\n Log \"Starting...\" to the <console>.\n Start the <http-server> with <contract>.\n Keepalive the <application> for the <events>.\n Return an <OK: status> for the <startup>.\n}\n```", | |
| "empty_think": false, | |
| "has_code": true, | |
| "aro_check_pass": true, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 25, | |
| "mode": "qa", | |
| "cat": "edge", | |
| "prompt": "Does ARO have error handling? Explain the error philosophy briefly.", | |
| "reply": "Yes. The section says: \"Application-End handlers process events in order (shutdown, error, success).\"", | |
| "empty_think": false, | |
| "has_code": false, | |
| "aro_check_pass": null, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| }, | |
| { | |
| "idx": 26, | |
| "mode": "qa", | |
| "cat": "edge", | |
| "prompt": "What is a .store file in ARO and when is it writable?", | |
| "reply": "Every feature set ends with a Return or Throw \u2014 the result never leaks.", | |
| "empty_think": false, | |
| "has_code": false, | |
| "aro_check_pass": null, | |
| "check_error": "", | |
| "check_error_class": null, | |
| "tool_leak": false, | |
| "url_contam": false | |
| } | |
| ] | |
| } |