{"id":24590384,"url":"https://github.com/picahq/onetool-demo","last_synced_at":"2025-04-30T07:42:43.262Z","repository":{"id":278055602,"uuid":"926826931","full_name":"picahq/onetool-demo","owner":"picahq","description":"Demo OneTool with Vercel's AI SDK","archived":false,"fork":false,"pushed_at":"2025-04-17T16:39:54.000Z","size":50765,"stargazers_count":19,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-24T13:41:10.538Z","etag":null,"topics":["ai","onetool","pica","tools","vercel"],"latest_commit_sha":null,"homepage":"https://docs.picaos.com/sdk/vercel-ai","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/picahq.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}},"created_at":"2025-02-03T23:25:16.000Z","updated_at":"2025-04-23T09:17:49.000Z","dependencies_parsed_at":"2025-02-17T19:30:33.984Z","dependency_job_id":"82fd41d7-4174-429f-ad09-733c50a66cdc","html_url":"https://github.com/picahq/onetool-demo","commit_stats":null,"previous_names":["picahq/onetool-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picahq%2Fonetool-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picahq%2Fonetool-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picahq%2Fonetool-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picahq%2Fonetool-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/picahq","download_url":"https://codeload.github.com/picahq/onetool-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251663238,"owners_count":21623863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ai","onetool","pica","tools","vercel"],"created_at":"2025-01-24T09:13:02.466Z","updated_at":"2025-04-30T07:42:43.256Z","avatar_url":"https://github.com/picahq.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pica OneTool Demo Chat App ✨\n\n![Pica OneTool in Action](demo.gif)\n\n[Pica OneTool](https://www.npmjs.com/package/@picahq/ai) is a powerful integration layer that seamlessly connects AI with any API. With automatic handling of schema definitions, authentication flows, and execution processes, it eliminates the complexity of API integrations - allowing you to focus on building great experiences.\n\n## Overview\n\nA demo chat app showcasing Pica OneTool's capabilities. Built with [@picahq/ai](https://www.npmjs.com/package/@picahq/ai) and the [Vercel AI SDK](https://www.npmjs.com/package/ai), it demonstrates how you can use natural language to interact with various APIs directly through a chat interface.\n\n## Features\n\n- 🔌 **Universal Integration**: Connect with 100+ APIs and use 6000+ actions powered by Pica\n- 🤖 **AI-Powered Assistant**: Natural language interface that understands your intent\n- 🧠 **Smart Execution**: Automatically handles prerequisite actions and complex workflows\n- 📊 **Knowledge Fetching**: Dynamically learns API capabilities and requirements\n- 🔍 **Action Observability**: View success responses and error messages\n\n## Getting Started\n\n1. **Clone the repository:**\n```bash\ngit clone https://github.com/picahq/onetool-demo.git\ncd onetool-demo\n```\n\n2. **Install dependencies:**\n```bash\nnpm install\n```\n\n3. **Create a `.env` file in the root directory from the `.env.example` file:**\n```env\nPICA_SECRET_KEY=your_secret_key\nOPENAI_API_KEY=your_openai_api_key\n```\n\n| Variable | Description | Required |\n|----------|-------------|----------|\n| `PICA_SECRET_KEY` | Your [Pica API secret key](https://app.picaos.com/settings/api-keys) | Yes |\n| `OPENAI_API_KEY` | Your OpenAI API key | Yes |\n\n4. **Run the development server:**\n```bash\nnpm run dev\n```\n\n5. **Open [http://localhost:3000](http://localhost:3000) in your browser 🚀**\n\n## Usage\n\nHere are some example commands you can use to get started:\n\n- What connections are available?\n- Send an email using gmail to john@doe.com\n- Create a new Shopify product\n- Insert a new record into my Postgres database\n- Create a record in Airtable\n- What actions are supported for Attio?\n- Search the web for the best restaurants in SF using Exa\n\n## Support\n\nRead more about Pica OneTool in the [documentation](https://docs.picaos.com/sdk/vercel-ai) or contact us at [support@picaos.com](mailto:support@picaos.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicahq%2Fonetool-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpicahq%2Fonetool-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicahq%2Fonetool-demo/lists"}