Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

The Complete Agentic Tooling Platform

License

NotificationsYou must be signed in to change notification settings

picahq/pica

Repository files navigation

Pica Logo

The Complete Agentic Infrastructure

Website ·Documentation ·Community Hub ·Changelog ·X ·LinkedIn


Effortlessly build, deploy, and scale AI agents—Pica provides everything you need to power autonomousAI workflows.

Why Pica?

Pica simplifies AI agent development with our four core products:

✅ OneTool – A single SDK to connect AI agents to 100+ APIs and tools.
✅ AuthKit – Secure authentication for seamless tool integration.
✅ Agent (Coming Soon) – Build adaptive AI agents tailored to your needs.
✅ AgentFlow (Coming Soon) – Enable agents to collaborate and automate workflows.

Pica also provides full logging and action traceability, giving developers complete visibility into their agents' decisions and activities.

Getting started

Install

npm install @picahq/ai

Setup

  1. Create a newPica account
  2. Create a Connection via theDashboard
  3. Create anAPI key
  4. Set the API key as an environment variable:PICA_SECRET_KEY=<your-api-key>

Example Usage

Below is an example demonstrating how to integrate thePica OneTool with theVercel AI SDK for a GitHub use case:

import{openai}from"@ai-sdk/openai";import{generateText}from"ai";import{Pica}from"@picahq/ai";import*asdotenvfrom"dotenv";dotenv.config();constpica=newPica(process.env.PICA_SECRET_KEY!);asyncfunctionrunAgentTask(message:string):Promise<string>{constsystem=awaitpica.generateSystemPrompt();const{ text}=awaitgenerateText({model:openai("gpt-4o"),    system,prompt:message,tools:{ ...pica.oneTool},maxSteps:10,});returntext;}runAgentTask("Star the repo picahq/pica with github").then((text)=>{console.log(text);}).catch(console.error);

Try with Replit Badge

For more use cases, visit ourUse Cases Library or ourAwesome Pica Repository.

Next.js Integration

⭐️ You can see a full Next.js demohere

For more examples and detailed documentation, check out ourSDK documentation.


Running Pica locally

Important

The Pica dashboard is going open source! Stay tuned for the big release 🚀

Prerequisites

Step 1: Install the Pica CLI

npm install -g @picahq/cli

Step 2: Initialize the Pica CLI

To generate the configuration file, run:

pica init

Step 3: Start the Pica Server

pica start

All the inputs are required. Seeding is optional, but recommended when running the command for the first time.

Example
# To start the docker containerspica startEnter the IOS Crypto Secret (32 characters long): xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxDo you want to seed? (Y/N) y

The Pica API will be available athttp://localhost:3005 🚀

To stop the docker containers, simply run:

pica stop

License

Pica is released under theGPL-3.0 license.


[8]ページ先頭

©2009-2025 Movatter.jp