Skip to main content

Self-evolving workflow pattern engine for Flyto

Project description

flyto-blueprint

PyPI Python License Website Docs

Self-evolving workflow pattern engine for Flyto.

Blueprints are pre-built workflow patterns (YAML) that encode domain knowledge. The AI selects a blueprint and fills in arguments instead of building workflows from scratch. Learned blueprints are scored, deduplicated, and auto-retired.

Install

pip install flyto-blueprint

What's New in v0.2.0

  • 33 builtin blueprints (up from 10) — covering browser automation, API calls, data processing, image manipulation, notification, monitoring, PDF, and OCR workflows
  • Synonym-expanded search — blueprint matching now expands synonyms and uses word-level scoring for more accurate results (e.g., "grab" matches "scrape", "picture" matches "screenshot")
  • Intent matcher — dynamically derives context_key values for the credential vault, so blueprints can auto-fill site-specific credentials without hardcoded mappings
  • Query tracker — records query-to-blueprint mappings after successful executions, enabling learning and analytics over time

Quick Start

from flyto_blueprint import BlueprintEngine, MemoryBackend

engine = BlueprintEngine(storage=MemoryBackend())

# List available blueprints
blueprints = engine.list_blueprints()

# Expand a blueprint with arguments
result = engine.expand("browser_scrape", {
    "url": "https://example.com",
    "extract_selector": "#content",
})

# Learn from a successful workflow
engine.learn_from_workflow(workflow_dict, name="My Pattern", tags=["browser"])

# Report outcomes to evolve scores
engine.report_outcome("my_pattern", success=True)

Storage Backends

  • MemoryBackend — In-memory, great for tests
  • SQLiteBackend — File-based persistence (default)
  • FirestoreBackend — Google Firestore (for flyto-cloud)

License

Apache-2.0

Star History

Star History Chart

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flyto_blueprint-0.2.1.tar.gz (53.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flyto_blueprint-0.2.1-py3-none-any.whl (52.1 kB view details)

Uploaded Python 3

File details

Details for the file flyto_blueprint-0.2.1.tar.gz.

File metadata

  • Download URL: flyto_blueprint-0.2.1.tar.gz
  • Upload date:
  • Size: 53.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for flyto_blueprint-0.2.1.tar.gz
Algorithm Hash digest
SHA256 744aac5fadd9ea3cd7527496dcace0e5511e7e010e7bb72bbd73d05f0325b0ab
MD5 d23cbe14a124d5d156495476b1c4436c
BLAKE2b-256 1cf5203ceab2f0722f69718e74afb7b99d911f93b8871b2d79f4c0ca643ba3ca

See more details on using hashes here.

File details

Details for the file flyto_blueprint-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for flyto_blueprint-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 751ec22ee71a452e2d9cd18d057753fd23614fb103f2a97554f464ba71db758a
MD5 633011f29590f5d771b038583fb05d30
BLAKE2b-256 2f528eba8f95aaf5e9ed03862c6909406804be3c6a572ca5f30e768f5975b57d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page