How bikrammondal5/orbyteai works
OrbyteAI is an AI-agent orchestration platform with a Next.js product UI and API, MongoDB-backed user and agent management, and an Express runtime for agent chat and tools. The principal workflow is to configure an agent, persist it, select it in the sandbox, and send prompts through the backend chat pipeline for persona-aware responses with memory and optional tools. The README also advertises web search, file analysis, voice, image and video generation, and safety controls. Some backend modules were not sampled; those links are shown only where the README or SOURCE INDEX supports them.
Main entry points: chat.js Chat and Search Routes · agents/route.ts Agent API · signup/route.ts Auth Routes · ai.js Agent AI Runtime
Components 26
Product UI
- Agent Studio
app/create-agent/page.tsx - Agent Sandbox
app/sandbox/page.tsx - Agent Dashboard
app/dashboard/page.tsx
Identity and Data
- Agent API
app/api/agents/route.ts - Forge API
app/api/forge-agent/route.ts - Auth Context
contexts/AuthContext.tsx - Auth Routes
app/api/auth/signup/route.ts - Token and Password Auth
lib/auth.ts - MongoDB Connection
lib/mongodb.ts - Agent Records
models/Agent.ts - User Records
models/User.ts - API Key Records
models/ApiKey.ts
Agent Runtime
- Express Server
personaforge-backend/server.js - Agent Forge Route
personaforge-backend/routes/forge.js - Chat and Search Routes
personaforge-backend/routes/chat.js - Conversation Memory
personaforge-backend/services/memory.js - Persona Prompt Builder
personaforge-backend/services/promptBuilder.js - Agent AI Runtime
personaforge-backend/services/ai.js - Safety Guardrails
personaforge-backend/services/guardrails.js
Tools and Generation
- MCP Tool Bridge
personaforge-backend/services/mcpBridge.js - File Intelligence
personaforge-backend/services/readFileTool.js - Web Search
personaforge-backend/services/searchAgent.js - External Toolsets
personaforge-backend/services - Image Generation
app/api/image-generation/route.ts - Video Generation
app/api/video-generation/route.ts
Other components
- Developer
Connections 28
- Developer → Agent Studio: configures agent
- Agent Studio → Forge API: requests generation
- Developer → Agent Dashboard: manages agents
- Agent Dashboard → Agent API: loads agents
- Agent API → MongoDB Connection: connects database
app/api/agents/route.ts - Agent API → Agent Records: creates and reads
app/api/agents/route.ts - Agent API → User Records: checks user
app/api/agents/route.ts - Developer → Agent Sandbox: tests agent
- Agent Sandbox → Express Server: sends prompts
- Express Server → Chat and Search Routes: routes /v1
personaforge-backend/server.js - Express Server → Agent Forge Route: routes /forge
personaforge-backend/server.js - Chat and Search Routes → Conversation Memory: loads and saves history
personaforge-backend/routes/chat.js - Chat and Search Routes → Persona Prompt Builder: builds persona prompt
personaforge-backend/routes/chat.js - Chat and Search Routes → Agent AI Runtime: requests response
personaforge-backend/routes/chat.js - Chat and Search Routes → File Intelligence: reads attachments
personaforge-backend/routes/chat.js - Chat and Search Routes → Web Search: dispatches search
personaforge-backend/routes/chat.js - Agent AI Runtime → MCP Tool Bridge: loads MCP tools
personaforge-backend/services/ai.js - Agent AI Runtime → External Toolsets: loads integrations
personaforge-backend/services/ai.js - Agent AI Runtime → File Intelligence: uses file tool
personaforge-backend/services/ai.js - Chat and Search Routes → Safety Guardrails: applies safeguards
- Developer → Auth Context: signs in
- Auth Context → Auth Routes: signs up
contexts/AuthContext.tsx - Auth Routes → Token and Password Auth: hashes credentials
app/api/auth/signup/route.ts - Auth Routes → MongoDB Connection: connects database
app/api/auth/signup/route.ts - Auth Routes → User Records: stores user
app/api/auth/signup/route.ts - Developer → API Key Records: manages API keys
- Developer → Image Generation: requests images
- Developer → Video Generation: requests videos