The St. Louis Cardinals signed their second free agent in as many days Friday when left-handed reliever Juan Agosto agreed to a three-year contract worth $4.6 million.

On Thursday, the Cardinals signed first baseman-outfielder Gerald Perry to a three-year deal worth $3.3 million.Agosto was a set-up man for the Houston Astros last season. He led the National League in appearances with 82 and had a 9-8 record, 4.29 earned-run average and four saves in 92 1-3 innings.

In addition to a $500,000 signing bonus, Agosto will earn base salaries of $1 million next season, $1.5 million in 1992 and $1.6 million in 1993. He made $950,000 last year, counting performance bonuses.