How yiurenma/workflow works
The repository documents a workflow automation platform: users design and validate workflows, publish them, then invoke them and inspect run records. The product documentation identifies the UI, online API, and operation API; the sampled assistant scripts explicitly call those APIs and local Ollama. The tree does not expose implementation files for the platform submodules, so their internal calls and persistence wiring are not inferred. The graph also includes the local AI assistant’s documented workflow-generation, validation, search, and support capabilities.
Main entry points: local-ai-assistant AI assistant · workflow-ui Workflow UI · generate_workflow.py Workflow generator · workflow-operation-api Operation API
Components 16
Workflow design
- Workflow UI
workflow-ui - Canvas editor
workflow-ui - Applications
workflow-ui
Execution and records
- Online API
workflow-online-api - Operation API
workflow-operation-api - Run records
workflow-operation-api
Local AI assistant
- AI assistant
local-ai-assistant - Model router
local-ai-assistant/openwebui-functions/model_router.py - Ollama
- Workflow generator
local-ai-assistant/tools/generate_workflow.py - Workflow validator
local-ai-assistant/tools/validate_workflow.py - Web search
local-ai-assistant/openwebui-tools/web_search.py - AI gateway
local-ai-assistant/gateway/app.py - Workflow trigger
local-ai-assistant/tools/trigger_workflow.py - Record query
local-ai-assistant/tools/query_records.py
Other components
- Workflow user
Connections 16
- Workflow user → Workflow UI: designs and runs
- Workflow UI → Canvas editor: edits workflows
- Workflow UI → Applications: manages apps
- Workflow user → AI assistant: asks for help
- AI assistant → Model router: routes prompts
- Model router → Ollama: fallback generation
- Workflow generator → Ollama: requests generation
- Workflow generator → Workflow validator: output can be checked
- AI assistant → Web search: invokes search
- AI assistant → AI gateway: requests chat
- AI gateway → Ollama: proxies requests
- Workflow user → Workflow trigger: requests execution
- Workflow trigger → Online API: posts workflow
- Workflow user → Record query: requests history
- Record query → Operation API: queries records
- Operation API → Run records: reads and writes