Skip to content

Overview

Welcome to the Bitfold AI Wallet docs. This guide will help you integrate and leverage AI Wallet in your applications.

What is Bitfold AI Wallet?

Bitfold AI Wallet is an open-source, user-centric storage and sharing solution for AI assets, including data and models. It enables users to:

  • Import and manage personal data
  • Extract and store memories from raw data
  • Share memories and data with AI applications and marketplaces
  • Control access to their AI assets with fine-grained permissions

For developers, AI Wallet offers:

  • A unified interface to access user-preferred AI models
  • Simplified personalization through stored memories
  • Streamlined AI infrastructure management

Key Features

  • Unified AI Interface: Access multiple AI models through a single API, reducing integration complexity.
  • Privacy-First Design: Fine-grained access controls and optional private AI computation.
  • Warm Start Personalization: Leverage user memories for immediate app personalization.
  • Automatic Memory Extraction: Memories created as users interact with your app create a more pleasant experience for everyone. (Coming soon)
  • Marketplace Integration: Augment models using shared data from AI Wallet users. (Coming soon-ish)

Quick Start

Here’s a minimal example to get you started:

import { AIWallet } from '@bitfold/wallet';
// 1. Create the AI Wallet interface
const ai = new AIWallet();
// 2. Request permissions to access memories that your app needs.
ai.requestMemories([
{ prompt: 'pets & household animals' },
{ prompt: 'daily habits', maxSensitivity: 'medium' }
});
// 3. Use AI through the OpenAI-compatible SDK
const completion = ai.chat.completions.create({ messages: [{
role: 'user',
message: 'How can I keep my dog from chewing on my couch?',
}]);
console.log(completion.choices[0].message);
// "Beagles are high-energy dogs and require stimulation to
// minimize destructive behaviors. Try taking Lily for walks
// in the afternoon when you don't have meetings and providing
// engaging toys like food puzzles and tough rope chews."

For more comprehensive setup and integration instructions, check out our Getting Started guide.

For details on how to use the AI Wallet, head to the API Reference

If you want to play around some more with the APIs without setting anything up, try the Playground.

Use Cases

  • Personalized AI assistants
  • Tailored content recommendation systems
  • Privacy-preserving data analysis
  • Cross-platform user preference syncing

Performance and Scalability

Bitfold AI Wallet is designed for pleasant, responsive user interactions. Our benchmarks show:

  • RAG search overhead < 100ms for 99th percentile
  • Ability to securely store 10,000+ memories + vectors
  • Under 1% token overhead when automatic memory extraction is enabled

Security

We prioritize the security of user data:

  • End-to-end encryption for data in transit and at rest
  • Regular third-party security audits
  • Optional private AI computation in Trusted Execution Environments

Read our security whitepaper

Architecture

Core Concepts

  • [RAG]: [Retrieval Augmented Generation](link to wikipedia)
  • [Memory]: A retrievable piece of data that represents some facet of the wallet owner’s life
  • [Data Domains]: A secure per-app memory sandbox

Open Source

Bitfold AI Wallet is open source under the Apache 2.0 license. We welcome contributions!

Roadmap

Upcoming features:

  • Private AI computation options
  • Multi-modal data support
  • Secure online backup & cross-device synchronization

Community and Support