I know I've asked this a few times, but how are we...
# proj-sdk
w
I know I've asked this a few times, but how are we looking on the v1 local vs remote APIs?
c
wdym by local vs. remote?
is local = using code?
w
yeah local is how everything works today, remote would be using an AgentServer
c
I think we kinda finalized the initial version of these two -- check these two examples and see if it fit your expectation • https://github.com/All-Hands-AI/agent-sdk/blob/main/examples/22_hello_world_with_agent_server.py • https://github.com/All-Hands-AI/agent-sdk/blob/main/examples/23_hello_world_with_sandboxed_server.py
w
what's the difference between these two?
oh I see
What I'd like to see is an example that shows how simple the local vs remote switch is. E.g. if we assume there's an AgentServer already running somewhere, we could have
Copy code
conversation = Conversation(
            agent=agent,
            host=os.getenv("AGENT_SERVER") or None,
            callbacks=[event_callback],
            visualize=True,
        )
that seems doable right?
c
this is exactly what 22 is showing
if you compare it to 01_hello_world.py - the interface is exactly the same šŸ™‚
w
amaze
So excited
c
šŸŽ‰ šŸŽ‰ šŸŽ‰