Skip to main content

PAAF

PAAF (Peter Akande Agentic Framwork) is a simple Agentic framwork built to be used for all my LLM applications.

Example usage

from paaf.agents.react import ReactAgent
from paaf.llms.openai_llm import OpenAILLM

from paaf.tools.tool_registory import ToolRegistry
from serper import search as serper_search
from wiki import wiki_search


tool_registory = ToolRegistry()

tool_registory.register_tool(serper_search)
tool_registory.register_tool(wiki_search)


@tool_registory.tool()
def my_name() -> str:
    """
    Get the name of the user.

    Returns:
        str: The name of the user.
    """
    return "John Doe"


if __name__ == "__main__":
    llm = OpenAILLM()

    react_agent = ReactAgent(
        llm=llm,
        tool_registry=tool_registory,
        max_iterations=5,
    )

    response = react_agent.run("Who is older, Cristiano Ronaldo or Lionel Messi?")

    print("Response:", response.content)

Metadata

Release files for paaf 0.1.12

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

Source distribution (sdist)

Source distribution for paaf 0.1.12
File Size Uploaded Provenance Actions
paaf-0.1.12.tar.gz 28.6 kB Without provenance Details for paaf-0.1.12.tar.gz

Built distribution (wheel)

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

Total release size: 70.4 kB

Release files / paaf-0.1.12.tar.gz

Download URL paaf-0.1.12.tar.gz
Size 28.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f2e7058a7d3dcc4c6460262de8851fcab00167269ede7a1c283d99c4627f7f3d
BLAKE2b-256 checksum
How to use checksums
00c5b2132dd3329d89b01691521a5730fd3a9ecc8c6509b954b7bf9b942d7ce7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.8

Release files / paaf-0.1.12-py3-none-any.whl

Download URL paaf-0.1.12-py3-none-any.whl
Size 41.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73756be134697f9f1ab19a77bbfe40d4e06f5802ee932372bd093cd37c568d76
BLAKE2b-256 checksum
How to use checksums
cd780ef511f76ade3b744ee70c1071915ef7d80b9ea9f64e81381257735a0f7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.8

Security for paaf 0.1.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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