How mansityagi130/teamcenter_ai works
Teamcenter AI Copilot is a conversational PLM assistant with a React interface, FastAPI backend, MCP tool gateway, and SQLite-backed services. The primary workflow is a user request through the Copilot into backend routing and, for Teamcenter operations, MCP or Teamcenter APIs; the system returns results to the interface. Separate product branches provide search, property and API discovery, administration, health, and observability. Several relationships are documented in the README or SOURCE INDEX; unsampled implementations are represented only at supported paths.
Main entry points: backend.py FastAPI application · api.ts Authenticated API client · App.tsx Application routing · tc_api_client.py Teamcenter API client
Components 23
User interface
- Application routing
frontend_src/src/App.tsx - AI Copilot
frontend_src/src/components/Copilot.tsx - Advanced search
frontend_src/src/components/AdvancedSearchPage.tsx - Teamcenter command center
frontend_src/src/components/TeamcenterCommandCenter.tsx - Authenticated workspace
frontend_src/src/components/Layout.tsx - MCP tool explorer
frontend_src/src/components/McpToolExplorer.tsx - Health dashboard
frontend_src/src/components/TeamcenterHealthDashboard.tsx - Settings and access
frontend_src/src/components/Settings.tsx - Authenticated API client
frontend_src/src/api.ts
Backend API
- FastAPI application
backend.py - API catalog
backend/teamcenter/api_catalog/service.py - Dynamic endpoint execution
backend/teamcenter/dynamic_executor/service.py
PLM operations
- Search engine
backend/teamcenter/search_engine/service.py - Metadata discovery
backend/teamcenter/metadata/service.py - Property service
backend/teamcenter/property_service/service.py - Slot-filling workflows
workflow.py - Teamcenter API client
tc_api_client.py
AI and MCP
- MCP administration routes
backend/teamcenter/mcp_explorer/router.py - FastMCP tool server
mcp_server.py
Data and monitoring
- SQLite PLM store
services/database.py - Demo response simulation
services/demo.py - Request and activity logs
services/observability.py
Other components
- Engineer or administrator
Connections 28
- Engineer or administrator → Application routing: uses
- Application routing → AI Copilot: routes to
frontend_src/src/App.tsx - Application routing → Advanced search: routes to
frontend_src/src/App.tsx - Application routing → Teamcenter command center: routes to
frontend_src/src/App.tsx - Application routing → Authenticated workspace: renders
frontend_src/src/App.tsx - AI Copilot → Authenticated API client: requests through
- Advanced search → Authenticated API client: requests through
frontend_src/src/components/AdvancedSearchPage.tsx - Teamcenter command center → Authenticated API client: requests through
frontend_src/src/components/TeamcenterCommandCenter.tsx - MCP tool explorer → Authenticated API client: requests through
- Health dashboard → Authenticated API client: requests through
- Settings and access → Authenticated API client: requests through
- Authenticated API client → FastAPI application: sends HTTP
- FastAPI application → SQLite PLM store: reads and writes
backend.py - FastAPI application → Slot-filling workflows: dispatches workflows
backend.py - FastAPI application → API catalog: routes catalog requests
backend.py - FastAPI application → Dynamic endpoint execution: routes dynamic calls
backend.py - FastAPI application → Search engine: routes searches
backend.py - FastAPI application → Metadata discovery: routes metadata requests
backend.py - FastAPI application → Property service: routes property requests
backend.py - FastAPI application → MCP administration routes: routes MCP admin
backend.py - MCP administration routes → FastMCP tool server: lists and invokes tools
backend/teamcenter/mcp_explorer/router.py - FastMCP tool server → Teamcenter API client: uses client
mcp_server.py - Teamcenter API client → Demo response simulation: matches mock responses
tc_api_client.py - Teamcenter API client → Request and activity logs: logs requests
tc_api_client.py - Request and activity logs → SQLite PLM store: stores log records
services/observability.py - Slot-filling workflows → SQLite PLM store: reads and writes
workflow.py - FastAPI application → Request and activity logs: records requests
backend.py - FastAPI application → FastMCP tool server: uses MCP tools