بنقرة واحدة
oxygent-framework-explorer
// Explore and understand the OxyGent framework structure, components, and implementation patterns.
// Explore and understand the OxyGent framework structure, components, and implementation patterns.
| name | OxyGent Framework Explorer |
| description | Explore and understand the OxyGent framework structure, components, and implementation patterns. |
This skill assists in navigating and understanding the OxyGent codebase. Use it when you need to investigate framework internals, discover available components, or locate relevant code sections.
The explorer offers these main functions:
The examples/ directory contains demonstration files showcasing various framework features:
ls examples/agents/
Notable demonstration files include:
demo_single_agent.py, demo_react_agent.pydemo_skill_agent.py, demo_skill_agent2.pyFor viewing any example:
cat examples/agents/demo_skill_agent.py
The core implementation resides in the oxygent/ directory:
# Core agent implementations
ls oxygent/oxy/agents/
# Skill system components
ls oxygent/oxy/skills/
# Preset tool definitions
ls oxygent/oxy/preset_tools/
To inspect specific source files:
cat oxygent/oxy/agents/skill_agent.py
Use grep to locate definitions and patterns:
grep -r "class SkillAgent" oxygent/ --include="*.py"
grep -r "def query" oxygent/ --include="*.py"
When investigating OxyGent-related questions:
| Purpose | Command |
|---|---|
| List agent examples | ls examples/agents/ |
| View a source file | cat oxygent/oxy/agents/<name>.py |
| Search class definitions | grep -r "class <Name>" oxygent/ --include="*.py" |
| Explore directory tree | tree -L 2 oxygent/oxy/ |
README.mddocs/ directoryconfig.json