Package defining the WayFlow core library and the assistant abstractions.
Project description
🔗 WayFlow Core
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 |
from wayflowcore.models import OpenAIModel |
from wayflowcore.models import OllamaModel |
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:
- Apache License 2.0 – see
LICENSE-APACHE.txt - Universal Permissive License (UPL) 1.0 – see
LICENSE-UPL.txt
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wayflowcore-26.1.1-py3-none-any.whl.
File metadata
- Download URL: wayflowcore-26.1.1-py3-none-any.whl
- Upload date:
- Size: 673.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9352cc52a82d578a9aa3d3672a180beb63c0f9ffdf749ff6c52515d8c24f399f
|
|
| MD5 |
ce2a927f41ec4bba9d537257aa042f15
|
|
| BLAKE2b-256 |
c8d1b8fe6af0ab9ff45a172c8581b642c478ca35a3b78b963b291187b30f60b1
|