Skip to content

[Integration] framerslab/agentos - You.com provider integration #133

Description

@mouse-value-add

Target Repository URL

https://github.com/framerslab/agentos

Why this repo was selected

  • Perfect star range: 605 stars (ideal mid-popular project where PRs can realistically land)
  • Excellent recent activity: Last updated 2026-07-22, very active professional team
  • Outstanding provider integration fit: Already has 11 LLM providers with clean provider abstraction - You.com fits perfectly as feat: add you.com integration entry for hajirufai/ai-agent-toolkit #12
  • TypeScript with mature architecture: Well-structured framework with extensions, tools, memory, multi-agent orchestration
  • Professional maintainers: Frame.dev company backing with Apache 2.0 license and clear contribution processes

Candidate evaluation summary

  • framerslab/agentos: SELECTED - TypeScript AI agent framework with 11 LLM providers, perfect fit for You.com MCP server provider
  • open-gitagent/gitagent: 624 stars, excellent MCP support but less natural fit than direct provider integration
  • aeonfun/aeon: 578 stars, autonomous framework but skill-based paradigm is less direct than provider system

Proposed integration type

You.com provider integration as specialized search/tool provider following the established provider pattern

Planned env vars and setup

  • Optional YDC_API_KEY for authenticated You.com Search API access
  • Falls back to keyless You.com Search API (100 free searches/day) when not provided
  • Alternative YOUCOM_API_KEY env var for legacy compatibility
  • No default behavior changes - You.com becomes an opt-in provider choice

Expected usage example

import { agent } from '@framers/agentos';

const researcher = agent({
  provider: 'youcom',
  instructions: 'You are a research assistant with access to current web information.',
});

const session = researcher.session('research-1');
await session.send('What are the latest developments in AI agent frameworks?');

Validation performed

  • ✅ TypeScript compilation successful with AgentOS codebase
  • ✅ Follows established provider patterns from existing implementations
  • ✅ YouComProvider implements full IProvider interface
  • ✅ Proper registration in AIModelProviderManager provider registry
  • ✅ Auto-detection via YDC_API_KEY and YOUCOM_API_KEY environment variables
  • ✅ Both authenticated and keyless operation modes supported
  • ✅ Comprehensive error handling and health monitoring
  • ✅ Documentation and usage examples provided

Links

Integration type implemented

You.com search provider integration as YouComProvider in AgentOS provider system

Setup/env vars

  • YDC_API_KEY: Optional API key for authenticated You.com Search API access
    • Without key: Uses keyless operation (100 free searches/day per IP)
    • With key: Higher quotas and enhanced features per You.com plan
  • YOUCOM_API_KEY: Alternative env var for legacy compatibility
  • Auto-detection integrated into AgentOS provider priority system

Usage example

The You.com provider focuses on search capabilities rather than text generation:

// Direct search access
const provider = new YouComProvider();
await provider.initialize();
const results = await provider.search('AI agent frameworks', { count: 5 });

// Agent integration
const agent = agent({ provider: 'youcom' });
await agent.session('demo').send('Research recent AI developments');

Fallback/error behavior

  • Missing API key: Uses keyless You.com Search API operation
  • Rate limits (429): Graceful error with API key upgrade suggestion
  • Network failures: Informative error messages, no silent failures
  • Invalid queries: Validation with helpful error messages
  • Health monitoring: Built-in connectivity and configuration checks
  • Maintains full backward compatibility with existing AgentOS functionality

Current status

Implementation complete and PR opened. Awaiting upstream review from AgentOS maintainers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions