{"id":36445697,"url":"https://github.com/papercomputeco/openai","last_synced_at":"2026-01-11T22:42:57.369Z","repository":{"id":277469993,"uuid":"932260979","full_name":"papercomputeco/openai","owner":"papercomputeco","description":"The OpenAI provider for agent-api","archived":false,"fork":false,"pushed_at":"2025-03-20T00:33:51.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T20:42:11.379Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/papercomputeco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-02-13T16:22:32.000Z","updated_at":"2025-03-20T00:33:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"94a5a386-0085-46f6-8363-10aaf918e4e3","html_url":"https://github.com/papercomputeco/openai","commit_stats":null,"previous_names":["agent-api/openai","papercomputeco/openai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/papercomputeco/openai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papercomputeco%2Fopenai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papercomputeco%2Fopenai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papercomputeco%2Fopenai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papercomputeco%2Fopenai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/papercomputeco","download_url":"https://codeload.github.com/papercomputeco/openai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papercomputeco%2Fopenai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28326144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"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":[],"created_at":"2026-01-11T22:42:56.612Z","updated_at":"2026-01-11T22:42:57.363Z","avatar_url":"https://github.com/papercomputeco.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAI `agent-api` provider\n\nThe OpenAI provider for `agent-api`\n\n---\n\n👷🏗️ The OpenAI provider is a work in progress and the API may change unexpectedly.\n\n# Usage\n\n```go\n// Create an openai provider\nprovider := openai.NewProvider(\u0026openai.ProviderOpts{})\nprovider.UseModel(ctx, gpt4o.GPT4_O)\n\n// Create a new agent-api agent with openai\nmyAgent := agent.NewAgent(\u0026agent.NewAgentConfig{\n\tProvider:     provider,\n\tSystemPrompt: \"You are a helpful assistant.\",\n})\n\n// Send a message to the agent\nresponse, err := myAgent.Run(ctx, \"Why is the sky blue?\", agent.DefaultStopCondition)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpapercomputeco%2Fopenai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpapercomputeco%2Fopenai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpapercomputeco%2Fopenai/lists"}