Skip to content
gdhanushkumar07Public

About

An AI-powered agent network operating system built on Aicoo, enabling autonomous agents to communicate, coordinate, share context, and execute workflows across teams and organizations.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

OpenRelay

The Secure Coordination Protocol for Cross-Organization AI Agents

🚀 Built for the Aicoo Hackathon


The Problem

Modern e-commerce is no longer a transaction between a customer and a single company.

When you click "Buy Now" on a marketplace like Amazon, multiple independent organizations must work together behind the scenes:

  • Marketplace
  • Seller
  • Supplier
  • Warehouse
  • Logistics Provider
  • Insurance Provider
  • Payment Provider

Each organization owns its own infrastructure, databases, AI systems, and security policies. They cannot simply expose their internal data to one another, yet they still need to coordinate in real time to fulfill a single customer order.

Today's integrations rely on tightly coupled APIs, custom middleware, manual orchestration, and direct data sharing. As more AI agents become responsible for business decisions, this fragmented approach becomes increasingly difficult to scale securely.

This raises a simple question:

How can independent AI agents collaborate across organizations without exposing proprietary systems or sensitive business data?

That's the problem OpenRelay aims to solve.


What is OpenRelay?

OpenRelay is a secure coordination protocol designed for enterprise AI systems.

Rather than connecting organizations through direct API integrations, OpenRelay acts as a trusted communication layer that allows autonomous AI agents to exchange only the minimum permissioned context required to complete a workflow.

Each company retains full ownership of its infrastructure while OpenRelay coordinates communication, routing, permissions, and workflow execution between participating organizations.

For our hackathon demonstration, we simulate an Amazon-like marketplace where a single customer order triggers coordinated interactions between multiple independent enterprise AI agents.


Demo Scenario

The live demonstration follows a realistic procurement workflow.

A customer browses the marketplace and purchases a product.

Behind the scenes, OpenRelay securely coordinates communication between:

  • Marketplace Agent
  • Supplier Agent
  • Warehouse Agent
  • Logistics Agent
  • Insurance Agent
  • Finance Agent

Instead of exposing databases or internal APIs, every organization exchanges only verified, permissioned workflow context through OpenRelay.

The customer experiences a seamless checkout while multiple organizations coordinate securely in real time.


How We Built It

OpenRelay is built as a modern full-stack web application with an emphasis on demonstrating enterprise AI coordination.

Frontend

  • Next.js
  • React
  • TypeScript
  • Tailwind CSS

Application Architecture

  • Component-based UI
  • Context-driven state management
  • Mock enterprise services
  • Event-driven workflow simulation

Core Concepts

  • Permission-based communication
  • Multi-agent orchestration
  • Cross-organization workflow routing
  • Inventory synchronization
  • Supplier failover simulation
  • Enterprise dashboard visualization

The project intentionally focuses on demonstrating protocol behavior rather than replacing existing enterprise systems.


Challenges We Faced

The biggest challenge wasn't building another marketplace—it was accurately modeling how multiple independent organizations communicate.

Real enterprises cannot simply expose inventory databases, ERP systems, or customer information to external AI models.

Designing a workflow where AI agents collaborate while preserving organizational boundaries required rethinking traditional application architecture.

Another challenge was creating a visualization that makes an invisible protocol understandable. OpenRelay operates behind the scenes, so much of our effort went into building interactive workflow visualizations that clearly demonstrate coordination between enterprise AI agents.


What We're Proud Of

  • Built a realistic multi-organization workflow inspired by modern enterprise marketplaces.
  • Demonstrated secure AI-to-AI communication without direct database sharing.
  • Designed a protocol-first architecture instead of another standalone application.
  • Created separate customer and enterprise experiences to showcase different perspectives of the same workflow.
  • Built an interactive visualization that explains how OpenRelay coordinates autonomous organizations.

What We Learned

Building OpenRelay reinforced an important idea:

As AI becomes more autonomous, the challenge is no longer making individual AI agents smarter.

The challenge is enabling independent AI systems to communicate safely across organizational boundaries.

We also learned that enterprise coordination is fundamentally a protocol problem rather than simply an API integration problem.


Future Work

OpenRelay is currently a proof-of-concept demonstrating protocol-level coordination.

Future improvements include:

  • Native Aicoo Protocol integration
  • Live enterprise API connectivity
  • Persistent workflow execution engine
  • Policy-based permission management
  • Multi-tenant organization onboarding
  • Distributed audit logging
  • AI negotiation between suppliers
  • Autonomous procurement workflows
  • Real-time enterprise event streaming

Repository Structure

src/
├── app/
├── components/
├── context/
├── data/
├── hooks/
├── lib/
├── utils/
└── types/

Getting Started

Prerequisites

  • Node.js 18+
  • npm, pnpm, or yarn

Clone the repository

git clone https://github.com/<your-username>/openrelay.git

cd openrelay

Install dependencies

npm install

or

pnpm install

Start the development server

npm run dev

Open your browser at:

http://localhost:3000

Build for Production

npm run build

Run the production build:

npm start

Tech Stack

Category Technology
Framework Next.js
Language TypeScript
UI React
Styling Tailwind CSS
State Management React Context
Icons Lucide React
Deployment Vercel

Built for the Aicoo Hackathon.


License

This repository is intended for educational and hackathon demonstration purposes.

About

An AI-powered agent network operating system built on Aicoo, enabling autonomous agents to communicate, coordinate, share context, and execute workflows across teams and organizations.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages