Skip to main content

A protocol for building business AI agents with MCP integration

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oflo_ai_agent_protocol-0.1.0.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oflo_ai_agent_protocol-0.1.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file oflo_ai_agent_protocol-0.1.0.tar.gz.

File metadata

  • Download URL: oflo_ai_agent_protocol-0.1.0.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for oflo_ai_agent_protocol-0.1.0.tar.gz
Algorithm Hash digest
SHA256 532a1342de5d0e7f31df4986dc01e2e3c6439ad29e4e09cb1f0c34d372837d7f
MD5 32e8a47114f46adcc811c630679b5d27
BLAKE2b-256 22cb6e90d3af8d86841d65c8a08f130074f428870346c72791125b965dffac8b

See more details on using hashes here.

File details

Details for the file oflo_ai_agent_protocol-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for oflo_ai_agent_protocol-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9d436f0eda6b7337afc6b97898f45a3fbd98a6ad30fa40c1c81113f2a26f923
MD5 74236d507302758761b186c08e94d629
BLAKE2b-256 672f3fbc37ee5e9d975860e630f360d78052a652d34e9ef6d310ddcc667697b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page