{"id":42976333,"url":"https://github.com/dbos-inc/dbos-openai-agents","last_synced_at":"2026-02-06T04:00:38.743Z","repository":{"id":335573877,"uuid":"1146209530","full_name":"dbos-inc/dbos-openai-agents","owner":"dbos-inc","description":"Augment OpenAI Agents SDK with durable execution to help you build reliable and scalable multi-agent applications.","archived":false,"fork":false,"pushed_at":"2026-02-04T23:55:46.000Z","size":164,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-05T13:25:35.810Z","etag":null,"topics":["dbos","durable-execution","openai-agents-sdk"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/dbos-openai-agents/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbos-inc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-30T19:10:23.000Z","updated_at":"2026-02-05T00:58:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dbos-inc/dbos-openai-agents","commit_stats":null,"previous_names":["dbos-inc/dbos-openai"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/dbos-inc/dbos-openai-agents","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbos-inc%2Fdbos-openai-agents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbos-inc%2Fdbos-openai-agents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbos-inc%2Fdbos-openai-agents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbos-inc%2Fdbos-openai-agents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbos-inc","download_url":"https://codeload.github.com/dbos-inc/dbos-openai-agents/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbos-inc%2Fdbos-openai-agents/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29149572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dbos","durable-execution","openai-agents-sdk"],"created_at":"2026-01-31T01:36:26.813Z","updated_at":"2026-02-06T04:00:38.730Z","avatar_url":"https://github.com/dbos-inc.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# DBOS Durable OpenAI Agents\n\nDurable execution for the [OpenAI Agents SDK](https://github.com/openai/openai-agents-python) using [DBOS](https://github.com/dbos-inc/dbos-transact-py).\n\n## Installation\n\n```bash\npip install dbos-openai-agents\n```\n\n## Usage\n\nCall your agent using `DBOSRunner.run()` from a `@DBOS.workflow()`.\nAnnotate tool calls and guardrails with `@DBOS.step()`.\n\n```python\nimport asyncio\nfrom agents import Agent, function_tool\nfrom dbos import DBOS, DBOSConfig\nfrom dbos_openai_agents import DBOSRunner\n\n# Decorate tool calls and guardrails with @DBOS.step() for durable execution\n@function_tool\n@DBOS.step()\nasync def get_weather(city: str) -\u003e str:\n    \"\"\"Get the weather for a city.\"\"\"\n    return f\"Sunny in {city}\"\n\nagent = Agent(name=\"weather\", tools=[get_weather])\n\n# Use DBOSRunner to call your agent from a workflow\n@DBOS.workflow()\nasync def run_agent(user_input: str) -\u003e str:\n    result = await DBOSRunner.run(agent, user_input)\n    return str(result.final_output)\n\n\nasync def main():\n    output = await run_agent(\"How is the weather in San Francisco\")\n    print(output)\n\n\nif __name__ == \"__main__\":\n    config: DBOSConfig = {\n        \"name\": \"my-agent\",\n    }\n    DBOS(config=config)\n    DBOS.launch()\n    asyncio.run(main())\n```\n\n`DBOSRunner.run()` is a drop-in replacement for `Runner.run()` with the same arguments.\nIt must be called from within a `@DBOS.workflow()`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbos-inc%2Fdbos-openai-agents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbos-inc%2Fdbos-openai-agents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbos-inc%2Fdbos-openai-agents/lists"}