How phyagentos/phyagentos-core works
PhyAgentOS is an embodied-agent runtime: user requests reach a model-backed agent, which can plan physical actions through an installed Skill’s Forge runtime; task outcomes are verified and verified experience can improve later Skills and Lessons. The graph includes the documented provider, channel, Skill Runtime, verification, experience, and governed-interaction capabilities. Some subsystems are unsampled, so their internal links are omitted rather than inferred; dashed links mark documented product-level relationships whose specific caller is not shown.
Main entry points: task.py Agent task · loop.py Agent loop · service.py Verification service · manager.py Runtime lifecycle
Components 25
Interfaces and models
- Chat channels
PhyAgentOS/channels/manager.py - Message bus
PhyAgentOS/bus/queue.py - CLI commands
PhyAgentOS/cli/commands.py - Configuration
PhyAgentOS/config/schema.py - Provider management
PhyAgentOS/providers/service.py - Model providers
PhyAgentOS/providers/litellm_provider.py
Agent and experience
- Agent loop
PhyAgentOS/agent/loop.py - Agent context
PhyAgentOS/agent/context.py - Skill selection
PhyAgentOS/agent/skills.py - Experience evolution
PhyAgentOS/agent/experience/evolution.py - Experience store
PhyAgentOS/agent/experience/store.py
Forge execution
- Agent task
PhyAgentOS/forge/task.py - Forge binding
PhyAgentOS/forge/binding.py - Forge tool API
PhyAgentOS/agent/tools/forge_tool_api.py - Interaction governance
PhyAgentOS/forge/interaction/service.py - Forge interaction client
PhyAgentOS/forge/interaction/client.py
Skill Runtime
- Runtime lifecycle
PhyAgentOS/skill_runtime/manager.py - Skill installer
PhyAgentOS/skill_runtime/installer.py - Skill catalog
PhyAgentOS/skill_runtime/catalog.py
Verification and governance
- Verification service
PhyAgentOS/verification/service.py - Verification engine
PhyAgentOS/verification/engine.py - Session verifier
PhyAgentOS/agent/session_verifier.py - Governed runner
PhyAgentOS/agent/interaction/runner.py - Verified experience
PhyAgentOS/agent/experience/coordinator.py
Other components
- User
Connections 27
- User → Chat channels: sends message
README.md - Chat channels → Message bus: queues messages
PhyAgentOS/channels/manager.py - User → CLI commands: submits request
README.md - CLI commands → Agent loop: invokes
PhyAgentOS/cli/commands.py - Message bus → Agent loop: dispatches
- Configuration → Provider management: configures
PhyAgentOS/providers/service.py - Provider management → Model providers: creates
PhyAgentOS/providers/service.py - Agent loop → Provider management: requests model
README.md - Agent context → Skill selection: loads skills
PhyAgentOS/agent/context.py - Agent loop → Agent task: plans tasks
README.md - Agent task → Forge binding: resolves binding
PhyAgentOS/forge/task.py - Agent task → Forge tool API: dispatches actions
README.md - Agent task → Interaction governance: checks governance
PhyAgentOS/forge/task.py - Interaction governance → Forge interaction client: creates client
PhyAgentOS/forge/interaction/service.py - Forge interaction client → Agent task: starts session
PhyAgentOS/forge/interaction/client.py - Runtime lifecycle → Skill catalog: loads manifests
PhyAgentOS/skill_runtime/manager.py - Runtime lifecycle → Skill installer: manages installs
PhyAgentOS/skill_runtime/manager.py - Skill selection → Runtime lifecycle: uses runtime
README.md - Agent task → Verification service: verifies outcome
README.md - Verification service → Verification engine: requests evaluation
PhyAgentOS/verification/service.py - Verification engine → Model providers: requests completion
PhyAgentOS/verification/engine.py - Session verifier → Verification service: uses verification
PhyAgentOS/agent/session_verifier.py - Governed runner → Interaction governance: coordinates
PhyAgentOS/forge/interaction/service.py - Agent task → Session verifier: checks session
PhyAgentOS/agent/session_verifier.py - Verified experience → Experience evolution: evolves lessons
README.md - Experience evolution → Experience store: persists experience
PhyAgentOS/agent/experience/evolution.py - Verification service → Verified experience: feeds verified outcomes
README.md