Agent SDK Guides
Step-by-step walkthroughs for adding Pharos to your agent platform.
Start here
Agent Integration Guide
Add Pharos discovery to your agent platform. Covers search, install, connect, OAuth, and the full approval flow with Python, TypeScript, and JavaScript examples.
Quick start
The shortest path from install to a connected server. For the full breakdown (OAuth, revocation, scope checks), read the guide above.
Python
from pharos_discovery import PharosClient
client = PharosClient()
results = client.search("filesystem")
server = results[0]
client.connect_and_approve(server, capabilities=["tools"])TypeScript
import { PharosClient } from "@pharos/sdk";
const client = new PharosClient();
const results = await client.search("filesystem");
const server = results[0];
await client.connectAndApprove(server, { capabilities: ["tools"] });