Skip to main content

Aria Code icon

Aria Code

An open-source AI agent for logistics and finance work.
Numbers you can check, client data kept apart, actions a person approves.

简体中文 · English

npm version PyPI version CI status Apache License 2.0

Real Aria Code terminal recording: failing tests, source inspection, code edit, and passing tests

Recorded from a real Aria Code terminal session on a temporary test fixture; idle time is shortened. This shows direct CLI commands, not an autonomous model edit. Still screenshot · Capture renderer.

What Aria Code does

A general-purpose assistant aims for an answer that reads well. In logistics and finance the number gets acted on — one purchase order left out of a reorder quantity and the stock is bought twice. Aria Code is built around three things that follow from that.

Numbers you can check. Reorder points, safety stock and carrier rankings come from stated formulas, with the formula and every assumption in the result — as does stablecoin settlement reconciliation, from the Artheras skills Aria Code can install. When the data cannot support an answer — under 14 days of demand history, rows that name no shipper — it says so instead of estimating. The operations eval suite checks exactly these traps.

Client data kept apart. A third-party logistics provider holds many clients' stock side by side. A chat group bound to one shipper confines every analysis to that shipper, and the logistics tools themselves refuse another shipper's data or an unattributable file — the rule holds below the prompt, whatever the model asks for.

Actions a person approves. In Feishu, each shipper's group gets a daily digest of reorders, dead stock and freight anomalies. /补货 turns the reorder list into a purchase-order draft card; nothing happens until an authorised approver presses approve, and what runs is exactly what was shown. The draft is a file for your own purchasing system — Aria Code places no orders.

Underneath is a terminal coding agent: it inspects project files, applies edits, runs commands and tests, and explains the changes, with a local Ollama model or a supported cloud provider. A fresh install has no live business data; the logistics tools read your exports (CSV or JSON), and the chat features need a Feishu app or the Aria relay.

Quick start

Install the standalone CLI on macOS or Linux without Python, Node.js, or npm:

curl -fsSL https://raw.githubusercontent.com/artheras/aria-code/main/scripts/install.sh | sh
~/.local/bin/aria

On Windows x64, run this in PowerShell:

irm https://raw.githubusercontent.com/artheras/aria-code/main/scripts/install.ps1 | iex
aria

The installer downloads the binary for your OS from the latest GitHub release, checks its SHA-256 digest, and installs it in your user account. Open a new terminal to start the interactive CLI with aria, aria code, or aria-code. Set ARIA_CODE_VERSION=v0.55.0 to pin a release.

Alternative package-manager installs: npm install -g @artheras/aria-code (requires npm) or python3 -m pip install --upgrade aria-code (requires Python 3.10+). For development from source, see CONTRIBUTING.md.

To use a local model, install Ollama, pull a coding model, and start Aria in local-only mode:

ollama pull qwen2.5-coder:7b
aria-code --local

Or run a single task in an existing project:

aria-code -p "Inspect this project, fix the failing tests, run them, and summarize the diff."

Aria may request approval before editing files or running commands, according to the configured permission mode. Review changes and test results before committing them.

Models and accounts

Route What it needs
Local Ollama An installed and running Ollama model; no cloud account for local inference.
Direct cloud provider That provider's API credentials and network access.
Direct Google Cloud Vertex AI aria-code[google], Google Cloud Application Default Credentials, GOOGLE_CLOUD_PROJECT, and GOOGLE_CLOUD_LOCATION.
Arthera hosted service Install aria-code[google] and sign in through /login in the CLI. Arthera account sign-in does not grant Vertex AI credentials to your own machine.

Install extras only for features you use; see pyproject.toml for the current package options. Local inference can work offline, but live market data, remote integrations, sign-in, and cloud models cannot.

Explore the project

Topic Start here
Architecture and runtime Architecture
Tool permissions and data boundaries Safety notes
Warehouse agents and their read-only data contract Warehouse ERP agents
Strategy and backtesting workflows Strategy workspace
More examples Examples
Releases and changes Changelog

For the current command-line flags, run aria-code --help. For help inside the interactive CLI, run /help. These are preferable to a copied command inventory that can drift from the product.

Contributing and license

Contributions are welcome; see CONTRIBUTING.md. Aria Code is open source under the Apache License, Version 2.0.

Releases 4.2.0 through 4.4.5 were published under the Business Source License 1.1 and remain available under those terms; releases up to and including 4.1.2 were MIT. A license grant cannot be withdrawn from someone who already has it, so each version keeps the license it shipped with — see NOTICE.

Metadata

Release files for aria-code 0.72.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aria-code 0.72.0
File Size Uploaded
aria_code-0.72.0.tar.gz 2.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for aria-code 0.72.0
File Interpreter ABI Platform
aria_code-0.72.0-py3-none-any.whl Python 3 none any Details

Total release size: 3.8 MB

Release files / aria_code-0.72.0.tar.gz

Download URL aria_code-0.72.0.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
695b74cb77c47729e7fbe743242c87fecf8241761b9f81593ccc1be0a1f39ad7
BLAKE2b-256 checksum
How to use checksums
313766a9d6f60b77d0ca2887d27c8c82fcf835009053f5df6ce7995491b84ae2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / aria_code-0.72.0-py3-none-any.whl

Download URL aria_code-0.72.0-py3-none-any.whl
Size 1.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6d9cb770dfa6112d597d829038f4537e528c1f4de510e49452210552ac459529
BLAKE2b-256 checksum
How to use checksums
5d04d7cae95d353543757fe35b694f64d97926f375658336af618f9c809d398e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page