Skip to content

feat: Ren AI Cloud Integration POC#1

Open
scasino983 wants to merge 1 commit intomasterfrom
feature/ren-cloud-poc
Open

feat: Ren AI Cloud Integration POC#1
scasino983 wants to merge 1 commit intomasterfrom
feature/ren-cloud-poc

Conversation

@scasino983
Copy link

Summary

Proof of concept for Ren AI cloud integration in the Sovereign Network Browser.

Architecture

Like Gemini in Chrome:

  • Browser sends signed requests to Ren cloud service
  • No local model downloads (weights live on server)
  • No fallback chains (Ren only - hardwired)
  • Inference happens server-side with llama.cpp
Browser                    Ren Cloud
   |                          |
   | POST /chat               |
   | {prompt, did, sig}       |
   +------------------------->|
   |                          | llama.cpp
   |<-------------------------| (GPU inference)
   | {response, tokens}       |

Changes

  • src/ren/ren-client.js - RenClient SDK + RenChatPanel UI
  • index.html - Ren AI dashboard card + modal
  • src/app.js - Dashboard handler for Ren

Testing

  1. Start Ren server: python Team_Ren/Ren/service/ren_server.py
  2. Open browser and click Ren AI card
  3. Chat with Ren

Related

  • Proposal: internal-docs/REN_CLOUD_INTEGRATION_PROPOSAL.md
  • Backend: Team_Ren/Ren/service/ren_server.py
  • Backend: Team_Ren/Ren/service/llama_backend.py

Cross-Platform Support

Same RenClient SDK works on:

  • Desktop (Electron) - this PR
  • Mobile (React Native) - Phase 3
  • Web (Chrome Extension) - Phase 3

- Add RenClient SDK (src/ren/ren-client.js) for browser-to-cloud communication
- Add RenChatPanel UI component with streaming support
- Add Ren AI card to dashboard
- Add Ren modal for chat interface
- Wire up dashboard click handler for Ren

Architecture: Browser sends signed requests to Ren cloud service.
No local model downloads. Inference happens server-side.
Like Gemini in Chrome - seamless cloud AI integration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant