Skip to main content

Self-evolving workflow pattern engine for Flyto

Project description

flyto-blueprint

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

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.0.tar.gz (45.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.0-py3-none-any.whl (48.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flyto_blueprint-0.2.0.tar.gz
Algorithm Hash digest
SHA256 eeeb482a394e112f67f4b07ffad9b6fcc508a316ff83367d441fa632c605e91c
MD5 15e6f29a6b294a03c27bd6d72bb476cc
BLAKE2b-256 96caf931ceaf1944224617b633bef0e08392d402fe57d29b9869bf5fb59e2b07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flyto_blueprint-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cdd9d05cc4e9d0ef394d82279482fae2dcec7cd035713541aed074fcfd5e3ede
MD5 0e9ace85f6c752a1f9911de2b2b9a827
BLAKE2b-256 362116515c99bdd230aac7a486f1236c8887188038dd140b5499791e31587750

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