Skip to content

Python: [Feature]: Run argument skills support #5812

@supraano

Description

@supraano

Description

Scope

Currently, it is possible to specify tools that are only available for a specific agent run loop. It is desired that for skills this is also supported.

Why is this useful?

  • For mode switches: Agentic applications could have different operating modes with more or less skills available
  • Permissions and user management: Agentic applications should expose skills only to specific users

Code Sample

@tool(...)
def get_weather(...):
    ...

agent = Agent(...)
agent.run(messages="Whats the weather like in NY?", tools=[get_wheather]) # this is already supported
agent.run(messages="Whats the wheather like in NY?", skills=[...]) # this is the added behavior

Language/SDK

Python

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions