Hello, team :wave: Can you please point me to the ...
# agents
a
Hello, team 👋 Can you please point me to the documentation on how to connect the Sandbox or the Playground to a deployed hosted agent? So far I only managed to connect them to my local environment via
uv run python src/agent.py dev
... Thanks!
s
If your hosted agent has an explicit
agent_name
, edit your sandbox, and under the "Optional configuration" section, add that agent name.
a
Thank you @strong-dress-64642! Setting the agent name worked great 👍 For reference, the agent name can be set in the
run_app
function, for example:
Copy code
if __name__ == "__main__":
    cli.run_app(
        WorkerOptions(
            entrypoint_fnc=entrypoint, prewarm_fnc=prewarm, agent_name=AGENT_NAME
        )
    )
👍 1