Skip to main content

An agent library designed to parse and process MarkdownFlow documents

Project description

MarkdownFlow Agent (Python)

MarkdownFlow Agent is a library designed to transform MarkdownFlow documents into personalized & interactive pages.

MarkdownFlow (also known as MDFlow) extends standard Markdown with AI-powered intelligence to create personalized, interactive documents. The tagline: "Write Once, Deliver Personally".

Learn more about MarkdownFlow at markdownflow.ai.

🚀 Quick Start

Prerequisites

  • Python 3.10+
  • Pip

Installation

Install from PyPI

pip install markdown-flow

Local Development Installation

cd markdown-flow
pip install -e .

Usage

from markdown_flow import MarkdownFlow, ProcessMode

# Create interactive Markdown document
document = """
Ask {{name}} about his/her Python experience level.

?[%{{level}} Beginner | Intermediate | Expert]

The user's Python experience level is {{level}}. Give some suggestions about the learning path.
"""

# Initialize and process
mf = MarkdownFlow(document, llm_provider=your_llm)
result = await mf.process(0, variables={'name': 'User'})

🔗 Related Links


Built with ❤️ by AI Shifu Team

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

dev_markdown_flow-0.1.0.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

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

dev_markdown_flow-0.1.0-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file dev_markdown_flow-0.1.0.tar.gz.

File metadata

  • Download URL: dev_markdown_flow-0.1.0.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dev_markdown_flow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 952b50b630bd20c2c95fff5dcd82f873f87c82687d2b2f28b81e7e268b30d2e6
MD5 668fbd6b32deddf77a40a1f26b75fd0e
BLAKE2b-256 b2bce93aacce53bc67d4b0d406329f4a497adb1031069983c113cff464f62306

See more details on using hashes here.

File details

Details for the file dev_markdown_flow-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dev_markdown_flow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bce402827c72b7632dc8c67552290bbd0187ff4d39ecaf34e95163853b718fd
MD5 be931415c69f759bef489c626ac5f5be
BLAKE2b-256 09658162bd9e6af438afe167cebd0efffb760c27d48a3820cfe55e9fe4f7aaf8

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