Catalog PyPI
PACKAGE EXPLORERView in registry

agentflowpy

PyPI

Practial module to build AI agents with context management and step-based execution.

Versions collected1
Direct dependencies4From release 1.0.0
Last observed20 Oct, 21:55 UTC

README

Version 1.0.0 documentation

AgentFlowPy

AgentFlowPy is a lightweight Python framework for building workflows with flexible & extensible context management. It allows developers to create agents that execute sequences of steps, maintain context, implement custom contexts, pass arguments between steps, and support typed messages.

Features

  • Step-based workflow execution.
  • Flexible context management with multiple contexts.
  • Pass arguments between steps using StepLead.
  • Typed messages with simple types, Pydantic, dtaclasses and raw class support.
  • Easy integration of custom logic in each step.
  • Looping and conditional flow control (AGENT_START, AGENT_END, StepLead).

Installation

pip install agentflowpy

Examples

  • Basic Usage : basic_flow.py Sample of basic use.
  • Typed Message : typed_message.py Typed Message and Conditional flow.
  • Custom Context Implementation: custom_context.py Create/Manage custom context types
  • Pass Arguments : pass_args.py Passing additional arguments to next step.
  • Context Switch In Flow : mid_switch.py Switch context while in flow to effect next steps.
  • Serialize/Restore Contexts: save_load_state.py Serialize and Restore context_manager state

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.026 Sept 20254

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:55 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:e8b33d833700f1d796ca801c8b732f126e099ee3266772a59a056de9c0c97e34