Skip to content

0.10.0

Compare
Choose a tag to compare
@daavoo daavoo released this 25 Apr 15:09
· 18 commits to main since this release
5768f9a

What's Changed

  • feat: Support **kwargs in AnyAgent.run method. by @daavoo in #159
from any_agent import AgentConfig, AnyAgent, TracingConfig
from any_agent.tools import search_web, visit_webpage

agent = AnyAgent.create(
    "openai",
    AgentConfig(
        model_id="gpt-4.1-nano",
        instructions="Use the tools to find an answer",
        tools=[search_web, visit_webpage]
    ),
    tracing=TracingConfig(output_dir="traces") 
)

# Or any other args in https://openai.github.io/openai-agents-python/ref/run/#agents.run.Runner.run
agent.run("Which Agent Framework is the best??", max_turns=5)
  • feat(tracing): Add cost_info option. by @daavoo in #154

Can be disabled with TracingConfig(cost_info=False).

437377810-c6e5b73d-9520-4749-97b2-0e18b1ea80c7

  • Filter MCP Tools and write a unit test to check it by @njbrake in #152
  • chore: Enable and fix pydocstyle (D) rules. by @daavoo in #157
  • Implement an SSE Fixture and split mcp tests into their own files by @njbrake in #158
  • Minor contributing doc changes by @javiermtorres in #161

New Contributors

Full Changelog: 0.9.0...0.10.0