Document:

<PAGE>

                                                                    Exhibit 10.1

                                    AGREEMENT

NEC Corporation, with its principal place of business at 7-1, Shiba 5-chome,
Minato-ku, Tokyo 108-8001, Japan ("NEC"), and Cray Inc. with its principal place
of business at 411 First Avenue South, Suite 600, Seattle, WA 98104-2860
("Cray") agree to the following.

1.       In consideration of the software maintenance support provided by NEC to
         Cray under Section 3.1.1 of Schedule A to the Maintenance Agreement
         between NEC and Cray dated as of February 28, 2001, Cray shall pay to
         NEC an annual software maintenance fee according to the schedule in
         Section 3.1.2 of Schedule A to the Maintenance Agreement, except that
         the minimum amount of $ * is reduced and replaced by a minimum amount
         of $ *. This revised payment is effective on April 1, 2003.

2.       Except as expressly agreed hereby, the Maintenance Agreement is
         confirmed in all respects.

Cray Inc.                                    NEC Corporation

By:    /s/ Jerry Loe                         By:    /s/ Makoto Tsukakoshi

Name:  Jerry Loe                             Name:  Makoto Tsukakoshi

Title: Vice President                        Title: General Manager
       Worldwide Sales and Services                 HPC Marketing Promotion
                                                    Division

Date:  June 6, 2003                          Date:  June 9, 2003

-----------------------
* Confidential material has been intentionally omitted at this point pursuant to
a request for confidential treatment, and such material has been filed
separately with the Securities and Exchange Commission.<PAGE>

                                                                    EXHIBIT 10.2
                                                                 NEC Corporation
[NEC LOGO]

April 24, 2003

Cray Inc.
411 First Avenue South, Suite 600
Seattle, WA 98104-2860
U.S.A.
Attention: Kenneth W. Johnson

                      Re: Cray - NEC Distribution Agreement

Dear Mr. Johnson,

Reference is made to the Distribution Agreement, dated as of February 28,
2001(the "Distribution Agreement"), between Cray Inc. ("Cray") and NEC
Corporation ("NEC").

This is to notify Cray that because Cray failed to satisfy both of the minimum
order volume options set forth in Section 9.1 of the Distribution Agreement
during the first Order Period (as such term is defined in such section 9.1)
ended on March 31, 2003, pursuant to the terms of such Section 9.1 NEC hereby
exercise its option to change the exclusive distributorship of Cray in North
America into a non - exclusive distributorship.

The above change shall become effective on August 1, 2003.

Sincerely yours,

/s/ Tadao Kondo
Tadao Kondo
Senior Vice President

cc: Stoel Rives LLP
    900 SW Fifth Avenue, Suite 2600
    Portland, OR 97204-1268
    U.S.A.
    Attention: Jere M. Webb<PAGE>
                                                                     EXHIBIT 4.2

THE SECURITIES REPRESENTED HEREBY HAVE NOT BEEN REGISTERED UNDER THE SECURITIES
ACT OF 1933, AS AMENDED (THE "ACT"), OR ANY STATE SECURITIES OR BLUE SKY LAWS
AND MAY NOT BE OFFERED, SOLD, TRANSFERRED, HYPOTHECATED OR OTHERWISE ASSIGNED
EXCEPT (1) PURSUANT TO AN EFFECTIVE REGISTRATION STATEMENT WITH RESPECT TO SUCH
SECURITIES FILED UNDER THE ACT OR (2) PURSUANT TO AN AVAILABLE EXEMPTION FROM
REGISTRATION UNDER THE ACT AND UNDER APPLICABLE STATE SECURITIES AND BLUE SKY
LAWS RELATING TO THE DISPOSITION OF SECURITIES, PROVIDED THAT AN OPINION OF
COUNSEL TO SUCH EFFECT IS PROVIDED TO THE COMPANY IN CONNECTION THEREWITH.

NO. __________

                               BSQUARE CORPORATION
                        WARRANT TO PURCHASE COMMON STOCK

         This certifies that, for value received, __________, or permitted and
registered assigns ("Holder"), is entitled, subject to the terms set forth
below, to purchase from Bsquare Corporation, a Washington corporation (the
"Company"), __________ shares of the Company's common stock (such shares
referred to herein as the "Common Stock"), upon surrender hereof, at the
principal office of the Company referred to below, with the subscription form
attached hereto duly executed, and simultaneous payment therefor in lawful money
of the United States or otherwise as hereinafter provided, at the Exercise Price
as set forth in Section 2 below. The number, character and Exercise Price of
such shares of Common Stock are subject to adjustment as provided below.

         1.       TERM OF WARRANT. Subject to the terms and conditions set forth
herein, this Warrant shall be exercisable, in whole or in part, at any time
after all or such portion of it shall have vested as provided in Section 3 below
and thereafter until 5:00 p.m. Pacific Time on June 30, 2008.

         2.       EXERCISE PRICE. The Exercise Price at which this Warrant may
be exercised shall be $1.1388 per share, as adjusted from time to time pursuant
to Section 11 hereof.

         3.       EXERCISE OF WARRANT. This Warrant shall be exercisable by
Holder in whole or in part, at any time, or from time to time, during the term
hereof as described in Section 1 above, by the surrender of this Warrant and the
Notice of Exercise attached hereto duly completed and executed on behalf of the
Holder, at the office of the Company (or such other office or agency of the
Company as it may designate by notice in writing to the Holder at the address of
the Holder appearing on the books of the Company), upon payment of the purchase
price of the shares to be purchased in cash or by check acceptable to the
Company. This Warrant shall be deemed to have been exercised immediately prior
to the close of business on the date of its surrender for exercise as provided
above, and the person entitled to receive the shares of Common Stock issuable
upon such exercise shall be treated for all purposes as the holder of record of
such shares as of the close of business on such date. As promptly as practicable
on or after such date and in any event within 10 days thereafter, the Company at
its expense shall issue and deliver to the person or persons entitled to receive
the same a certificate or certificates for the number of shares issuable upon
such exercise. In the event that this Warrant is exercised in part, the Company
at its expense will execute and deliver a new Warrant of like tenor exercisable
for the number of shares for which this Warrant has not been exercised.

                                       1.
<PAGE>

         4.       NO FRACTIONAL SHARES. No fractional shares shall be issued
upon the exercise of this Warrant. In lieu of any fractional share to which the
Holder would otherwise be entitled, the Company shall make a cash payment equal
to the Exercise Price multiplied by such fraction.

         5.       REPLACEMENT OF WARRANT. On receipt of evidence reasonably
satisfactory to the Company of the loss, theft, destruction or mutilation of
this Warrant and, in the case of loss, theft or destruction, on delivery of an
indemnity agreement reasonably satisfactory in form and substance to the Company
or, in the case of mutilation, on surrender and cancellation of this Warrant,
the Company at its expense shall execute and deliver, in lieu of this Warrant, a
new warrant of like tenor and amount.

         6.       RIGHTS OF SHAREHOLDERS. Subject to Sections 9 and 11 of this
Warrant, the Holder shall not be entitled to vote or receive dividends or be
deemed the holder of Common Stock or any other securities of the Company that
may at any time be issuable on the exercise hereof for any purpose, nor shall
anything contained herein be construed to confer upon the Holder, as such, any
of the rights of a shareholder of the Company or any right to vote for the
election of directors or upon any matter submitted to shareholders at any
meeting thereof, or to give or withhold consent to any corporate action (whether
upon any recapitalization, issuance of stock, reclassification of stock, change
of par value, or change of stock to no par value, consolidation, merger,
conveyance, or otherwise) or to receive notice of meetings, or to receive
dividends or subscription rights or otherwise until the Warrant shall have been
exercised as provided herein.

         7.       TRANSFER OF WARRANT.

                  (a)      The Company will maintain a register (the "Warrant
Register") containing the names and addresses of each Holder. Any Holder may
change its address as shown on the Warrant Register by written notice to the
Company requesting such change. Any notice or written communication required or
permitted to be given to the Holder may be delivered or given by mail to such
Holder as shown on the Warrant Register and at the address shown on the Warrant
Register. Until this Warrant is transferred on the Warrant Register of the
Company, the Company may treat the Holder as shown on the Warrant Register as
the absolute owner of this Warrant for all purposes, notwithstanding any notice
to the contrary.

                  (b)      The Company may, by written notice to the Holder,
appoint an agent for the purpose of maintaining the Warrant Register referred to
in Section 7(a) above, issuing the Common Stock or other securities then
issuable upon the exercise of this Warrant, exchanging this Warrant, replacing
this Warrant, or any or all of the foregoing. Thereafter, any such registration,
issuance, exchange, or replacement, as the case may be, shall be made at the
office of such agent.

                  (c)      This Warrant may not be transferred or assigned in
whole or in part without compliance with all applicable federal and state
securities laws by the transferor and the transferee (including the delivery of
investment representation letters and legal opinions reasonably satisfactory to
the Company, if such are requested by the Company). Subject to the provisions of
this Warrant with respect to compliance with the Securities Act of 1933, as
amended (the "Act"), title to this Warrant may be transferred by endorsement (by
the Holder executing the Assignment Form attached hereto) and delivery in the
same manner as a negotiable instrument transferable by endorsement and delivery.

                  (d)      On surrender of this Warrant for exchange, properly
endorsed on the Assignment Form and subject to the provisions of this Warrant
with respect to compliance with the Act and with the limitations on assignments
and transfers contained in this Section 7, the Company at its expense shall
issue to or on the order of the Holder a new warrant or warrants of like tenor,
in the name of the Holder or

                                       2.
<PAGE>

as the Holder (on payment by the Holder of any applicable transfer taxes) may
direct, for the number of shares issuable upon exercise hereof.

                  (e)      (1)      The Holder of this Warrant, by acceptance
hereof, acknowledges that this Warrant and the shares of Common Stock to be
issued upon exercise hereof are being acquired solely for the Holder's own
account and not as a nominee for any other party, and for investment, and that
the Holder will not offer, sell or otherwise dispose of this Warrant or any
shares of Common Stock to be issued upon exercise hereof except under
circumstances that will not result in a violation of the Act or any state
securities laws. Upon exercise of this Warrant, the Holder shall, if requested
by the Company, confirm in writing, in a form satisfactory to the Company, that
the shares of Common Stock so purchased are being acquired solely for the
Holder's own account and not as a nominee for any other party, for investment,
and not with a view toward distribution or resale.

                           (2)      This Warrant and all shares of Common Stock
issued upon exercise hereof shall be stamped or imprinted with a legend in
substantially the form contained in the first paragraph of this Warrant, in
addition to any legend required by state securities laws.

                           (3)      The Holder is an "accredited investor," as
such term is defined under the Act.

         8.       RESERVATION OF STOCK. The Company covenants that until such
time as this Warrant is fully exercised or has expired, the Company will reserve
from its authorized and unissued Common Stock a sufficient number of shares to
provide for the issuance of Common Stock upon the exercise of this Warrant. The
Company further covenants that all shares that may be issued upon the exercise
of rights represented by this Warrant and payment of the Exercise Price, all as
set forth herein, will be free from all taxes, liens and charges in respect of
the issue thereof (other than taxes in respect of any transfer occurring
contemporaneously or otherwise specified herein). The Company agrees that its
issuance of this Warrant shall constitute full authority to its officers who are
charged with the duty of executing stock certificates to execute and issue the
necessary certificates for shares of Common Stock upon the exercise of this
Warrant.
         9.       NOTICES.

                  (a)      Whenever the Exercise Price or number of shares
purchasable hereunder shall be adjusted pursuant to Section 11 hereof, the
Company shall issue a certificate signed by its Secretary setting forth, in
reasonable detail, the event requiring the adjustment, the amount of the
adjustment, the method by which such adjustment was calculated, and the Exercise
Price and number of shares purchasable hereunder after giving effect to such
adjustment, and shall cause a copy of such certificate to be mailed (by
first-class mail, postage prepaid) to the Holder of this Warrant.

                  (b)      In case:

                           (1)      the Company shall take a record of the
holders of its Common Stock (or other stock or securities at the time receivable
upon the exercise of this Warrant) for the purpose of entitling them to receive
any dividend or other distribution, or any right to subscribe for or purchase
any shares of stock of any class or any other securities, or to receive any
other right, or

                           (2)      of any capital reorganization of the
Company, any reclassification of the capital stock of the Company, any
consolidation or merger of the Company with or into another

                                       3.
<PAGE>

corporation, or any conveyance of all or substantially all of the assets of the
Company to another corporation, or

                           (3)      of any voluntary dissolution, liquidation or
winding-up of the Company,

then, and in each such case, the Company will mail or cause to be mailed to the
Holder a notice specifying, as the case may be, (A) the date on which a record
is to be taken for the purpose of such dividend, distribution or right, and
stating the amount and character of such dividend, distribution or right, or (B)
the date on which such reorganization, reclassification, consolidation, merger,
conveyance, dissolution, liquidation or winding-up is to take place, and the
time, if any is to be fixed, as of which the holders of record of Common Stock
(or such stock or securities at the time receivable upon the exercise of this
Warrant) shall be entitled to exchange their shares of Common Stock (or such
other stock or securities) for securities or other property deliverable upon
such reorganization, reclassification, consolidation, merger, conveyance,
dissolution, liquidation or winding-up. Such notice shall be mailed at least 5
days prior to the date therein specified.

                  (c)      All such notices and communications shall be deemed
to have been received (1) in the case of personal delivery, on the date of such
delivery and (2) in the case of mailing, on the third business day following the
date of such mailing.

         10.      AMENDMENTS.

                  (a)      Any term of this Warrant may be amended with the
written consent of the Company and the Holder. Any amendment effected in
accordance with this Section 10 shall be binding upon each each future holder of
this Warrant and the Company.

                  (b)      No waivers of, or exceptions to, any term, condition
or provision of this Warrant, in any one or more instances, shall be deemed to
be, or construed as, a further or continuing waiver of any such term, condition
or provision.

         11.      ADJUSTMENTS. The Exercise Price and the number of shares
purchasable hereunder are subject to adjustment from time to time as follows:

                  (a)      If at any time while this Warrant, or any portion
thereof, is outstanding and unexpired there shall be (1) a reorganization (other
than a combination, reclassification, exchange or subdivision of shares
otherwise provided for herein), (2) a merger or consolidation of the Company
with or into another corporation in which the Company is not the surviving
entity, or a reverse triangular merger in which the Company is the surviving
entity but the shares of the Company's capital stock outstanding immediately
prior to the merger are converted by virtue of the merger into other property,
whether in the form of securities, cash, or otherwise, or (3) a sale or transfer
of all or substantially all of the Company's properties and assets to any other
person, then, as a part of such reorganization, merger, consolidation, sale or
transfer, lawful provision shall be made so that the holder of this Warrant
shall thereafter be entitled to receive upon exercise of this Warrant, during
the period specified herein and upon payment of the Exercise Price then in
effect, the number of shares of stock or other securities or property of the
successor corporation resulting from such reorganization, merger, consolidation,
sale or transfer that a holder of the shares deliverable upon exercise of this
Warrant would have been entitled to receive in such reorganization,
consolidation, merger, sale or transfer if this Warrant had been exercised
immediately before such reorganization, merger, consolidation, sale or transfer,
all subject to further adjustment as provided in this Section 11. The foregoing
provisions of this Section 11 shall similarly apply to successive
reorganizations, consolidations, mergers, sales and transfers and to the stock
or

                                       4.
<PAGE>

securities of any other corporation that are at the time receivable upon the
exercise of this Warrant. If the per share consideration payable to the holder
hereof for shares in connection with any such transaction is in a form other
than cash or marketable securities, then the value of such consideration shall
be determined in good faith by the Company's Board of Directors. In all events,
appropriate adjustment (as determined in good faith by the Company's Board of
Directors) shall be made in the application of the provisions of this Warrant
with respect to the rights and interests of the Holder after the transaction, to
the end that the provisions of this Warrant shall be applicable after that
event, as near as reasonably may be, in relation to any shares or other property
deliverable after that event upon exercise of this Warrant.

                  (b)      If the Company, at any time while this Warrant, or
any portion hereof, remains outstanding and unexpired by reclassification of
securities or otherwise, shall change any of the securities as to which purchase
rights under this Warrant exist into the same or a different number of
securities of any other class or classes, this Warrant shall thereafter
represent the right to acquire such number and kind of securities as would have
been issuable as the result of such change with respect to the securities that
were subject to the purchase rights under this Warrant immediately prior to such
reclassification or other change and the Exercise Price therefor shall be
appropriately adjusted, all subject to further adjustment as provided in this
Section 11.

                  (c)      If the Company at any time while this Warrant, or any
portion hereof, remains outstanding and unexpired shall split, subdivide or
combine the securities as to which purchase rights under this Warrant exist,
into a different number of securities of the same class, the Exercise Price for
such securities shall be proportionately decreased in the case of a split or
subdivision or proportionately increased in the case of a combination.

                  (d)      Upon the occurrence of each adjustment or
readjustment pursuant to this Section 11, the Company at its expense shall
promptly compute such adjustment or readjustment in accordance with the terms
hereof and furnish to each Holder of this Warrant a certificate setting forth
such adjustment or readjustment and showing in detail the facts upon which such
adjustment or readjustment is based. The Company shall, upon the written
request, at any time, of any such Holder, furnish or cause to be furnished to
such Holder a like certificate setting forth: (1) such adjustments and
readjustments; (2) the Exercise Price at the time in effect; and (3) the number
of shares and the amount, if any, of other property that at the time would be
received upon the exercise of the Warrant.

         14.      GOVERNING LAW. This Warrant shall be governed by and construed
in accordance with the laws of the State of Washington, excluding that body of
law relating to conflict of laws.

                                       5.
<PAGE>

          IN WITNESS WHEREOF, the Company has caused this Warrant to be executed
by its officer thereunto duly authorized.

Dated:  June 30, 2003.

                                                     BSQUARE CORPORATION

                                                     By: _______________________

                                                     Its: ______________________

                                       6.
<PAGE>

                               NOTICE OF EXERCISE

To:  Bsquare Corporation

         (1)      The undersigned hereby elects to purchase shares of Common
Stock of Bsquare Corporation. pursuant to the provisions of Section 3 of the
attached Warrant, and tenders herewith payment of the purchase price for such
shares in full.

         (2)      In exercising this Warrant, the undersigned hereby confirms
and acknowledges that the shares of Common Stock are being acquired solely for
the account of the undersigned and not as a nominee for any other party, and for
investment, and that the undersigned will not offer, sell or otherwise dispose
of any such shares of Common Stock except under circumstances that will not
result in a violation of the Securities Act of 1933, as amended, or any
applicable state securities laws.

         (3)      Please issue a certificate or certificates representing said
shares of Common Stock in the name of the undersigned or in such other name as
is specified below:

                                                         _______________________
                                                                (Name)

                                                         _______________________
                                                                (Name)

         (4)      Please issue a new Warrant for the unexercised portion of the
attached Warrant in the name of the undersigned or in such other name as is
specified below:

                                                         _______________________
                                                                 (Name)

_______________________                                  _______________________
(Date)                                                        (Signature)

                                       7.
<PAGE>

                                 ASSIGNMENT FORM

         FOR VALUE RECEIVED, the undersigned registered owner of this Warrant
hereby sells, assigns and transfers unto the Assignee named below all of the
rights of the undersigned under the within Warrant, with respect to the number
of shares of Common Stock set forth below:

NAME OF ASSIGNEE                    ADDRESS                        NO. OF SHARES

and does hereby irrevocably constitute and appoint as my Attorney-in-fact
______________________, to make such transfer on the books of Bsquare
Corporation., maintained for the purpose, with full power of substitution in the
premises.

         The undersigned also represents that, by assignment hereof, the
Assignee acknowledges that this Warrant and the shares of stock to be issued
upon exercise hereof or conversion thereof are being acquired for investment and
that the Assignee will not offer, sell or otherwise dispose of this Warrant or
any shares of stock to be issued upon exercise hereof or conversion thereof
except under circumstances which will not result in a violation of the
Securities Act of 1933, as amended, or any state securities laws. Further, the
Assignee has acknowledged that upon exercise of this Warrant, the Assignee
shall, if requested by the Company, confirm in writing, in a form satisfactory
to the Company, that the shares of stock so purchased are being acquired for
investment and not with a view toward distribution or resale.

                                                         _______________________
                                                                 (Name)

_______________________                                  _______________________
(Date)                                                         (Signature)

                                       8.

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00055-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00055-of-00352.parquet"}], [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00055-of-00352.parquet"}]]