Skip to main content

praisonaiagents

The lightweight core of PraisonAI: a Python SDK for AI agents, tools, memory and multi-agent workflows. Importing it loads no LLM library; dependencies load only when a feature needs them.

pip install praisonaiagents
export OPENAI_API_KEY="your-api-key"   # or use a local model, below

An agent in three lines

from praisonaiagents import Agent

agent = Agent(instructions="You are a helpful assistant")
print(agent.start("Write a haiku about the sea"))

Give it a tool

Any typed Python function with a docstring is a tool.

from praisonaiagents import Agent

def get_weather(city: str) -> str:
    """Return the current weather for a city."""
    return f"It is sunny and 22°C in {city}."

agent = Agent(instructions="Answer weather questions", tools=[get_weather])
print(agent.start("What's the weather in Paris?"))

Other models

Pass model=, for example model="gpt-4o-mini", model="anthropic/claude-sonnet-4-5" or a local model="ollama/llama3.2" (no API key). provider/model names are routed through litellm: pip install "praisonaiagents[llm]".

Learn more

Metadata

Release files for praisonaiagents 1.8.7

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

Source distribution (sdist)

Source distribution for praisonaiagents 1.8.7
File Size Uploaded Provenance Actions
praisonaiagents-1.8.7.tar.gz 2.7 MB Without provenance Details for praisonaiagents-1.8.7.tar.gz

Built distribution (wheel)

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

Total release size: 5.7 MB

Release files / praisonaiagents-1.8.7.tar.gz

Download URL praisonaiagents-1.8.7.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
81f0cc0e95042f33dfd2d39ed14d52ddf0dc9e2d536ab6c01aca09d84de854b1
BLAKE2b-256 checksum
How to use checksums
44cc52ceecf3e498ce0ec22f5412d43b69ff54b398a42cd9c05bbd2a2c8bb9dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.11 {"installer":{"name":"uv","version":"0.13.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / praisonaiagents-1.8.7-py3-none-any.whl

Download URL praisonaiagents-1.8.7-py3-none-any.whl
Size 3.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
daa8e70e276fe45d3420cfc89e7ea00d0a9dc2001d844654bc20d352f8b94faa
BLAKE2b-256 checksum
How to use checksums
2149d3952052eba59b0b08cab818529e85708e8a54ed028bd592cf1ab85ca319
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.11 {"installer":{"name":"uv","version":"0.13.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for praisonaiagents 1.8.7

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.

Release history Release notifications | RSS feed

This release

1.8.7 This release

2 release files No provenance

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