detect-framework

Featured

Detect Python agent frameworks from code imports and map them to Omnigent executor types. Load when the user has existing agent code to integrate.

AI & Automation 7,829 stars 1150 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 92/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Framework Detection When the user has existing Python code they want to integrate into Omnigent, detect the framework from import statements and recommend the appropriate executor type. ## Detection Procedure 1. Ask the user for the path to their agent code (or look for Python files in the current directory if filesystem access is enabled). 2. Scan Python files for import patterns. Check in this priority order: | Import pattern | Framework | Executor type | |---------------|-----------|---------------| | `import anthropic` or `from anthropic` + agent patterns (e.g. `Agent`, `tool`, system prompt setup) | Claude SDK | `claude_sdk` | | `import openai` or `from openai` + agents patterns (e.g. `Agent`, `Runner`, `function_tool`) | OpenAI Agents SDK | `agents_sdk` | | `from langgraph` or `import langgraph` | LangGraph | Not natively supported yet | | `from deepagents` or `import deepagents` | DeepAgents | Not natively supported yet | | `from langchain` or `import langchain` | LangChain | Not natively supported yet | | `from crewai` or `import crewai` | CrewAI | Not natively supported yet | | `from autogen` or `import autogen` | AutoGen | Not natively supported yet | | None of the above | Unknown | Not natively supported yet | 3. Report what you found and recommend the executor type. ## What to generate for each executor type ### `llm` (default — no existing code) Generate a standard agent directory: ```yaml executor: type: llm # or omit entirely (llm is the defaul...

Details

Author
omnigent-ai
Repository
omnigent-ai/omnigent
Created
1 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category