Skip to main content

🔗 WayFlow Core

PyPI - Version PyPI - License PyPI - Downloads

WayFlow Core is the foundational Python library of the WayFlow ecosystem. It provides the runtime engine, abstractions, and components needed to build powerful AI assistants using Agents, Flows, or hybrid architectures.

WayFlow Core is:

  • 🔧 Flexible — Build assistants using Agents, Flows, or both
  • 🔗 Interoperable — Works with OCI GenAI, OpenAI, Ollama, and other LLM providers
  • 🧩 Composable — Encourages modular, reusable building blocks
  • 🚀 Extensible & Open — Designed for advanced agentic applications

⚡ Quick Install

pip install wayflowcore

(Optional, faster installation using uv)

pip install uv
uv pip install wayflowcore

🧠 Quick Start

1. Initialize an LLM

Initialize a Large Language Model (LLM) of your choice:

OCI Gen AI Open AI Ollama
from wayflowcore.models import OCIGenAIModel

llm = OCIGenAIModel(
model_id="provider.model-id",
service_endpoint="https://url-to-service-endpoint.com",
compartment_id="compartment-id",
auth_type="API_KEY",
)
from wayflowcore.models import OpenAIModel

llm = OpenAIModel(
model_id="model-id",
)
from wayflowcore.models import OllamaModel

llm = OllamaModel(
model_id="model-id",
)

2. Create an Assistant

from wayflowcore.agent import Agent

assistant = Agent(llm=llm)

conversation = assistant.start_conversation()
conversation.append_user_message("I need help regarding my sql query")
conversation.execute()

# get the assistant's response to your query
assistant_answer = conversation.get_last_message()
assistant_answer.content
# I'd be happy to help with your SQL query...

🧩 What You Can Build

WayFlow Core supports a wide range of agentic patterns:

  • 💬 Conversational assistants
  • 🔁 Flow-based assistants with structured sequencing
  • 🤝 Multi-agent systems
  • 🛠️ Tool-calling agents
  • 🧪 Automated code review assistants
  • 📚 Domain-specific knowledge assistants

💁 Contributing

Contributions are welcome! Please refer to the contributor guide located at the root of the repository.


🔐 Security

For responsibly reporting security issues, please refer to the project's security guidelines.


📄 License

WayFlow Core is dual-licensed under:

Metadata

Release files for wayflowcore 26.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for wayflowcore 26.3.1
File Interpreter ABI Platform
wayflowcore-26.3.1-py3-none-any.whl Python 3 none any Details

Release files / wayflowcore-26.3.1-py3-none-any.whl

Download URL wayflowcore-26.3.1-py3-none-any.whl
Size 771.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e75ea9ac175101e191eb8d261a3025f7093dc0603ab473239d324953c302bbd
BLAKE2b-256 checksum
How to use checksums
1905a818f0f74a2ad39a42c307950b3f192a96128fd227b23add3c09678cc464
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

26.3.1 This release

1 release file

26.3.0

1 release file

26.1.2

1 release file

26.1.1

1 release file

26.1.0

1 release file

25.4.3

1 release file

25.4.2

1 release file

25.4.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page