[Open-source] Next-generation enterprise-level AI application development and orchestration platform, zero-code construction of intelligent entities
![[Open-source] Next-generation enterprise-level AI application development and orchestration platform, zero-code construction of intelligent entities](https://yy123.ink/api/img/1796366412536-5hpk9h.jpg)
1. Project Overview
AI Factory
Zero-code construction of intelligent entities, allowing every team to have its own intelligent scheduling center
-
AI Factory is a new generation of enterprise-level AI application development and orchestration platform. Its design goal is to reduce the construction threshold of large models byZero-code/Low-codea large extent, and provide a complete intelligent entity design, skill cascading, cloud-edge collaborative deployment, and enterprise-level application docking capabilities, covering the entire lifecycle from intelligent entity incubation to production environment landing; -
AI Factory fully absorbs the essence of frontier multi-agent Multi-Agent and Skills technologies, achieving unified access, algorithm-level cascading, and fine-grained controlled orchestration of multiple mainstream large models, helping enterprises to quickly achieve intelligent transformation at extremely low costs; -
AI Factory adopts an innovative layered foundation architecture + cloud-edge collaborative working mechanism, achieving perfect decoupling of 'decision-making, ability, and physical hands'.
2. Open Source License
Licensed under MIT
3. Screenshots
Demonstration Business Flow Execution Process (Execution Trace)
| Stage |
Entity |
Action Description |
| 1. Trigger |
Hub/Standalone Agent |
User issues command under role-based Hub. Or scheduled task drives directly. |
| 2. Orchestration |
Hub-Agent |
Identify cross-library requirements, and derive Sub-Agent based on allocation list. |
| 3. Execution |
Sandbox |
Sub-Agent combines multiple knowledge bases to drive SKILL in respective sandbox. |
| 4. Routing |
Kernel Tools |
tool_call executes
fetch_kb
read_file atomic tools. |
| 5. Summary |
Hub-Agent |
Receive Sub-Agent summary, generate comparison table, destroy sandbox, generate Portal. |
01 · Enterprise-level knowledge base and permission isolation
-
Based on the 'organization-team-individual' grid architecture, the native knowledge base core module supports directory recursive import, automatic directory creation, and adaptive slicing index compilation. Knowledge assets have strict physical and logical permission boundaries to prevent unauthorized entities from cross-library privilege escalation. Demonstration video
02 · Cross-knowledge base intelligent search assistant dialogue
-
Contextual dynamic routing mechanism in multi-knowledge base environment. The system automatically switches or performs concurrent search between independent knowledge bases (ERP, intelligent water management, environmental monitoring, etc.) based on input stream semantics, and generates the final conclusion while generating the reverse kernelData Synchronization Gateway, supports one-click backtracking to the original physical file location. Demo Video
03 · Multi-Roles Central Bus (Hub) Dynamic Sub-Agent Allocation
-
Role-based intelligent entity management bus scheduling architecture. By switching different bus intelligent entities (such as project management bus, auxiliary case bus), dynamically mount and isolate corresponding vertical business skill lists and Sub-Agent expert groups. At the time of activating specific tasks, drive sub_agent recursive operators to derive child task flows, implementing the principle of least privilege (PoLP) under controlled execution. Demo Video
04 · Zero-Threshold Instant Creation of Exclusive Intelligent Entities
-
Ability to agilely extend capabilities for specific scenarios without pre-set tools. Users only need to submit UI natural language descriptions of expected functions, and the system will compile and bind a new exclusive intelligent entity online in seconds. The intelligent entity's final review conclusion can be asynchronously written back to the corresponding original file's comment area through API, forming dynamic sedimentation of file historical audit notes, and creating a closed-loop intelligent assistance system. Demo Video
05 · User-Published Exclusive OpenAI Interface, Third-Party Client Equivalent Usage
-
System capability standard integration. The gateway layer is fully compatible with the OpenAI standard interface protocol, supporting users to independently distribute Token tokens for seamless access to CherryStudio, ChatBox, and other third-party clients. The token is strongly bound to the user's identity, storage permissions, and exclusive memory warehouse when entering the system gateway, making external retrieval behavior subject to native auditing. Demo Video
06 · Dialog-Style Reports: AI-Generated Code Analysis and Data
-
Engineering implementation to solve the 'context collapse' problem in large-scale structured data flow scenarios (Excel/CSV) for large models. Breaking through length limits and illusion problems. The intelligent entity does not directly read full data, but activates file analysis skills to sample and understand the target data, and then dynamically writes and compiles Python scripts in a sandboxed code environment. Outputting standard structured reports and visual assets, and dynamically executing secondary calculations and real-time rendering to generate corresponding pie charts and line charts. Demo Video
07 · Memory Chain: Feature Extraction/Case Push/Rule Reasoning Multi-Task
-
Skill-level cascading (Chaining) technology landing in complex long-chain business flows. The system triggers customized feature extraction, case search, and rule reasoning capabilities through directed task flows. During execution, upstream-extracted structured features are written in real-time to Session Memory (session-level persistent memory library), serving as strong-typed input parameters for downstream rule engines. Demo Video
08 · In-Depth Research: Planning-Execution-Summary Multi-Agent Collaboration
-
Complex long-chain global planning tasks under multi-Agent asynchronous coordination topology. The system introduces the Deep Research framework, decomposing complex intentions into: planning (strategy planning intelligent entity generates strategies) → execution (directed search for information and fact verification) → comprehensive (bid task book intelligent entity concludes). Multiple intelligent entities execute in a strict dependency logic, finally outputting high-deterministic structured task books. Demo Video
09 · Cloud-Edge Collaboration: Cloud-Based Decision-Making and Local Execution, Secure Handling of Massive Files
-
Long-distance large-scale data processing project is tolerant of engineering endurance and cloud-edge decoupling architecture. The main intelligent entity sets 20 invoices in a batch to be parsed in batches, and the intermediate process is handled concurrently by Sub-Agent in a logical sandbox, used and burned, achieving perfect matching of model high and low speed. Long-distance tasks can also be set to execute silently in the background, by the deployment of local intranet.Skill RunnerDistributed mounting and execution of local file operations and merging, achieving 'cloud brain decision-making, edge node hands-on work'. Demo Video
10. Standardized workflow tasks and pluggable scenario-based intelligent audit packages
-
High Determinism, Long-Term Quality Inspection Task Process Control and Application Market Suite Micro-Application Distribution. The system controls the execution steps of intelligent entities through deterministic workflows, overcoming the uncertainty of state machines. At the same time, it supports the decoupling and packaging of specific scenarios as "scene inspection suites" for dynamic hot-swapping, and configuring Cron Jobs to implement unmanned scheduled patrols and log audits. Demonstration Video
4. Feature Overview
iBiz AI Factory is targeted at enterprise AI vertical application scenarios, providing a local deployment and secondary development AI application development and orchestration platform. It fully absorbs the essence of frontier multi-agent Multi-Agent and Skills technologies, adopts an innovative layered foundation architecture + cloud-edge collaborative working mechanism, and achieves perfect decoupling of 'decision-making, capability, and physical touch', algorithmic cascading, and fine-grained controlled orchestration, helping enterprises to quickly achieve intelligent transformation at extremely low costs.
Why choose AI Factory
AI Factory concept
- Limited autonomous orchestration
In clear boundaries and permissions, AI autonomous execution is limited to clear tasks, avoiding underlying error decisions. - Hierarchical scheduling architecture
Hub-Agent → Sub-Agent → Skill → Kernel Tools, strict hierarchical management of abilities and permissions. - Skill solidification and customization
Core skills are standardized through SkillHub, preventing modification or interference while supporting customized extension. - Tool minimization
Kernel Tools simplification, only retaining basic atomic operations, reducing AI underlying decision risk. - Government Enterprise Landing Priority
Cloud Edge Collaboration, Sandbox Isolation, Low Computational Power + Short Context Adaptation to Harsh Environments, Ensuring Controllability, Reproducibility, and Auditability. - Maximizing Creativity
Maximizing AI Task Creativity and Business Value under Controllable and Secure Conditions.
Mainstream Product Comparison
| Comparison Dimension |
Early RAG Application Era |
Highly Autonomous New Era |
AI Factory |
| Design philosophy |
Core: RAG and Workflow |
Core: LLM Autonomous Tool Invocation |
Stable and Secure Limited Autonomous AI Execution |
| Product Positioning |
Application Construction Platform |
Intelligent Entity Exploration |
Intelligent Entity Operating System |
| Architecture Paradigm |
Tightly Coupled Structure |
Flat Autonomous |
Hierarchical and Hierarchical Architecture |
| AI Autonomous Capability |
AI Limited Autonomy |
Highly Autonomous AI |
Finite Autonomy (Controlled Choreography) |
| Tool/Skill Boundary |
Dependent on Plugins |
Tool is extremely open |
Layered decoupling, strict separation |
| Controllability and Security |
Medium |
Weak |
Strong |
| Repeatability and Stability |
Medium |
Weak |
Strong |
| Applicable scenarios |
General Scenario |
Research Exploration/Innovation Scenario |
Government and Enterprise Critical Business Scenario |
| Memory Implementation |
No |
Complete Memory Function |
Complete Memory Function |
| Context Isolation |
No |
Partial isolation, dependent on scripts, lacks complete sandbox |
Sandbox Snapshot + Use and Dispose |
| Knowledge Base Binding |
Native Assets |
Manual local file/database management |
Native Assets |
| Task Scheduling |
API Trigger |
Simple Queue / Manual or Local Script |
Cron Job + Scenario-based Scheduling |
Differences with RAGFlow and other tools
From a technical evolution perspective, like RAGFlow and early Dify (especially open-source or localized versions) belong to the category of Generative AI Orchestration Tool of the Previous Era,They are characterized by:
- With RAG (Retrieve-And-Generate) at its core
Essentially, it's a combination of document retrieval and large model generation, forming a question and answer or assistant system. Technically, it leans towards vector retrieval, prompt construction, and embedding management. - Lack of explicit Skill layer
No completeSkill/Tool BusConcept, more dependent on calling MCP or plugin simple script code wrapping, difficult to form a "multi-agent + skill cascading" enterprise-level pipeline. - With workflow scheduling
Supports weak for long chain, multi-library, multi-skill tasks, and may appear "context collapse" when landing complex enterprise scenarios.Context collapseAmbiguous permission boundaries.
Overall, this type ofGenerative AssistantThe highlights are the rapid integration of search + LLM, but it has not been highlighted onSkill reusability, enterprise multi-agent scheduling, sandbox isolationAI Factory, on the other hand, systematizes, standardizes, and expands these capabilities, making them more suitable for enterprise landing needs.
The difference with OpenClaw and other new-generation flat tools
OpenClawandHermes-Agentis in positioning, which belongs to lightweight + flat architecture, with sufficient autonomous decision-making ability, skills are not completely fixed, and are suitable for rapid experimentation and agile iteration. Their characteristics are mainly:
- Unorderedness
Due to being more inclined towards AI-driven tools for solving targets, although it brings a more flexible and dynamic experience, the cost is the unorderedness and security risks brought by the arbitrariness of solving.Arbitrariness of solvingThe unorderedness and security risks brought by it. In the government and enterprise environment, it is difficult to ensure compliance and reproducible stable operation, and even the same problem-solving is often complained about 'two against one wrong'. - High environmental requirements
Requires extremely high model capabilities, the model not only needs to be intelligent and have strong reasoning and long context capabilities, as well as code writing abilities, but for government and enterprise clients, even a single data not going online requirement will basically make them unable to get close to top-level closed-source models on the internet, internal network available computing power is generally 30B parameter models, 40k context length scale, even normal OpenClaw tool call chains may not be able to run normally.
AI Factory only retains the most basic atomic toolset at the bottom layer (such as file operations, RPC/Bash, knowledge base access), limiting AI's basic capabilities while preventing AI from making incorrect decisions at the bottom layer. At the Skill layer, strict isolation and solidification into the standard SkillHub are implemented, allowing only a small amount of web customization of skills, ensuring that business capabilities are not disrupted, and substituting craftsmanship for the determinacy of execution. Multi-level assembly mechanism by role + Sub-Agent sandbox isolation execution reduces the overhead requirements for long-chain task context.
5. Tech Stack
Core Architecture
Service Layer: Controlled Intelligent Entities and Layered Scheduling Model (Agents & Multi-Entry)
Agent is an independent entity that executes intentions, supportingBus OrchestratorandAutonomous TaskTwo forms of existence.
1. Role-based Bus (Hub-Agent)
As a 'Multi-Expert Scheduler', responsible for global control of organizations, teams, or specific large scenarios.
- Multi-Expert Isolation
The system supports the establishment of multiple Hub instances based on organizational structures or business domains. - Directed Dominance
Each Hub mounts specific role prompts andDominance Listto determine its schedulable Sub-Agent and SKILL scope. - Intention Distribution
As an interactive entry point, responsible for decomposing complex demands and distributing them to the underlying expert units.
2. Atomic Intelligent Entities (Standalone/Sub-Agent)
As a 'Specialized Executor', focused on a specific vertical domain.
- Dual Lifecycle
- Subordinate Mode (Sub-Agent Mode)
Activated by Hub, running in a temporary sandbox, and destroyed after task completion. - Independent Mode (Standalone Mode)
With independent URL/Token, supportingScheduled Tasks (Cron Job)orBatch Pipelines (Pipeline)Directly driven, without the need for interactive entry points.
- Resource Allocation and Assignment
-
Allocating capabilities to Agents in the definition phase.Each Agent can only govern its list of basic Skills and extended Skills, implementing the principle of least privilege (PoLP).Each Agent can independently specify the access model, achieving a 'high-low-fast-slow' cascading combination of computing power. -
For example, a Hub with high-parameter text/strong reasoning is responsible for high-level decision-making, while a low-parameter Flash model is bound to a Sub-Agent for high-frequency local execution and data cleaning.
Ability Layer: Decoupled Skill Bus (Skill Bus)
Skill (Skill) is a logical encapsulation of tool sequences. AI Factory achieves dynamic injection of ability elements through the 'Multi-Source Addressing' mechanism.
1. Polymorphic Supply System
- Standard Skills Supply (Global SkillHub)
System listens to external Git repositories. Throughhot reloading (Hot-Reload)mechanism to synchronize skill list with Git commit, ensuring decoupling of ability production and consumption. - Web-Defined Skills supply (Local Extension)
Business rules defined through the management backend UI for rapid entry. Used for handling high verticality and high timeliness business logic (such as specific work order classification algorithms, specific case feature extraction rules, and internal company financial reimbursement verification logic).
2. Skill definition standard (Standard Specification)
-
All skills follow the standard of Input/Output SchemaSupporting skill cascading (Chaining) and automated detection. -
Features: Compatible with mainstream skill standards on the market. Supports automatic refresh via Git, with repository updates resulting in system capability updates. -
Examples: Jenkins automation, K8s cluster management, standard Excel converter.
⚙️ Foundation layer: Atomic tool set (Kernel Tools)
The underlying kernel is comprised of a set of highly optimized, immutable atomic instruction sets. As the system's physical foundation. When executing tasks, these tools are directly driven via the standard ToolCall protocol. They are the only means by which the system perceives and alters the physical world.
- Command
execute_bash (system-level command injection), execute_cloud (microservice RPC/REST calls). - IO barrier
Encapsulation for OSS or local file systems, including read_file, write_file, apply_patch, ensuring idempotence of file operations. - Perception
fetch_kbs (knowledge base routing), fetch_kb_chunks (vector space search), supporting metadata-based pre-filtering. - Recursion
sub_agent. This is the core of the architecture, allowing an Agent to derive a logically isolated task replica (Sandbox), implementing recursive orchestration.
Technical features
| Dimension |
Implementation method |
Purpose |
| Collaborativity |
Cloud-Edge Skill Runner |
Cloud-edge collaboration, breaking down internal network data isolation |
| Knowledgeability |
Deep KB Binding |
High-precision recall and knowledge reinsertion |
| Traceability |
Anchor & Portal |
One-click backtracking from AI conclusions to original evidence |
| Flexibility |
Multi-Hub / Standalone |
Coverage of human-machine dialogue and unmanned monitoring across all scenarios |
| Isolation |
Context Sandbox |
Subtask sandbox execution, used and destroyed |
Cloud-Edge Runner (Cloud-Edge Runner)
This is the heavyweight feature implemented by AI Factory to achieve 'physical landing', throughSkill RunnerImplementing collaboration between cloud-based brain and local hands.
1. Asynchronous message-driven
Cloud (AI Factory) and edge (Skill Runner) are connected through a highly reliable message mechanism, enabling command issuance and state feedback across network environments.
2. Edge hands (Skill Runner)
Users can deploy a matching skill_runner client on their local machine, extending AI execution capabilities to private environments:
- Local execution authority
Supports running sensitive Skill code locally, accessing the local file system, and driving programs within the local area network. - OSS Interactive Link
Cloud-based knowledge base exchanges large files in real-time with edge-end Runner through a unified storage protocol (OSS), solving data transmission bottlenecks. - Elastic Distribution
For users without local execution rights, the system automatically assigns cloud-hosted Runners to run tasks.
3. Cloud-Edge Collaborative Scenario
- Cloud Brain
Responsible for high-dimensional thinking, multi-Agent orchestration, and cross-knowledge base decision-making. - Edge-End Finger
Responsible for landing execution (such as: operating local K8s clusters, handling local classified documents, and driving local automation tools).
Deeply bound semantic repository (Knowledge Base Binding)
Unlike general tools, AI Factory's knowledge base isNative Assetsrather than an edge plugin.
- Semantic topology binding
Agent and knowledge base are not a simple retrieval relationship, but a 'spatial binding'. Agent declares its knowledge boundary at definition time, ensuring that the recalled context has extremely high business relevance. - Cross-library dynamic routing
Supports automatic switching or joint retrieval across multiple vertical knowledge bases (such as: ERP projects, smart water management, environmental monitoring) based on the intent of the question. - Bilateral Synchronization Mechanism
The knowledge base is not only available for AI to read, but the analysis results generated during the execution process (such as Agent-generated audit notes) can be written back to the knowledge base in reverse, achieving dynamic growth of knowledge. - Non-Destructive Restoration
At the same time as the output conclusion, use the file anchor points (Anchor) captured by the Skill layer to generate Portal links in reverse, achieving one-key backtracking from AI abstract conclusions to original physical evidence.
Context Space Isolation (Context Isolation)
This is the core solution to the problem of 'context collapse' in large-scale engineering tasks:
- Logical Snapshot
Subtasks are assigned independentContext Stack (Context Stack). Its execution process, redundant reasoning, and tool logs are locked in a sandbox. - Use and Destroy (Ephemeral Instance)
After the conclusion is returned, the sandbox instance and its context are immediately destroyed. Hub only records structured conclusions, ensuring that the main model has an extremely highSignal-to-Noise Ratio。
Quick start
Environment Requirements
-
CPU ≥ 4 cores, RAM ≥ 16 GB, Disk ≥ 50 GB, Docker ≥ 24.0.0, Docker-Compose ≥ v2.26.1
Installation Steps
# Clone the projectgit clone https://gitee.com/ibizlab/aifactory.git# Start Servicecd aifactory/deploy/composedocker-compose up -d
6. Source Code Repository
Open-source project address:
https://gitee.com/ibizlab/aifactory
Next steps