Polyjuice

Soul-sync AI agents from Farcaster data with local GPU and x402 cryptographic verification.

Visit Repo
Polyjuice banner

About

🧪 Polyjuice: Soul-Sync AI Powered by Farcaster Snapchain

Polyjuice is a modular, Rust-based framework for building soul-aligned AI agents — systems that can think, speak, and evolve like real Farcaster users. Inspired by the Polyjuice Potion in Harry Potter, it enables AI to “become” someone, capturing their tone, reasoning patterns, and digital identity through on-chain data.

Live Demo

Test it here: https://ai.polyjuice.io/

Warning:

The API server is currently running on a local rig and exposed through a Cloudflare Tunnel. Uptime and response speed are not guaranteed — expect occasional downtime or latency during heavy computation or local maintenance.

How it's made

System Architecture

Polyjuice is composed of several Rust-based components, each serving a distinct role in the soul-sync pipeline:

Module Repository Description

Polyjuice Frontend github.com/RyanKung/polyjuice The user interface and orchestration layer for creating and interacting with soul-aligned agents. SnapRAG github.com/RyanKung/snaprag A high-performance RAG (Retrieval-Augmented Generation) engine that vectorizes and indexes Farcaster messages in Postgres via pgvector. Castorix github.com/RyanKung/castorix A CLI and API library for interacting with the Farcaster Snapchain, enabling data synchronization, proof verification, and chain state queries. Rust-x402 github.com/RyanKung/rust-x402 A Rust implementation of the x402 signing and verification protocol used for Snapchain cryptographic primitives.

Together, these modules form a complete stack — from data ingestion and vectorization to soul reconstruction and user simulation.

Technical Highlights

Rust Core — high-performance, memory-safe, parallelized architecture

Modular Design — independently deployable components for maximum flexibility

Postgres + pgvector — scalable vectorized memory for message embeddings

Local GPU Acceleration — native GPU support for embedding and RAG computation, without relying on Ollama or any third-party APIs

x402 Cryptographic Protocol — full support for Farcaster’s signing and verification standard, implemented in pure Rust

On-chain Anchoring — every agent tied to verifiable Farcaster identity

Soul Simulation Layer — reconstructs personality and tone from historical cast data

Vision

Polyjuice envisions a world where AI agents are not generic assistants, but authentic extensions of human identity — autonomous, evolving, and cryptographically sovereign.

“Not just imitation — reincarnation through data.”

Components

Polyjuice Frontend — interactive UI and orchestrator

SnapRAG — RAG and embedding engine

Castorix — Snapchain CLI/API

Rust-x402 — x402 middleware implementation

Polyportal — onchain endpoint router

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

SuriVerse

SuriVerse is an AI-powered MMORPG built with RPGJS and Vue, where players interact with AI Agents powered by Coinbase AgentKit. These agents can chat, execute custom actions, and manage wallets. The game integrates Web3 services like AAVE and Uniswap.

Prisma Token Mind

NotarIA is a new efficient protocol for verifiable AI agents using TLS Notary, integrated with LangChain Agent Framework. Polymind uses this protocol to launch the first verifiable Agent Managed Fund, where users invest via USDC and an AI agent trades autonomously using CoW Swap

On-chain AI Agent

On-chain AI Agent Platform is combines a sophisticated architecture of AI agents, DeFi mechanics, and cutting-edge Web3 tools to create a fully autonomous fund management platform.