Skip to content

Filesystem Skill

Alpha Software Notice

This skill is in alpha stage and under active development. APIs, features, and functionality may change without notice. Use with caution in production environments and expect potential breaking changes in future releases.

Status: Under construction – implementation is in progress. The API below is illustrative and may change.

Features

  • Read/write files
  • List directories
  • File metadata access

Planned usage: Add Filesystem Skill to an Agent

from webagents.agents import BaseAgent
# from webagents.agents.skills.ecosystem.filesystem import FilesystemSkill  # coming soon

agent = BaseAgent(
    name="fs-agent",
    model="openai/gpt-4o",
    skills={
        # "filesystem": FilesystemSkill({})  # coming soon
    }
)

Planned usage: Use Filesystem Tool in a Skill

from webagents.agents.skills import Skill, tool  # example pattern

class FileOpsSkill(Skill):  # illustrative
    @tool
    async def read_file(self, path: str) -> str:
        """Read a file from the filesystem"""
        # return await self.agent.skills["filesystem"].read_file(path)
        raise NotImplementedError("filesystem skill integration coming soon")

Implementation: Under construction in webagents/agents/skills/ecosystem/filesystem/.