How pattty847/copenet works
CopeNet is a local operator workspace for persistent agent sessions, market research, and inspection of runtime evidence. The main workflow runs from an operator’s chat or workspace action through the UI and RPC host into orchestration, which coordinates provider calls and tools, then streams results while retaining session history and run evidence. Separate branches support market monitoring, fleet research, media ingestion, messaging, and repeatable workflow surfaces. The README documents these capabilities; sampled source confirms selected runtime behaviors, but not every subsystem’s wiring, so uncertain connections are omitted.
Main entry points: orchestrator/runtime.py Run orchestrator · rpc_routes.py RPC host · market/runtime.py Market services · tool_loop.py Provider harness
Components 24
Operator interface
- Workspace UI
src/copenet/host/frontend/src/App.tsx - RPC host
src/copenet/host/rpc_routes.py - WebSocket client
src/copenet/client.py
Agent runtime
- Run orchestrator
src/copenet/core/orchestrator/runtime.py - Provider harness
src/copenet/core/harness/tool_loop.py - Tool registry
src/copenet/core/tools/registry.py
Continuity and control
- Session history
src/copenet/core/sessions/transcript_store.py - Run evidence
src/copenet/core/observability/store.py - Persona context
src/copenet/core/persona/service.py - Access control
src/copenet/core/permissions/store.py - User memory
src/copenet/core/memory/service.py
Market research
- Market services
src/copenet/core/market/runtime.py - Market data
src/copenet/core/market/data_sources.py - Market brief
src/copenet/core/market/brief.py - Forecast ledger
src/copenet/core/market/forecasts/ledger.py - Price alerts
src/copenet/core/market/alert_engine.py
Product capabilities
- Fleet rooms
src/copenet/core/fleet/coordinator.py - Media ingestion
src/copenet/core/media/service.py - Message delivery
src/copenet/core/messaging/telegram_delivery.py - Meme Lab
src/copenet/core/meme_ideation_runtime.py - Workspace intelligence
src/copenet/core/workspace_intel/service.py
Other components
- Operator
- Model providers
- Market integrations
Connections 23
- Operator → Workspace UI: uses
- Workspace UI → RPC host: sends RPC
- WebSocket client → RPC host: sends RPC
- RPC host → Run orchestrator: dispatches runs
- Run orchestrator → Provider harness: runs turns
- Provider harness → Model providers: requests completion
- Provider harness → Tool registry: dispatches tools
- Run orchestrator → Session history: persists transcripts
- Run orchestrator → Run evidence: records runs
- Run orchestrator → Persona context: resolves context
- Run orchestrator → Access control: checks access
- RPC host → Fleet rooms: dispatches fleet actions
- RPC host → Market services: dispatches market actions
- Market services → Market data: loads market data
- Market services → Market brief: builds brief
- Market services → Forecast ledger: records forecasts
- Market services → Price alerts: evaluates alerts
- Market data → Market integrations: fetches prices
- RPC host → Media ingestion: dispatches imports
- RPC host → Message delivery: dispatches delivery
- RPC host → Meme Lab: dispatches ideation
- Run orchestrator → User memory: uses memory
- Run orchestrator → Workspace intelligence: uses workspace context