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.2.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.2.0-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dev_markdown_flow-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 701bf92b1ceed9f46fa0b8ca3b19b437ba1ce61ccd00478709fc2933af4670b9
MD5 33e46292789c75128e50cef6f1f1241b
BLAKE2b-256 93d85a9c84e26cf17aa02aadebb878fecb77538f64e9a6ca2b19ac2966771ce6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dev_markdown_flow-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 274a8f1d8812773bbff9b02995ab4de1a63bfebcac11c793ffc03a6007b98a7a
MD5 48902813bfd8592c39841daa9944b636
BLAKE2b-256 7df909414dbd7112d3a8df650922deec86ec613ca83d972ea249c7eb6aeceec8

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