Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Eugeene1337/LunaAI
Luna is a powerful multi-agent simulation framework designed to create, deploy, and manage autonomous AI agents. Built with TypeScript, it provides a flexible and extensible platform for developing intelligent agents that can interact across multiple platforms while maintaining consistent personalities and knowledge.
https://github.com/Eugeene1337/LunaAI
Last synced: 3 days ago
JSON representation
Luna is a powerful multi-agent simulation framework designed to create, deploy, and manage autonomous AI agents. Built with TypeScript, it provides a flexible and extensible platform for developing intelligent agents that can interact across multiple platforms while maintaining consistent personalities and knowledge.
- Host: GitHub
- URL: https://github.com/Eugeene1337/LunaAI
- Owner: Eugeene1337
- License: mit
- Created: 2024-12-23T22:05:37.000Z (16 days ago)
- Default Branch: master
- Last Pushed: 2024-12-23T22:17:41.000Z (16 days ago)
- Last Synced: 2024-12-23T23:24:13.972Z (16 days ago)
- Language: TypeScript
- Size: 6.87 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome_ai_agents - Lunaai - Luna is a powerful multi-agent simulation framework designed to create, deploy, and manage autonomous AI agents. Built with TypeScript, iā¦ (Building / Deployment)
- awesome_ai_agents - Lunaai - Luna is a powerful multi-agent simulation framework designed to create, deploy, and manage autonomous AI agents. Built with TypeScript, iā¦ (Building / Deployment)
README
# Luna š¤
š [Documentation](https://lunaos.github.io/luna/) | šÆ [Examples](https://github.com/thejoven/awesome-luna)
## āØ Features
- š ļø Full-featured Discord, Twitter and Telegram connectors
- š„ Multi-agent and room support
- š Easily ingest and interact with your documents
- š¾ Retrievable memory and document store
- š Highly extensible - create your own actions and clients
- š¦ Just works!## Video Tutorials
[AI Agent Dev School](https://www.youtube.com/watch?v=ArptLpQiKfI&list=PLx5pnFXdPTRzWla0RaOxALTSTnVq53fKL)
## šÆ Use Cases
- š¤ Chatbots
- šµļø Autonomous Agents
- š Business Process Handling
- š® Video Game NPCs
- š§ Trading## š Quick Start
### Prerequisites
- [Python 2.7+](https://www.python.org/downloads/)
- [Node.js 23+](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
- [pnpm](https://pnpm.io/installation)> **Note for Windows Users:** [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install-manual) is required.
### Use the Starter (Recommended)
```bash
git clone https://github.com/lunaos/luna-starter.git
cd luna-starter
cp .env.example .env
pnpm i && pnpm build && pnpm start
```Then read the [Documentation](https://lunaos.github.io/luna/) to learn how to customize your luna.
### Manually Start Luna (Only recommended if you know what you are doing)
```bash
# Clone the repository
git clone https://github.com/lunaos/luna.git# Checkout the latest release
# This project iterates fast, so we recommend checking out the latest release
git checkout $(git describe --tags --abbrev=0)
```### Edit the .env file
Copy .env.example to .env and fill in the appropriate values.
```
cp .env.example .env
```Note: .env is optional. If your planning to run multiple distinct agents, you can pass secrets through the character JSON
### Automatically Start Luna
This will run everything to setup the project and start the bot with the default character.
```bash
sh scripts/start.sh
```### Edit the character file
1. Open `packages/core/src/defaultCharacter.ts` to modify the default character. Uncomment and edit.
2. To load custom characters:
- Use `pnpm start --characters="path/to/your/character.json"`
- Multiple character files can be loaded simultaneously
3. Connect with X (Twitter)
- change `"clients": []` to `"clients": ["twitter"]` in the character file to connect with X### Manually Start Luna
```bash
pnpm i
pnpm build
pnpm start# The project iterates fast, sometimes you need to clean the project if you are coming back to the project
pnpm clean
```#### Additional Requirements
You may need to install Sharp. If you see an error when starting up, try installing it with the following command:
```
pnpm install --include=optional sharp
```