
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@agenttoolkit/search
Advanced tools
A TypeScript client for the Agent Toolkit Search API that enables web search and content extraction.
npm install @agenttoolkit/search
import { AgentToolkit } from "@agenttoolkit/search";
// Initialize with your API key
const atk = new AgentToolkit("your-api-key");
const results = await atk.search("typescript openapi client", {
maxResults: 5, // Default: 5
provider: "google", // Options: 'google', 'bing', 'duckduckgo'
summarize: true, // Get AI-generated summary of results
});
// Access search results
console.log(`Found ${results.results.length} results`);
console.log(`First result: ${results.results[0]?.title}`);
// Access summary if requested
if (results.summary) {
console.log(`Summary: ${results.summary}`);
}
const extracted = await atk.extract("https://example.com", {
includeImages: true, // Default: true
includeLinks: true, // Default: true
extractDepth: "advanced", // Options: 'basic', 'advanced'
});
// Access extracted content
if (extracted.results && extracted.results.length > 0) {
const content = extracted.results[0];
console.log(`Content: ${content.raw_content}`);
console.log(`Images: ${content.images?.length || 0}`);
console.log(`Links: ${content.links?.length || 0}`);
}
const credits = await atk.getCredits();
console.log(`Total credits: ${credits.total_credits}`);
console.log(`Used credits: ${credits.used_credits}`);
console.log(`Remaining: ${credits.remaining_credits}`);
// Add a response interceptor for logging or other purposes
atk.addResponseInterceptor((response) => {
console.log(`Request to ${response.url} returned status ${response.status}`);
return response;
});
For complete API documentation, see the Agent Toolkit Documentation.
MIT
FAQs
Typescript client for Agent Toolkit. https://www.agenttoolkit.ai
We found that @agenttoolkit/search demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.