F
Feynman AI

Getting Started with Feynman AI

Welcome to the Feynman AI documentation. This guide will help you get started with integrating Feynman AI into your applications and workflows.

Latest Update: Our API v2.0 is now available with improved response times and new endpoints. See the changelog for details.

What is Feynman AI?

Feynman AI is a powerful learning platform that uses artificial intelligence to help users master complex concepts through the Feynman Technique - a method of learning by teaching and simplifying concepts.

Our platform combines state-of-the-art natural language processing with educational psychology to provide immediate, personalized feedback on explanations, identify knowledge gaps, and suggest resources for improvement.

Key Features

  • Explanation Analysis: AI-powered feedback on concept explanations
  • Knowledge Gap Identification: Automatic detection of misunderstandings or incomplete knowledge
  • Learning Analytics: Track progress and mastery across different subjects
  • Resource Recommendations: Personalized suggestions for further learning
  • Multi-platform Support: Web, iOS, and Android applications with synchronized progress

Quick Start

Follow these steps to get started with Feynman AI:

  1. Sign up for a Feynman AI account
  2. Generate an API key from your dashboard
  3. Install the Feynman AI SDK for your platform
  4. Make your first API call

Installation

Install the Feynman AI SDK using npm, yarn, or pnpm:

npm install @feynman-ai/sdk

Or using yarn:

yarn add @feynman-ai/sdk

Authentication

All requests to the Feynman AI API require authentication. You'll need to include your API key in the headers of your requests.

// JavaScript example
const feynmanAI = new FeynmanAI({
  apiKey: 'your-api-key'
});

Making Your First Request

Here's a simple example of how to use the Feynman AI SDK to explain a concept:

// JavaScript example
const response = await feynmanAI.explain({
  concept: 'Quantum Computing',
  level: 'beginner'
});

console.log(response.explanation);

The same request using Python:

# Python example
from feynman_ai import FeynmanAI

client = FeynmanAI(api_key="your-api-key")

response = client.explain(
    concept="Quantum Computing",
    level="beginner"
)

print(response.explanation)

Response Format

The API returns JSON responses with a consistent structure. Here's an example response from the explain endpoint:

{
  "explanation": "Quantum computing is like having a super-powerful calculator...",
  "key_points": [
    "Quantum computers use qubits instead of bits",
    "They can process multiple possibilities simultaneously",
    "Still in early stages of development"
  ],
  "difficulty_level": "beginner",
  "related_concepts": ["superposition", "quantum entanglement", "quantum gates"],
  "request_id": "req_123456789"
}

Rate Limits

API rate limits vary by plan:

  • Free: 1,000 requests per month, max 10 requests per minute
  • Pro: 50,000 requests per month, max 60 requests per minute
  • Enterprise: Custom limits based on your needs

If you exceed your rate limit, the API will return a 429 Too Many Requests response. We recommend implementing exponential backoff in your applications to handle rate limiting gracefully.

Note: For more detailed examples and API reference, check out the specific sections in the sidebar.

Support

If you need help with the Feynman AI API, you can: