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.
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.
- 🔌 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
- Clone the repository:
git clone https://github.com/picahq/onetool-demo.git
cd onetool-demo
- Install dependencies:
npm install
- 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 |
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser 🚀
Here are some example commands you can use to get started:
- What connections are available?
- Send an email using gmail to [email protected]
- 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
Read more about Pica OneTool in the documentation or contact us at [email protected].