Skip to content

picahq/onetool-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bd5f1e0 Β· Mar 26, 2025

History

17 Commits
Mar 21, 2025
Mar 21, 2025
Feb 17, 2025
Feb 3, 2025
Feb 3, 2025
Feb 3, 2025
Feb 3, 2025
Feb 3, 2025
Feb 26, 2025
Feb 17, 2025
Feb 26, 2025
Feb 17, 2025
Mar 26, 2025
Mar 26, 2025
Feb 20, 2025
Feb 3, 2025
Feb 20, 2025
Feb 3, 2025

Repository files navigation

Pica OneTool Demo Chat App ✨

Pica OneTool in Action

Pica OneTool 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.

Overview

A demo chat app showcasing Pica OneTool's capabilities. Built with @picahq/ai and the Vercel AI SDK, it demonstrates how you can use natural language to interact with various APIs directly through a chat interface.

Features

  • πŸ”Œ Universal Integration: Connect with 100+ APIs and use 6000+ actions powered by Pica
  • πŸ€– AI-Powered Assistant: Natural language interface that understands your intent
  • 🧠 Smart Execution: Automatically handles prerequisite actions and complex workflows
  • πŸ“Š Knowledge Fetching: Dynamically learns API capabilities and requirements
  • πŸ” Action Observability: View success responses and error messages

Getting Started

  1. Clone the repository:
git clone https://github.com/picahq/onetool-demo.git
cd onetool-demo
  1. Install dependencies:
npm install
  1. Create a .env file in the root directory from the .env.example file:
PICA_SECRET_KEY=your_secret_key
OPENAI_API_KEY=your_openai_api_key
Variable Description Required
PICA_SECRET_KEY Your Pica API secret key Yes
OPENAI_API_KEY Your OpenAI API key Yes
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 in your browser πŸš€

Usage

Here are some example commands you can use to get started:

  • What connections are available?
  • Send an email using gmail to john@doe.com
  • Create a new Shopify product
  • Insert a new record into my Postgres database
  • Create a record in Airtable
  • What actions are supported for Attio?
  • Search the web for the best restaurants in SF using Exa

Support

Read more about Pica OneTool in the documentation or contact us at support@picaos.com.