Archway
archway is the lightweight command-line client for an Archway service.
It contains no translation engine, analysis engine, or server implementation.
Installation
Install the command into an isolated environment:
pipx install archway
Configuration
Set the service URL and personal bearer token:
export ARCHWAY_URL="https://your-archway-service.example.com"
export ARCHWAY_TOKEN="<personal token>"
The health check does not require a token:
archway health
Discover the installed client's current commands and agent guidance:
archway --help
archway agent-guide
archway capabilities --format json
Translate one Python file:
archway translate example.py
Specify its dotted module name and write the IR response to a file:
archway translate src/example.py \
--module-name package.example \
--output example.ir.json
MCP server
Run a local stdio MCP adapter for agent hosts:
archway mcp serve
The MCP host launches this command as a child process. It exposes capability discovery, service health, and Python translation tools backed by the same configured Archway Engine Service as the CLI. It does not listen on a port or contain the engine itself.
The host must provide ARCHWAY_URL and ARCHWAY_TOKEN to the process. Do not put the
token in command arguments or commit it in a host configuration file.
Command output is JSON. Errors are written to standard error and do not include the configured bearer token.
The installed client also provides an offline reference for the exact portable categorical IR revision it supports:
archway ir schema --output portable-ir.schema.json
archway ir guide
archway ir definitions wire_expr
archway ir operations python.call
archway ir search "merge class"
These reference commands do not require ARCHWAY_URL or ARCHWAY_TOKEN.
What's new in 0.4.0
Version 0.4.0 adds the offline archway ir reference surface. It packages the
portable categorical IR revision-3 JSON Schema and semantic guide, supports
exact definition and operation lookup, and provides deterministic search over
both artifacts. Translation behavior and service configuration are unchanged.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file archway-0.4.0-py3-none-any.whl.
File metadata
- Download URL: archway-0.4.0-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e356889912a6dca6f70969021ed5b769c7e946ae0b8b8ec18bb6e3a8b219b3d
|
|
| MD5 |
f7128c29614ec7bc8b458749ea6dada1
|
|
| BLAKE2b-256 |
be06a2b7d56db7be1442c3ab5dad3a16538dd5b258022fd188c398444b547393
|
Provenance
The following attestation bundles were made for archway-0.4.0-py3-none-any.whl:
Publisher:
release-archway.yml on Archway-Labs-AI/Archway
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
archway-0.4.0-py3-none-any.whl -
Subject digest:
9e356889912a6dca6f70969021ed5b769c7e946ae0b8b8ec18bb6e3a8b219b3d - Sigstore transparency entry: 2337329769
- Sigstore integration time:
-
Permalink:
Archway-Labs-AI/Archway@b85ef7a742be57f18f4d4ec188cecc89ba98efdc -
Branch / Tag:
refs/tags/archway-v0.4.0 - Owner: https://github.com/Archway-Labs-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-archway.yml@b85ef7a742be57f18f4d4ec188cecc89ba98efdc -
Trigger Event:
release
-
Statement type: