import React from 'react'; import { Terminal, Rocket, Package, GitBranch } from 'lucide-react'; const installSteps = [ { icon: Package, title: 'Install Package', command: 'npm install -g agentic-flow', description: 'Global installation for CLI access', }, { icon: Terminal, title: 'Set API Key', command: 'export ANTHROPIC_API_KEY=sk-ant-...', description: 'Configure your Claude API credentials', }, { icon: Rocket, title: 'Run Your First Agent', command: 'npx agentic-flow --agent researcher --task "Analyze trends"', description: 'Execute agents with full MCP tool access', }, { icon: GitBranch, title: 'Or Use npx', command: 'npx agentic-flow --help', description: 'No installation required, run directly', }, ]; const examples = [ { title: 'Cost-Optimized Coding', code: `npx agentic-flow \\ --agent coder \\ --task "Build REST API" \\ --optimize --priority cost`, description: 'Auto-select cheapest model for simple tasks', }, { title: 'Quality-First Review', code: `npx agentic-flow \\ --agent reviewer \\ --task "Security audit" \\ --optimize --priority quality`, description: 'Use flagship models for critical reviews', }, { title: 'AgentDB Memory', code: `npx agentdb reflexion store \\ "session-1" "implement_auth" \\ 0.95 true "Success!"`, description: 'Store agent learning experiences', }, ]; const QuickStart = () => { return (

Quick Start

Get up and running in minutes with our simple installation process

{/* Installation Steps */}
{installSteps.map((step, index) => { const Icon = step.icon; return (
Step {index + 1}

{step.title}

{step.command}

{step.description}

); })}
{/* Code Examples */}

Common Use Cases

{examples.map((example, index) => (

{example.title}

{example.description}

                    
                      {example.code}
                    
                  
))}
{/* Programmatic API */}

Programmatic API

Import Components
                
{`import { ReflexionMemory } from 'agentic-flow/agentdb';
import { ModelRouter } from 'agentic-flow/router';
import * as reasoningbank from 'agentic-flow/reasoningbank';`}
                
              
Use in Code
                
{`const router = new ModelRouter();
const response = await router.chat({
  model: 'auto', priority: 'cost'
});`}
                
              
); }; export default QuickStart;