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

markdown_flow-0.1.1.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

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

markdown_flow-0.1.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file markdown_flow-0.1.1.tar.gz.

File metadata

  • Download URL: markdown_flow-0.1.1.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for markdown_flow-0.1.1.tar.gz
Algorithm Hash digest
SHA256 368b7cff4a5d4c59c7efc0565084d46c00ad99efc073459fb070e7d4e9e2d1c5
MD5 5677686ca776e36b9c5cca34efab3bbb
BLAKE2b-256 0971a37f8fb8c9b2eec4db913bbc1367a65e6eac2829b55e7e8609d94edb4b67

See more details on using hashes here.

File details

Details for the file markdown_flow-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: markdown_flow-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for markdown_flow-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57821b0e4d113c9e67612cb66d7ec02c9c0898a652e6d07b5463b6922d83ca02
MD5 c16510a038e42405c0489119edf8b467
BLAKE2b-256 4f6029133f52f1565222419770fee47d3495c74d8c045d4251c4dbbe18c97af5

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