How dushu2006/arise_cc works
ARISE is an AI-powered automation platform exposed through a FastAPI runtime. The main workflow is an API request entering a domain endpoint, then being handled by task orchestration and execution, with model routing or other domain services supporting the operation. The repository also includes memory, policy, voice, automation, agent, security, and event capabilities. Several of these are represented by their tree paths and documented imports, but their detailed runtime wiring was not excerpted; those links are omitted where evidence is insufficient.
Main entry points: main.py FastAPI Runtime · task_engine/engine.py Task Engine · models/engine.py Model Router · bus.py Event Bus
Components 24
Runtime API
- FastAPI Runtime
core/runtime/main.py - Task API
core/runtime/api/tasks.py - Domain APIs
core/runtime/api - Voice API
core/runtime/api/voice.py - Automation API
core/runtime/api/automation.py - Agent API
core/runtime/api/agents.py
Task Execution
- Task Engine
core/task_engine/engine.py - Task Queue
core/task_engine/queue.py - Task Checkpoints
core/task_engine/checkpoint.py - Task Executor
core/task_engine/executor.py - Task Kinds
core/task_engine/kinds/__init__.py
AI Services
- Model Router
core/models/engine.py - Model Providers
core/models/providers - Policy Engine
core/policy_engine/engine.py - Memory Services
core/memory
Events and State
- Event Bus
core/events/bus.py - Event Handlers
core/events/handlers.py - Event Projections
core/events/projections.py - Event Store
core/events/store.py - Database Layer
core/database/base.py
Security and Operations
- Configuration
core/config - Security Services
core/security - Error Handling
core/errors
Other components
- API Client
Connections 24
- API Client → FastAPI Runtime: sends requests
core/runtime/main.py - FastAPI Runtime → Task API: routes to
core/runtime/main.py - FastAPI Runtime → Domain APIs: registers routes
core/runtime/main.py - FastAPI Runtime → Database Layer: initializes
core/runtime/main.py - FastAPI Runtime → Event Store: initializes
core/runtime/main.py - FastAPI Runtime → Event Bus: starts workers
core/runtime/main.py - Task API → Task Engine: submits tasks
core/runtime/api/tasks.py - Task Engine → Task Queue: delegates queueing
core/task_engine/engine.py - Task Engine → Task Checkpoints: initializes checkpoints
core/task_engine/engine.py - Task Engine → Task Executor: dispatches execution
core/task_engine/engine.py - Task Engine → Task Kinds: uses task kinds
core/task_engine/engine.py - Task Executor → Task Kinds: uses definitions
core/task_engine/kinds/__init__.py - Model Router → Model Providers: selects providers
core/models/engine.py - Memory Services → Database Layer: reads and writes
core/memory/store.py - Memory Services → Model Router: uses models
core/memory/consolidation.py - Event Handlers → Event Bus: subscribes
core/events/handlers.py - Event Projections → Event Store: reads events
core/events/projections.py - Event Bus → Event Store: persists events
- Configuration → Model Router: configures routing
core/models/engine.py - Security Services → Database Layer: uses persistence
core/security/audit.py - Error Handling → FastAPI Runtime: formats HTTP errors
core/runtime/main.py - FastAPI Runtime → Voice API: registers routes
core/runtime/main.py - FastAPI Runtime → Automation API: registers routes
core/runtime/main.py - FastAPI Runtime → Agent API: registers routes
core/runtime/main.py