The invention discloses a lightweight compilation deployment method and
system for agent applications, and relates to the technical field of
artificial intelligence application deployment. Aiming at the defect that an
intelligent agent application depends on an
intelligent agent development platform to run, the method comprises the following steps: a front-end compiling engine receives webpage description
metadata generated by a webpage designer, analyzes and extracts an effective component, converts the effective component into a front-end static
resource file, and then packages the front-end static
resource file to generate a front-end static resource
package only containing an actual component code of an
intelligent agent; the back-end compiling engine receives the
business process definition file generated by the
business process designer, analyzes and extracts service components actually required by the
business process and eliminates redundancy, and then packages the service components into a back-end service
package capable of being directly operated in combination with process execution scheduling logic; sensitive information of a user access model is extracted, an
environment variable configuration file is generated, decoupling of sensitive configuration, a front-end static resource
package and a rear-end service package is achieved, and the sensitive configuration and the front-end static resource package are supported to flexibly inject sensitive parameters of a corresponding environment in an independent deployment stage.