How tomeetadx/tomeet_backend works
TOMEET is a long-lived social agent: people build context through conversation and multimodal inputs, express social intent, get matched into an expanding activity room, then provide feedback that informs later understanding. The API and channel workers connect users to queued intelligence work; the intelligence worker uses agent context, model/search capabilities, and persisted domain state. The README documents additional memory, matching, room, and relationship-chain capabilities whose detailed wiring is not shown in the sampled source, so only documented connections are included.
Main entry points: src/index.ts Intelligence worker · app.ts Web API · src/index.ts iLink worker · hosted-llm.ts Hosted intelligence
Components 25
User entry
- Web API
apps/api/src/app.ts - API runtime
apps/api/src/server.ts - iLink worker
apps/wechat-ilink-worker/src/index.ts - iLink client
packages/wechat-ilink/src/client.ts - TOMEET channel client
apps/wechat-ilink-worker/src/tomeet-client.ts
Agent intelligence
- Intelligence worker
apps/intelligence-worker/src/index.ts - Agent context
packages/agent-core/src/context.ts - Hosted intelligence
packages/intelligence/src/hosted-llm.ts - Web search
packages/intelligence/src/web-search.ts - Domain contracts
packages/contracts/src/index.ts
Social lifecycle
- User model
packages/user-model/src/index.ts - Matchmaking
packages/matchmaking/src/index.ts - Game catalog
packages/game-catalog/src/index.ts - Rooms and activities
packages/room/src/index.ts - Feedback
packages/feedback/src/index.ts - Relationship worker
apps/relationship-worker/src/index.ts
Persistence
- Data access
packages/data/src/index.ts - Supabase store
packages/data/src/supabase-store.ts
External services
- Supabase
- Hosted LLM
- Tavily
- Injective EVM
Other components
- User
- Web client
Connections 25
- User → Web client: sends requests
- Web client → Web API: calls API
- User → WeChat: sends messages
- WeChat → iLink worker: delivers updates
- iLink worker → iLink client: polls and sends
- iLink worker → TOMEET channel client: forwards turns
- TOMEET channel client → Web API: submits agent work
- API runtime → Web API: builds
- Web API → Data access: reads and writes
- Intelligence worker → Data access: claims and updates jobs
- Data access → Supabase store: selects backend
- Supabase store → Supabase: persists state
- Intelligence worker → Agent context: assembles context
- Intelligence worker → Hosted intelligence: requests intelligence
- Hosted intelligence → Hosted LLM: calls model
- Hosted intelligence → Web search: prepares search evidence
- Web search → Tavily: searches
- Intelligence worker → User model: updates understanding
- Intelligence worker → Matchmaking: requests selection
- Intelligence worker → Game catalog: supplies activity options
- Intelligence worker → Rooms and activities: executes room actions
- Intelligence worker → Feedback: processes feedback
- Intelligence worker → Domain contracts: validates job data
- Relationship worker → Supabase store: processes relationship state
- Relationship worker → Injective EVM: anchors and revokes proofs