Your First Workflow
This guide walks you through building a simple workflow that navigates to a website and extracts data.
Example: Extract Page Title
Using flyto-core as an MCP server, you can ask an AI agent to:
- Open a browser
- Navigate to a URL
- Extract the page title
- Save it to a file
The AI agent will use flyto-core modules automatically through the MCP protocol.
Running Modules Directly
You can also use flyto-core modules programmatically:
python
from flyto_core import execute_module
# Navigate to a page
result = execute_module("browser.goto", {
"url": "https://example.com"
})
# Take a snapshot
snapshot = execute_module("browser.snapshot", {})
# Write data to file
execute_module("file.write", {
"path": "output.txt",
"content": snapshot["text"]
})Evidence Trail
Every module execution produces evidence:
python
result = execute_module("browser.goto", {
"url": "https://example.com"
})
print(result["evidence"])
# {
# "module": "browser.goto",
# "status": "success",
# "timestamp": "2026-03-05T12:00:00Z",
# "duration_ms": 1200
# }Next Steps
- Modules Overview — See all available modules
- Evidence & Replay — Learn about execution traces
