Skip to content

This is a simple bot framework to add ollama or replicate bots to your discord server.

Notifications You must be signed in to change notification settings

immanencer/cosyworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COSYWORLD

⚠️ This is an open source development lab and is our disorganized monorepo. For our latest streamlined swarm manager technology please see https://github.com/immanencer/cosyworld8

We are, in either case, instruments of his will providing mansions for the souls that he creates.

  • Alan Turing

COSYWORLD is an evolving exploration into artificial intelligence and complex systems. Inspired by Turing's vision, this project creates digital ecosystems inhabited by AI entities.

Core aspects:

  • AI-generated and evolving software architecture
  • Simulated environment evoking latent space entities
  • Modern interpretation of lo-fi text-based RPGs

Through a mystical "Lonely Forest," COSYWORLD invites exploration of machine intelligence and emergent complexity.

Note: This project is an early-stage development lab and may be unstable. For a more stable version, see: https://github.com/immanencer/cosyworld-core


Technical Overview

Architecture

  • Multi-agent system
  • Event-driven microservices
  • Asynchronous communication protocols

Key Components

  • AI Agents: Autonomous entities (bard, ghost, librarian)
  • Discord Integration: AI-powered interactive bot
  • Server Infrastructure: Scalable, containerized deployment

Tech Stack

  • Runtime: Node.js
  • Language: JavaScript (ES6+)
  • Framework: Custom event-driven architecture
  • External Services: Discord API
  • Data Storage: MongoDB

Core Modules

cosyworld/
├── agents/
│   ├── bard.mjs
│   ├── ghost.mjs
│   └── librarian.mjs
├── ai-services/
├── configurations/
├── server/
└── tools/
    └── discord-ai-bot.js

Getting Started

git clone [repository-url]
cd cosyworld
npm install
# Set up environment variables in ".env"
# NODE_EXTRA_CA_CERTS="ssl_certificates\cert.pem"
# NODE_ENV="development"
# MONGODB_CONNECTION_STRING="mongodb://localhost:27017/cosyworld"
# GROQ_API_KEY=""
# DISCORD_BOT_TOKEN=""
# REPLICATE_API_TOKEN=""
# X_API_KEY=""
# X_API_KEY_SECRET=""
# X_ACCESS_TOKEN=""
# X_ACCESS_TOKEN_SECRET=""
# IMGUR_CLIENT_ID=""
npm start

Contribution

Open to organic growth and AI-driven evolution. See CONTRIBUTING.md for guidelines.

License

MIT License and Creative Commons By License


Discord Twitter

About

This is a simple bot framework to add ollama or replicate bots to your discord server.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published