- Notifications
You must be signed in to change notification settings - Fork33
The Complete Agentic Tooling Platform
License
picahq/pica
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
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.
npm install @picahq/ai
- Create a newPica account
- Create a Connection via theDashboard
- Create anAPI key
- Set the API key as an environment variable:
PICA_SECRET_KEY=<your-api-key>
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);
For more use cases, visit ourUse Cases Library or ourAwesome Pica Repository.
⭐️ You can see a full Next.js demohere
For more examples and detailed documentation, check out ourSDK documentation.
Important
The Pica dashboard is going open source! Stay tuned for the big release 🚀
npm install -g @picahq/cli
To generate the configuration file, run:
pica init
pica start
All the inputs are required. Seeding is optional, but recommended when running the command for the first time.
# 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
Pica is released under theGPL-3.0 license.
About
The Complete Agentic Tooling Platform