Skip to content

Maxa is an AI assistant that maintains persistent memory and theory of mind capabilities, enabling more natural and context-aware interactions over time.

License

Notifications You must be signed in to change notification settings

kossisoroyce/maxa-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Maxa AI: Eternal Inference with Theory of Mind

Overview

Maxa is an AI assistant that maintains persistent memory and theory of mind capabilities, enabling more natural and context-aware interactions over time.

Features

  • Persistent Memory: Maintains context across conversations
  • Theory of Mind: Understands user preferences and mental states
  • Eternal Inference: Continuously learns and adapts to user needs
  • Modular Architecture: Easy to extend and customize

Quick Start

  1. Clone the repository

    git clone https://github.com/yourusername/maxa-ai.git
    cd maxa-ai
  2. Set up environment variables Copy .env.example to .env and update with your API keys:

    cp .env.example .env
    # Edit .env with your API keys
  3. Install dependencies

    pip install -r requirements.txt
  4. Run the application

    uvicorn app.main:app --reload
  5. Access the API

Docker Setup

  1. Build and run with Docker Compose

    docker-compose up --build
  2. Access services

API Documentation

Authentication

All endpoints require authentication using JWT tokens.

Endpoints

Chat

  • POST /api/v1/chat - Send a message and get a response
  • GET /api/v1/chat/ws/{conversation_id} - WebSocket endpoint for real-time chat

Memory

  • POST /api/v1/memory - Store a memory
  • GET /api/v1/memory - Search memories
  • DELETE /api/v1/memory/{memory_id} - Delete a memory

Development

Code Style

We use black for code formatting and isort for import sorting.

# Format code
black .

# Sort imports
isort .

Testing

Run tests with pytest:

pytest tests/

License

This project is licensed under the MIT License - see the LICENSE file for details.

Citation

If you use Maxa in your research, please cite:

@software{maxa2023,
  author = Kossiso Royce,
  title = {Maxa: Eternal Inference AI with Theory of Mind},
  year = {2025},
}

About

Maxa is an AI assistant that maintains persistent memory and theory of mind capabilities, enabling more natural and context-aware interactions over time.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages