promethean
v0.0.1
Published
A modular cognitive architecture for building embodied AI agents with reasoning, perception-action loops, and emotionally mediated decision structures.
Readme
Promethean Framework
A modular cognitive architecture for building embodied AI agents with reasoning, perception-action loops, and emotionally mediated decision structures.
🚀 Quick Start
git clone https://github.com/PrometheanAI/promethean.git
cd promethean
# Enable pnpm 9 via Corepack (required)
corepack enable && corepack prepare pnpm@9 --activate
# Install dependencies and start development
pnpm install
pnpm dev:allFor containerized development:
docker compose up📋 Overview
Promethean breaks AI systems into small, focused services handling speech-to-text, text-to-speech, memory, and higher-level reasoning. The framework emphasizes:
- Modular architecture - Independent services that communicate via message brokers
- Functional programming - Immutable data, no in-place mutation
- TypeScript monorepo - Managed with Nx, AVA testing, and ESM modules
- Document-driven development - All work tracked through kanban tasks
🏗️ Repository Structure
packages/ # JS/TS modules with individual READMEs
tests/ # Unit and integration test suites
docs/ # System documentation and architecture
apps/ # Frontend applications
scripts/ # Build and automation tools🎯 Kanban Task Management
All work follows the kanban process defined in docs/agile/process.md. The board is managed via the @promethean-os/kanban package.
Essential Commands
# Core workflow (works from any directory)
pnpm kanban search <query> # Find existing tasks
pnpm kanban update-status <uuid> <column> # Move tasks
pnpm kanban regenerate # Refresh board after changes
pnpm kanban count # Show task counts
# Full help and advanced operations
pnpm kanban --helpKey Files
- Tasks:
docs/agile/tasks/*.md- Individual task definitions - Board:
docs/agile/boards/generated.md- Auto-generated kanban board - Config:
promethean.kanban.json- System configuration
🔄 Repository Migrations
Schema and content changes use structured migrations to avoid ad-hoc scripts:
# Apply pending migrations
pnpm tsx packages/migrations/src/index.ts up
# List migration status
pnpm tsx packages/migrations/src/index.ts list
# Regenerate board after migrations
pnpm kanban regenerateCurrent policy: Use tags: (lowercase) in frontmatter instead of deprecated labels.
🛠️ Development Workflow
Package Management
- pnpm required - npm is blocked and will fail with clear error messages
- Workspace structure - All packages use
@promethean-os/<package>*via "workspace:*" - No relative imports outside package roots
Testing
# Split by type for faster feedback
pnpm test:unit # Unit tests (fastest)
pnpm test:integration # Integration tests
pnpm test:e2e # End-to-end testsLinting
pnpm lint:diff # Only changed files (development)
pnpm lint # Full repository (CI/pre-commit)🏃 Service Management
Start shared infrastructure with PM2:
# Start core services
pm2 start system/daemons/ecosystem.config.js
# Regenerate config after adding/removing services
pnpm gen:ecosystem
# Start individual agents
pm2 start agents/duck/ecosystem.config.jsInstall PM2 globally: pnpm add -g pm2
📚 Documentation
This repository doubles as an Obsidian vault. Enable the kanban plugin:
cp -r docs/vault-config/.obsidian docs/.obsidianKey Documentation
- Architecture:
docs/architecture/- System design and roadmaps - Process:
docs/agile/process.md- Workflow and methodology - Environment:
docs/environment-variables.md- Configuration options - Nx Workspace:
docs/nx-workspace.md- Build tooling commands
🤖 For AI Agents
The kanban system is designed for AI assistants:
- No directory navigation needed - commands work from anywhere
- Automatic path resolution - system finds config and files
- Task search capabilities - find existing work before creating new tasks
See AGENTS.md for detailed AI-specific guidelines.
📦 Package Catalog
The workspace contains 70+ packages. Each has its own README with detailed usage information. Key packages include:
| Package | Purpose |
| -------------------- | ----------------------------------------- |
| @promethean-os/kanban | Task management and workflow automation |
| @promethean-os/broker | WebSocket-based message pub/sub |
| @promethean-os/llm | LLM service with HTTP/WebSocket endpoints |
| @promethean-os/piper | Pipeline runner for automation workflows |
| @promethean-os/docops | Documentation processing and maintenance |
| @promethean-os/mcp | MCP server with composable tools |
View complete package catalog →
🔧 Automation Pipelines
Complex workflows are defined in pipelines.json. Key pipelines:
- symdocs - Generate package documentation and dependency graphs
- simtasks - Create task backlogs from code analysis
- codemods - Automated code transformations
- buildfix - Iterate on TypeScript build failures
- test-gap - Identify code without test coverage
📄 License
Promethean Framework is released under the GNU General Public License v3.
Getting Help:
- Check individual package READMEs for detailed usage
- Review
docs/agile/process.mdfor workflow questions - Use
pnpm kanban --helpfor task management commands
