Portable AI agent framework with plugin architecture, multi-provider support, and built-in telemetry. TypeScript-strict. ~200KB gzipped.
Extensible validation system with custom agents and a secured marketplace. Rate plugins, audit scores, TLP classification.
OpenAI, Anthropic, Ollama, Msty Vibe CLI Proxy, and GitHub Copilot — unified API, zero vendor lock-in.
Track usage, costs, quality metrics, and performance automatically. No additional setup required.
Parallel and serial validation gates to enforce standards before code ships. Design token, test, and security checks.
~200KB gzipped with full tree shaking. Compare that to LangChain at 2.3MB or Vercel AI SDK at 450KB.
Config init and validation via `npx @dcyfr/ai config:init`. Bring your own YAML, JSON, or package.json config.
import { AgentRuntime, ValidationFramework, loadConfig } from '@dcyfr/ai';
// Zero-config setup — auto-detects .dcyfr.yaml
const config = await loadConfig();
// Connect to any provider
const runtime = new AgentRuntime({
provider: 'openai', // or 'anthropic', 'ollama', 'copilot'
model: 'gpt-4o',
});
const response = await runtime.chat({
messages: [{ role: 'user', content: 'Explain this codebase' }],
});
// Run quality gates before shipping
const validation = new ValidationFramework({ gates: config.validation.gates });
const report = await validation.validate({ projectRoot: '.', config: config.agents });
console.log(`Quality gates: ${report.valid ? '✓ PASS' : '✗ FAIL'}`);Route tasks automatically to the right agent using capability manifests, reputation scoring, and contract-based SLAs. Built-in security hardening with 8 CS-scenario mitigations, rate limiting, and TLP clearance enforcement.
Core AI agent framework — plugin system, multi-provider, telemetry, delegation.
CLI toolkit for AI workflows — config validation, init, and project scaffolding.
RAG library for semantic search and retrieval-augmented generation workflows.
See all packages at /open-source.
| Feature | @dcyfr/ai | LangChain | Vercel AI SDK | AutoGPT |
|---|---|---|---|---|
| Multi-Provider | ✓ | ✓ | ✓ | — |
| Plugin System | ✓ | Complex | — | — |
| Built-in Telemetry | ✓ | — | — | — |
| Quality Gates | ✓ | — | — | — |
| Zero Config | ✓ | — | ✓ | — |
| Bundle Size | ~200KB | ~2.3MB | ~450KB | N/A |
| TypeScript Strict | ✓ | Partial | ✓ | — |
| Delegation System | ✓ | — | — | — |
Full documentation is live on DeepWiki. A dedicated docs site is coming soon at docs.dcyfr.ai.