OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Create a REST API for agent interactions

Open chatGPTxx opened this issue 1 year ago • 3 comments

What problem or use case are you trying to solve?

Do you have plan to expose main features as API endpoints? So that we can easier integrate with other applications

Describe the UX of the solution you'd like

No UI

Do you have thoughts on the technical implementation?

Describe alternatives you've considered

Additional context

chatGPTxx avatar Apr 13 '24 10:04 chatGPTxx

What would you deem "main features" Would you mind describing what sort of integrations you're looking to build?

foragerr avatar Apr 14 '24 04:04 foragerr

@chatGPTxx you can use OpenDevin as a python package currently, and you can use the webhook API describe here: https://github.com/OpenDevin/OpenDevin/tree/main/opendevin/server

A REST API would be nice (e.g. being able to start a task, then repeatedly call POST /step to advance the agent). But that would require persistent state (i.e. a database) rather than our current in-memory setup, so it's probably a ways off

rbren avatar Apr 15 '24 06:04 rbren

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar May 16 '24 01:05 github-actions[bot]

This issue was closed because it has been stalled for over 30 days with no activity.

github-actions[bot] avatar May 24 '24 01:05 github-actions[bot]