<PAGE>

                                                                   Exhibit 10.21


                          LOAN MODIFICATION AGREEMENT

     This Loan Modification Agreement is entered into as of October 22, 1999, by
and between Crossworlds Software, Inc. ("Borrower") and Silicon Valley Bank
("Bank").

1.   DESCRIPTION OF EXISTING INDEBTEDNESS:  Among other indebtedness which may
     ------------------------------------
be owing by Borrower to Bank, Borrower is indebted to Bank pursuant to, among
other documents, a Loan and Security Agreement, dated December 10, 1996, as may
be amended from time to time, (the "Loan Agreement"). The Loan Agreement
provided for, among other things, a Revolving Committed Line in the original
principal amount of One Million Five Hundred Thousand Dollars ($1,500,000). The
Loan Agreement was amended pursuant to, among other documents, a Second
Amendment to Loan and Security Agreement, dated October 28, 1998 pursuant to
which, among other things, the Revolving Committed Line was amended to Ten
Million Dollars ($10,000,000). Defined terms used but not otherwise defined
herein shall have the same meanings as in the Loan Agreement.

Hereinafter, all indebtedness owing by Borrower to Bank shall be referred to as
the "Indebtedness."

2.   DESCRIPTION OF COLLATERAL AND GUARANTIES.  Repayment of the Indebtedness is
     ----------------------------------------
secured by the Collateral as described in the Loan Agreement and in that certain
Intellectual Property Security Agreement, dated October 28, 1998, by and between
Borrower and Bank.

Hereinafter, the above-described security documents and guaranties, together
with all other documents securing repayment of the Indebtedness shall be
referred to as the "Security Documents". Hereinafter, the Security Documents,
together with all other documents evidencing or securing the Indebtedness shall
be referred to as the "Existing Loan Documents".

3.   DESCRIPTION OF CHANGE IN TERMS.
     ------------------------------

     A.   Modification(s) to Loan Agreement.
          ----------------------------------

          1.   The following term as defined in Section 1.1. entitled
               "Definitions" is hereby amended to read as follows:

               "Revolving Maturity Date" means January 26, 2000.

4.   CONSISTENT CHANGES.  The Existing Loan Documents are hereby amended
     ------------------
wherever necessary to reflect the changes described above.

5.   NO DEFENSES OF BORROWER.  Borrower (and each guarantor and pledgor signing
     -----------------------
below) agrees that, as of the date hereof, it has no defenses against the
obligations to pay any amounts under the Indebtedness.

6.   CONTINUING VALIDITY.  Borrower (and each guarantor and pledgor signing
     -------------------
below) understands and agrees that in modifying the existing Indebtedness, Bank
is relying upon Borrower's representations, warranties, and agreements, as set
forth in the Existing Loan Documents. Except as expressly modified pursuant to
this Loan Modification Agreement, the terms of the Existing Loan Documents
remain unchanged and in full force and effect. Bank's agreement to modifications
to the existing Indebtedness pursuant to this Loan Modification Agreement in no
way shall obligate Bank to make any future modifications to the Indebtedness.
Nothing in this Loan Modification Agreement shall constitute a satisfaction of
the Indebtedness. It is the intention of Bank and Borrower to retain as liable
parties all makers and endorsers of Existing Loan Documents, unless the party is
expressly released by Bank in writing. No maker, endorser, or guarantor will be
released by virtue of this Loan Modification Agreement. The terms of this
paragraph apply not only to this Loan Modification Agreement, but also to all
subsequent loan modification agreements.


     This Loan Modification Agreement is executed as of the date first written
above.
<PAGE>

BORROWER:                                  BANK:

CROSSWORLDS SOFTWARE, INC.                 SILICON VALLEY BANK

By:______________________                  By:____________________
Name:____________________                  Name:__________________
Title:___________________                  Title:_________________

                                       2
<PAGE>

                              SILICON VALLEY BANK


                      PRO FORMA INVOICE FOR LOAN CHARGES


BORROWER:        Crossworlds Software, Inc.

LOAN OFFICER:    Mark Schoenrock

DATE:            October 22, 1999


                 Documentation Fee             $250.00

                 TOTAL FEE DUE                 $250.00
                 -------------                 =======


Please indicate the method of payment:

     { } A check for the total amount is attached.

     { } Debit DDA # __________________ for the total amount.

     { } Loan proceeds



________________________________________
Borrower                         (Date)


________________________________________
Silicon Valley Bank              (Date)
Account Officer's Signature