This is the main repository for Reality Spiral, a platform that combines custom AI agents with various integrations and plugins. The repository uses Turborepo for managing the monorepo structure and leverages ElizaOS packages where needed.
This repository contains the following key components:
agent
: Core agent implementation and managementplugins/
: Integration plugins including:- Coinbase integration for cryptocurrency-related features
- GitHub integration for repository management
clients/
: Integration clients including:- Coinbase integration for cryptocurrency-related automations
- GitHub integration for repository automation
ui
: A modern web application built with React, Vite, and TailwindCSS that serves as the main user interface for Reality Spiral AI chat experience
The entire codebase is written in TypeScript and utilizes:
- React for the frontend
- Vite for build tooling
- TailwindCSS for styling
- ElizaOS packages for core AI functionality
- Turborepo for monorepo management
To get started with development:
Install biome
globally on your system and configure it in your preferred code editor before proceeding.
Here is an example of how to enable biome on VSCode:
- Install the Biome extension from the VSCode marketplace
- Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P)
- Type "Preferences: Open Settings (JSON)"
- Add the following to the JSON file and save:
{
"editor.formatOnSaveMode": "modifications",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
"editor.formatOnSave": true,
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
Then execute these commands to set up the development environment:
# Install dependencies
pnpm install
# Start development servers
pnpm dev
# Start with a specific character
# start with staff-engineer
CHARACTER=characters/staff-engineer.character.json pnpm dev
# start with prosper
CHARACTER=characters/prosper.character.json pnpm dev
# start with staff-engineer and prosper
CHARACTERS=characters/staff-engineer.character.json,characters/prosper.character.json pnpm dev
To build all apps and packages:
pnpm build
.
├── agent/ # Core agent implementation
├── characters/ # Agent character definitions and configurations
├── clients/ # Integration clients
│ ├── coinbase/ # Coinbase API client
│ ├── direct/ # Custom Eliza Direct API client
│ └── github/ # GitHub API client
├── docs/ # Documentation and guides
├── plugins/ # Integration plugins
│ ├── coinbase/ # Coinbase trading and payment plugins
│ ├── email/ # Custom Eliza Email integration plugins
│ ├── github/ # GitHub repository automation plugins
│ └── twitter/ # Custom Eliza Twitter/X social media plugins
└── ui/ # User interface components and utilities
## Contributing
Please refer to our contributing guidelines for information on how to contribute to Reality Spiral.