Starships.ai
Core Concepts

Blueprints

Visual workflow system that powers intelligent agent execution and complex automation

Visual Workflow Engine: Blueprints power every agent interaction - from simple conversations to complex multi-step automations through an intuitive node-based system.

What Are Blueprints?

Blueprints are the visual workflow system that powers how agents and tools execute tasks. Every conversation, tool call, and automation in Starships.ai runs through blueprints - making them the foundational execution engine of the platform.

  • Visual Workflows: Node-based system for building complex logic without code
  • Intelligent Execution: AI-driven decision making with conditional branching
  • Tool Integration: Seamless connection to external APIs and services
  • State Management: Persistent data flow across multi-step processes

How You'll Use Blueprints

Blueprints work behind the scenes in three key ways:

  • Agent Conversations: Every chat follows a blueprint workflow automatically
  • Template Browsing: See blueprint visualizations in marketplace template details
  • Custom Tools: Daedalus creates blueprints when you describe automation needs

Universal Blueprint Architecture

Every blueprint follows the same core execution pattern, regardless of complexity:

Core Components

Every blueprint is built from these fundamental elements:

  • Nodes: Individual processing steps that perform specific actions
  • Edges: Connections that define execution flow and data passing
  • State: Shared data that persists across node executions
  • Data Flow: Simple expressions that connect node outputs to inputs

How Blueprints Execute

When a blueprint runs, the execution engine follows this process:

Initialize State

The workflow begins with the start node, which receives input data and initializes the workflow state.

Process Nodes

Each node executes in sequence, with data flowing along edges. Nodes can be:

  • Processing (transform data, make API calls)
  • Decision (branch based on conditions)
  • Integration (call tools, external services)

Manage State

State persists across nodes, allowing complex data transformations and multi-step processes to maintain context.

Return Results

The workflow completes at an end node, returning structured results back to the calling agent or system.

Blueprint Data Flow

Blueprints use simple expressions to pass data between workflow steps:

// Access workflow state
'{{ state.userEmail }}';

// Get results from previous nodes
"{{ lastOutputOf('api_call') }}";

// Use input data
"{{ input.message }}";

Common Patterns:

  • State Variables: {{ state.variableName }} - Access persistent workflow data
  • Node Results: {{ lastOutputOf('nodeRef') }} - Get outputs from previous steps
  • Input Access: {{ input.path }} - Extract data from workflow input

Deep Integration: Blueprints are tightly integrated with agents for tool calling and tools for custom functionality. Every interaction in Starships.ai is powered by this workflow system.


Node Reference Guide

Blueprints are built from 13 specialized node types, each designed for specific workflow functions:

Node TypePurposeKey ParametersCommon Use Cases
start
Workflow entry pointinput schemaAll workflows, input validation
end
Workflow exit pointoutput dataReturn results, workflow completion
llm
AI model processingmodel, prompt, temperatureText analysis, reasoning, generation
conditional
Branch execution flowexpression, conditionsDecision points, logic routing
http_request
External API callsurl, method, headers, authAPI integrations, data fetching
connector_action
Connector-backed API actionsconnector, action, args, timeoutManaged integrations, auth-injected requests, schema-validated actions
code
JavaScript executionscript, timeoutData processing, calculations
tool
Function executiontool reference, parametersCustom functions, tool calling
transform
Data transformationJSON patches, mappingsFormat conversion, data shaping
mutate
State modificationreducer functionUpdate workflow state, counters
workflow
Nested blueprint executionblueprint referenceReusable workflows, composition
agent
Complete agent executionagent reference, contextDelegate to agents, conversations
user_prompt
Human interactionprompt text, input typeUser input, approval workflows

connector_action vs http_request

  • Use http_request when you need a raw HTTP call to an absolute http(s)://... URL and you can provide everything needed in the node (method/headers/body), like public APIs, webhooks, or simple integrations.
  • Use connector_action when calling a Starships connector action (defined by connector templates) so the runtime can handle base URLs, auth/credentials injection, argument validation, and standardized request/response mapping—especially for integrations that should not embed secrets directly in blueprints.

Advanced Workflow Patterns

Blueprints support sophisticated workflow patterns for complex automation needs:

Sequential Processing Pattern

For straightforward workflows with ordered steps:

Use Cases: Data processing pipelines, API integrations, file operations

Conditional Branching Pattern

For workflows requiring different paths based on data or conditions:

Use Cases: User role routing, content type handling, error recovery strategies

Loop and Retry Pattern

For workflows requiring iteration or error recovery:

Use Cases: API retry logic, batch processing, polling operations, error recovery


Real-World Examples

Blueprints power real automation workflows in the marketplace:

  • RAG Search & Chat: Multi-step vector search with AI-powered response generation
  • Support Ticket Triage: Automated classification and routing based on content analysis
  • Lead Enrichment: Sequential API calls to gather and consolidate customer data
  • Content Moderation: Parallel processing with rule-based and AI-powered validation
  • API Orchestrator: Complex multi-service coordination with error handling