Developer & Platform Documentation
AstrexFlow Documentation
Everything you need to design, debug, and scale conversational AI Agents, multi-step DAG Workflows, and omnichannel Automations.
1. Quickstart: Agents vs. Workflows vs. Automations
Understand the three canonical product kinds on AstrexFlow and when to use each architecture.
- Conversational Agents (AGENT): Multi-turn chat interfaces with memory, RAG retrieval, and embeddable website widgets.
- Multi-Step Workflows (WORKFLOW): Deterministic Directed Acyclic Graphs (DAGs) triggered via Start nodes or REST APIs.
- Channel Automations (AUTOMATION): Event-driven background pipelines triggered by Telegram, Meta Messenger, or Cron schedules.
2. Visual DAG Canvas & Variable Interpolation
Pass structured outputs between upstream and downstream nodes using universal {{node.field}} syntax.
- Wave-Based Parallelism: Independent branches execute concurrently with zero-latency in-memory state hops.
- Step-Level Debugging: Inspect exact JSON inputs, outputs, token usage, and latency on every node after a run.
- Conditional Routing: Branch execution paths dynamically with If/Else, Loop, Iteration, and Human Approval nodes.
3. Auto / Smart LLM Router & Key Modes
Route model calls automatically across healthy providers or bind your own encrypted API keys.
- Auto Smart Router: Dynamically selects the healthiest model across OpenAI, Gemini, Claude, NVIDIA NIM, and OpenRouter.
- Shared Mode: Uses platform-managed provider credentials within your plan’s rolling token window.
- Own Key Mode (BYOK): Uses your AES-256 encrypted workspace provider keys with higher token allowances.
- Coin Mode: Automatically unlocks over-quota runs using your workspace credit balance.
4. Multimodal RAG Knowledge Bases & Vision Extraction
Ground your AI agents in your own documents, web URLs, and video transcripts.
- Drag-and-drop PDF, DOCX, CSV, TXT, or Markdown files with customizable chunking.
- Paste raw text, web links, or YouTube URLs for automatic transcript extraction.
- Select Vision-capable models to analyze diagrams, charts, and scanned pages before vector indexing.
5. Developer JSON Blueprints (Export & Import)
Share portable workflow architectures across teams without exposing sensitive credentials.
- Role-Gated Export: Workspace Owners and Developers can click the { } JSON button on the canvas header.
- Automatic Credential Sanitization: Strips connection_id, credential_id, and secret keys by default.
- One-Click Import: Create a new Agent, Workflow, or Automation directly from an exported .json blueprint file.
6. Website Embed Widget & Webhook Ingress
Deploy conversational agents to any website or trigger workflows from external services.
- Drop-in Script Tag: Embed a customizable chat widget on any domain with CORS-safe streaming.
- Webhook Triggers: Register live Telegram bots, Meta Graph webhooks, or custom HMAC-verified HTTP endpoints.
Explore Deep-Dive Tutorials on the Blog
Read step-by-step engineering guides on RAG, Smart Router, and DAG workflows.