Skip to main content

Oflo AI Agent Protocol

A powerful protocol for building business AI agents with seamless integration with MCP (Multi-Cloud Protocol), supporting multiple LLMs and multi-modal capabilities.

Features

  • 🤖 Flexible Agent Architecture: Build custom AI agents with a standardized interface
  • 🔌 MCP Integration: Seamless integration with Multi-Cloud Protocol
  • 🧠 Multi-LLM Support: Works with OpenAI, Anthropic, and other LLM providers
  • 📱 Multi-Modal: Handle text, images, and other data types
  • 🏭 Agent Factory: Easy agent creation and management
  • 🔄 State Management: Built-in memory and conversation history
  • 🛠️ Tool Integration: Easy integration with external tools and APIs
  • 🔒 Security: Built-in security features and best practices

Installation

pip install oflo-ai-agent-protocol

For development:

pip install oflo-ai-agent-protocol[dev]

For documentation:

pip install oflo-ai-agent-protocol[docs]

Quick Start

from oflo_agent_protocol import BaseAgent, Message

class MyAgent(BaseAgent):
    def __init__(self):
        super().__init__(name="MyAgent", purpose="A custom business agent")
        
    async def process_message(self, message: Message) -> Message:
        # Your custom message processing logic here
        return Message(role="assistant", content="Hello from MyAgent!")

# Create and initialize the agent
agent = MyAgent()
await agent.initialize()

# Process a message
response = await agent.process_message("Hello!")
print(response.content)  # Output: Hello from MyAgent!

Examples

Check out our example implementations:

Cloudflare Worker Deployment

Deploy your Oflo Agent as a Cloudflare Worker:

  1. Install Wrangler:
npm install -g wrangler
  1. Configure your worker:
cd examples/marketing-oflo/worker
wrangler dev  # For local development
wrangler publish  # For production deployment

Documentation

Full documentation is available at https://docs.oflo.ai/agent-protocol

Contributing

We welcome contributions! Please see our Contributing Guide for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

Metadata

Release files for oflo-ai-agent-protocol 0.1.0

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

Source distribution (sdist)

Source distribution for oflo-ai-agent-protocol 0.1.0
File Size Uploaded Provenance
oflo_ai_agent_protocol-0.1.0.tar.gz 19.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for oflo-ai-agent-protocol 0.1.0
File Interpreter ABI Platform
oflo_ai_agent_protocol-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.1 kB

Release files / oflo_ai_agent_protocol-0.1.0.tar.gz

Download URL oflo_ai_agent_protocol-0.1.0.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
532a1342de5d0e7f31df4986dc01e2e3c6439ad29e4e09cb1f0c34d372837d7f
BLAKE2b-256 checksum
How to use checksums
22cb6e90d3af8d86841d65c8a08f130074f428870346c72791125b965dffac8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / oflo_ai_agent_protocol-0.1.0-py3-none-any.whl

Download URL oflo_ai_agent_protocol-0.1.0-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9d436f0eda6b7337afc6b97898f45a3fbd98a6ad30fa40c1c81113f2a26f923
BLAKE2b-256 checksum
How to use checksums
672f3fbc37ee5e9d975860e630f360d78052a652d34e9ef6d310ddcc667697b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Security for oflo-ai-agent-protocol 0.1.0

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

0.1.0 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