Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Clay builds go-to-market agents with scalable infrastructure and model - OpenSmartRoute
Introduction - Clay's goal to build scalable go-to-market AI infrastructure
Clay aims to create a system that makes deploying and managing AI agents for sales and marketing easier. Its goal is to build a scalable infrastructure that any agent can use. This system should handle large amounts of data and many tasks efficiently. It also needs to automate model selection and improve how agents work together.
The company wants to make AI tools more accessible for growth teams. By doing this, Clay hopes to help companies find and qualify leads faster. The infrastructure should support both simple qualification tasks and complex research. This way, teams can focus on their core work instead of managing AI systems.
Company growth and recent funding - from 50 to 600 employees, $115M raised
Since its founding, Clay has grown rapidly. It started with about 50 employees and has expanded to around 600. The company has also raised significant funding, totaling $115 million. This funding was part of a Series D round that valued the company at over $7 billion.
The growth reflects increased demand for AI-driven sales tools. Clay’s expansion includes hiring more engineers and product teams. The funding supports building more advanced AI systems and infrastructure. It also helps develop new features and integrations for its platform.
Using classifiers for qualification - cost and efficiency of scoring 40 million companies
Clay uses classifiers to qualify companies at scale. These classifiers can evaluate whether a company matches a customer profile. For example, they can analyze data for millions of companies quickly and cheaply.
The company has a database of about 40 million companies. To check each one against an ideal profile costs around $1,500. This includes analyzing LinkedIn pages and other data points. Most customers qualify only a small list, but the system can handle the entire market if needed.
Using classifiers makes qualification faster and more cost-effective. It allows sales teams to focus on the best leads instead of wasting time on unlikely prospects. This approach also enables companies to start with a broader market view.
Anthropic launched Claude Ship, a set of agents that automate pull request review, fixing, and approval on GitHub. It improves review speed and quality.
Model selection and automation - how Clay plans to improve model choice for tasks
Clay recognizes that choosing the right AI model for each task is challenging. Customers often dislike having to pick models manually. To address this, Clay plans to build an automatic router that selects the best model for each request.
This router will evaluate models based on quality, cost, speed, and safety. It will assign requests to models that meet the specific needs of each task. For example, a simple qualification might use a cheaper model, while research tasks use more advanced models.
Automating model selection aims to improve efficiency and consistency. It reduces the need for users to understand complex model details. The system will learn from outcomes to improve its choices over time.
Building agents with code - from Sculptor to current coding agents on Pi harness
Clay initially built its agents using a tool called Sculptor. It was a simple system that ran tools in a loop with a system prompt. Sculptor was good at adding data but struggled with more complex tasks like booking meetings.
Later, Clay shifted to coding agents that run on the Pi harness. These agents use code in Bash and Python to perform tasks. They can access CRM data and campaign results, making them more effective. The new system runs in a cloud sandbox, which improves security and flexibility.
This change allowed Clay to build more capable agents. It also made it easier to add new features and improve existing ones. The coding approach supports more complex workflows and integrations.
Model training and costs - open-weight models and post-training for cost savings
Initially, Clay considered training its own models. However, training large models is expensive and complex. Recently, the company has started using open-weight models, which are pre-trained and open-source.
Open-weight models are much cheaper than proprietary models. Clay can also perform post-training, where it fine-tunes smaller models on specific tasks. This approach reduces costs while maintaining high performance.
Jeff Barg sees two main ways to lower AI costs. One is to replace expensive models with open-weight models. The other is to fine-tune smaller models after initial training. Both methods aim to make AI more affordable at scale.
Clay’s tech stack and scale challenges - using BullMQ, Postgres, and handling large data loads
Clay built most of its agent infrastructure using open-source tools. It uses BullMQ to manage agent jobs and keep tasks running smoothly. For data storage, it relies on Postgres and ClickHouse. For analytics, it uses Snowflake.
Handling large data loads is a key challenge. For example, running an agent on a table of 50,000 companies can cause inference demand spikes. Clay has developed ways to throttle requests and pause work when needed. This ensures system stability during heavy loads.
The company also works on fairness. It needs to ensure that workflows for large customers do not starve smaller requests. Managing these scale challenges is critical for reliable operation.
Agent management and orchestration - request throttling, fairness, and system robustness
Managing many agents requires careful orchestration. Clay has implemented request throttling to prevent overloads. It can pause and resume work based on provider capacity and rate limits.
Fairness is also important. When running workflows for many users or large datasets, the system must allocate resources fairly. Clay’s system ensures that smaller workflows still get processing time, even during peak loads.
The company also built features to handle provider failures. If a model provider goes down or limits requests, the system can pause and restart tasks later. This improves system robustness and reliability.
Future plans and practical steps - sandboxed agents, integration with Claude Code, and user control
Clay plans to release sandboxed agents that can use any of its tools and building blocks freely. These agents will work with the Clay CLI and API, making it easier for users to build and run custom workflows.
The company also aims to integrate with Claude Code, a coding environment for AI. This will allow users to run Clay agents directly from their existing tools. The goal is to give users more control and flexibility.
Clay wants users to be able to manage their agents easily. They will be able to create, test, and deploy agents in a sandbox environment. This will support more complex and customized workflows.
How OpenSmartRoute helps
Routing requests through OpenSmartRoute offers several benefits for teams building go-to-market agents. It directs each request to the best-fit model, tool, or skill from a defined catalog. This improves quality, reduces costs, and increases safety.
OpenSmartRoute scores every candidate based on quality, cost, speed, and safety. Teams can set weights for each request to prioritize what matters most. It also enforces rules to keep data on-premises or within regions, protecting privacy.
The system learns from outcomes. Better-performing models get more traffic, while less effective ones get less. Adding a new model is simple—just include it in the catalog. The platform also provides a savings ledger, showing the cost of each request compared to the most expensive model.
This setup helps teams run scalable, reliable, and cost-effective AI systems. It supports complex workflows and large data loads, making it easier to build and manage go-to-market agents at scale.
How it compares - what existed before, what this changes and what stays the same
Before Clay’s approach, most companies used off-the-shelf models from providers like OpenAI or Anthropic. They often relied on these models directly through APIs. This meant limited control over how models were selected or orchestrated.
Clay’s new system introduces an automatic model router. It chooses the best model for each task based on predefined rules. This reduces the need for users to pick models manually. It also aims to improve results by matching tasks with the most suitable models.
The existing infrastructure used tools like BullMQ for managing agent jobs. Clay built most of its agent stack in-house. It still relies on cloud providers for inference, but now it can throttle requests and handle failures better. This makes the system more reliable at scale.
What stays the same is the core idea of using AI to automate workflows. The difference is how Clay manages models and tasks. Instead of static choices, it now dynamically selects models for each job. This allows for better performance and cost control.
The shift from manual model selection to automatic routing is significant. It means less work for users and more consistent results. The infrastructure improvements ensure the system can grow without breaking down. Overall, the approach combines existing tools with new orchestration techniques to handle larger workloads and more complex workflows.
Questions this leaves open - what the source does not say and how a reader can check it
The source does not specify how the model router makes decisions. It mentions rules for different tasks but does not detail the criteria or algorithms used. Understanding the decision process is important for evaluating reliability and transparency.
It also does not say how often the router updates its rules or models. Knowing whether the system adapts in real-time or on a schedule affects how it handles changing data or new models.
The source does not explain how Clay evaluates model performance over time. It mentions scoring models but not how it tracks improvements or declines. This is key for understanding how the system maintains quality.
Another open question is how Clay plans to handle model bias or safety issues. The system selects models based on rules and performance, but it does not detail safeguards against biased outputs or unsafe behavior.
The source also does not clarify how users can influence model selection. Will they have control over rules or weights? Can they override automatic choices? These details matter for trust and customization.
To check these aspects, a reader can explore Clay’s documentation or contact their support. They can also test the system by running workflows with different tasks and observing which models are chosen. Monitoring performance metrics over time can reveal how well the router adapts and maintains quality.
Finally, understanding how Clay’s infrastructure scales with demand is important. The source mentions current tools like BullMQ and throttling features, but not how they perform under extreme loads. Testing at scale or reviewing system logs can provide insights into robustness and bottlenecks.
Google AI introduces managed ingestion and SearchDocuments features in Agent Retrieval. These allow searching PDFs, videos, and office files without custom pipelines.