Agentic tooling platform ⚡
Instant API access for your AI agent.
Auth? ✅ Schema? ✅ Network? ✅ Domain Knowledge? ✅ No hassle. 🚀
1import { openai } from "@ai-sdk/openai";
2import { generateText } from "ai";
3import { Pica } from "@picahq/ai";
4import * as dotenv from "dotenv";
5dotenv.config();
6
7const pica = new Pica(process.env.PICA_SECRET_KEY!);
8
9async function runAgentTask(message: string): Promise<string> {
10 const system = await pica.generateSystemPrompt();
11
12 const { text } = await generateText({
13 model: openai("gpt-4o"),
14 system,
15 prompt: message,
16 tools: { ...pica.oneTool },
17 maxSteps: 10,
18 });
19
20 return text;
21}
22
23runAgentTask("Star the repo picahq/pica with github")
24 .then((text) => {
25 console.log(text);
26 })
27 .catch(console.error);
28
29
30
Smarter more capable AI with Pica
Join us to build flawless AI agents.
One tool to connect AI with any API.
Handles schema definitions, authentication, and execution processes automatically.

AI that gets tools right
Pica helps AI understand how to use tools correctly. Before taking action, it checks the tool's requirements and rules - like required fields or settings.
How Pica's AI works
Smart platform understanding
Automatically checks what information and permissions each tool needs before taking action
Precise execution
Gets tasks right on the first try using comprehensive platform knowledge
Built-in compliance
Automatically follows each tool's specific requirements and limitations
Full transparency
Logs every step for complete visibility into all actions
Benefits
- Less mistakesGets things right the first time
- Faster resultsNo need to retry tasks
- Works with many toolsCompatible with popular platforms
- Unlimited tool integrationsUse 1 or 3141 tools without impacting the context size
What It Can Do
- Create contacts in Salesforce correctly
- Schedule Google Calendar events properly
- Follow your company's rules automatically
Without Pica
{ name: "John Doe", email: "john.doe@gmail.com" } Airtable Error: Database ID is required
That didn't go well, I'm going to try again...
{ name: "John Doe", email: "john.doe@gmail.com", databaseId: "leads" } Airtable Error: Could not find database with ID leads
Sorry, I couldn't save John Doe. Please check configuration
With Pica
To create a lead, we need to make a `POST` request with the databaseId and tableId in the path and the body containing the fields
{ "bases": [ { "id": "app7mK9nL4pX2YQRt", "name": "Logs", "permissionLevel": "create" }, { "id": "appK9n4mX2YQRvHt5", "name": "Leads", "permissionLevel": "create" } ] }
{ "tables": [ { "id": "tblmLfUB2t5Rhq79L", "name": "Contacts", "primaryFieldId": "fldeXxCSyutQgWj7C", "fields": [ { "type": "singleLineText", "id": "fldeXxCSyutQgWj7C", "name": "Name" }, { "type": "singleLineText", "id": "fldx7CH372KtoJhNu", "name": "Email" } ] } ] }
Found: Databases (Logs, Leads), Tables (Contacts). Proceed with Leads database and Contacts table?
{ name: "John Doe", email: "john.doe@gmail.com", databaseId: "appK9n4mX2YQRvHt5", tableId: "tblmLfUB2t5Rhq79L" }
Added John Doe to Airtable leads.
Our Visionary Roadmap
Step Into the Future with Pica
OneTool for Universal Access
A unified SDK that seamlessly connects your AI agents to every tool and API they need.
Building Modular Agents
Elevate agents into interoperable, modular tools. A network of agents working in harmony.
Autonomous Task Collaboration
Agents that coordinate and collaborate autonomously, executing tasks in real-time.
Building Tomorrow's Agent Platform
Create. Deploy. Transform.
Pica is our vision for the future of autonomous agents. We're crafting a revolutionary platform that will change how you create and deploy AI agents. From seamless server management to intelligent task orchestration, we're building the infrastructure that will make agent deployment effortless. Soon, you'll be able to scale from one agent to millions, all while maintaining perfect alignment with your goals. This is just the beginning of something extraordinary.
Frequently Asked Questions
Everything you need to know about Pica
What does "Pica" stand for?
What is a tool?
What is OneTool?
Who handles security and authentication?
How does Pica handle scaling?
How long does it take to give my agent access to OneTool?
Shape the Future of
Autonomous AI
Join Pica's Full Autonomous Agent Platform Design Partner Program
We're seeking visionary startups to help define the future of autonomous AI infrastructure. As a Design Partner, you'll work directly with our team to shape the platform that powers the next generation of AI agents. Perfect for funded startups and YC companies building at the frontier of autonomous systems.
Together, we'll architect the foundation that makes truly autonomous agents possible. From advanced orchestration to seamless scaling, we're building the infrastructure that turns ambitious AI visions into reality. This isn't just about using a platform—it's about creating one.
Design Partners receive:
- •Direct access to Pica's core engineering team
- •Exclusive 60% platform discount for 2 years
- •Priority feature development and custom integrations
- •Early Access to all products and features, including AuthKit, Agent, and AgentFlow
- •Monthly strategy sessions with our AI architecture team
- •Co-marketing opportunities and case study features