For Python Developers

Supercharge Your LangChain Agents

Give your autonomous agents production-ready resume screening capabilities. Protect your context windows, ensure atomic billing, and receive perfectly structured Pydantic models.

Terminal
pip install hiresquire langchain-openai

Why HireSquire for LangChain?

Context Window Protection

Feeding 5-page PDFs to GPT models drains tokens and causes hallucination. HireSquire processes resumes outside the context window and returns dense, relevant JSON.

Native Tool Integration

Designed specifically for agentic workflows. Use our pre-built @tool functions to instantly give your LangChain or CrewAI agents screening powers.

Atomic Billing Limits

Agents looping indefinitely can cost a fortune. Our Agent API Keys have strict daily spend limits. If your agent goes rogue, it hits a 402 error before draining your wallet.

The HireSquire Python SDK

Our Python SDK is built for async workflows. Submit a batch of resumes, let your agent perform other tasks, and fetch the results when they're ready.

from langchain.tools import tool
from hiresquire import HireSquire

@tool
def screen_resumes(job_title: str, resumes: list) -> dict:
    """Screen candidate resumes."""
    client = HireSquire("hs_agent_key...")
    
    # Non-blocking async submission
    job = client.jobs.create(
        title=job_title,
        description="...",
        resumes=resumes
    )
    
    # Wait for completion and get structured JSON
    return client.jobs.wait(job["job_id"])