Skip to content

API Reference

This section provides comprehensive documentation for the SkinFlow API.

📖 API Documentation

Core Framework

  • Framework API - Main framework classes and methods
  • Agent API - Agent system and multi-agent coordination
  • Tool API - Tool system and custom tool development
  • Memory API - Memory management and storage systems

🚀 Getting Started

If you're new to SkinFlow, we recommend starting with:

  1. Read the Guide to understand the concepts
  2. Check the Examples for practical implementations
  3. Browse the Framework API for core functionality

🔧 Quick Reference

Creating a Framework Instance

javascript
import { createMultiAgentFramework } from 'skingflow'

const framework = await createMultiAgentFramework({
  llm: {
    provider: 'openai',
    apiKey: process.env.OPENAI_API_KEY,
    model: 'gpt-4'
  },
  memory: {
    storage: {
      type: 'memory'
    }
  }
})

Processing Requests

javascript
const result = await framework.processRequest(
  "Your request here",
  { userId: 'user123' }
)

📚 Additional Resources

Released under the MIT License.