from nomos import AgentConfigfrom nomos.config import ToolsConfig, ExternalTool# These can be used directly in NOMOSconfig = AgentConfig( name="research_agent", tools=ToolsConfig( external_tools=[ ExternalTool(tag="@crewai/FileReadTool", name="read_file"), ExternalTool(tag="@crewai/WebsiteSearchTool", name="web_search", kwargs={"website": "https://example.com"}), ExternalTool(tag="@crewai/SerperDevTool", name="search_web") ] ), # ... other config))
# Example of using CrewAI tools in stepssteps = [ Step( step_id="research", description="Research information using web search and file reading", available_tools=["web_search", "read_file", "website_search"], routes=[ Route(target="analysis", condition="Research complete") ] )]
External tool integration makes NOMOS incredibly powerful by giving you access to the entire ecosystem of existing tools while maintaining the structure and auditability that makes NOMOS unique.