Skip to content

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

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

Labels

pythonUsage: [Issues, PRs], Target: PythonskillsUsage: [Issues, PRs], Target: skills related features

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions