How sayamgada/omniagent works
OmniAgent is a web platform for turning a user’s natural-language automation request into a generated, configurable workflow/agent, then managing integrations and deployment through n8n. The main path is request entry, semantic retrieval, LLM generation, preview/configuration, compilation, and deployment. The graph also includes authentication and integration management. Some backend and frontend modules were not sampled; those relationships are included only where the README or SOURCE INDEX supports them.
Main entry points: agent_router.py Agent API · App.tsx Web app routes · main.py FastAPI application · NewAgentCreation.tsx Agent creation
Components 24
Web experience
- Web app routes
client/src/App.tsx - Sign-in and signup
client/src/pages/SignIn.tsx - Agent creation
client/src/pages/NewAgentCreation.tsx - Agent management
client/src/pages/dashboard/MyAgents.tsx - Workflow review
client/src/components/workflow/WorkflowReviewStep.tsx - Workflow preview
client/src/components/workflow/WorkflowPipelinePreview.tsx - Auth state
client/src/context/AuthContext.tsx - Integration settings
client/src/pages/dashboard/Integrations.tsx
Agent generation
- Agent API
server/app/routers/agent_router.py - Automation retrieval
server/app/services/vectorstore.py - Workflow generation
server/app/services/workflow_generator.py - LLM service
server/app/services/llm_service.py - Workflow compiler
server/app/compiler/compile.py - Preview storage
server/app/services/workflow_storage.py
Backend platform
- FastAPI application
server/app/main.py - Authentication routes
server/app/routers/auth.py - JWT and password auth
server/app/core/auth.py - User records
server/app/models/user.py - MongoDB previews
server/app/models/automation_preview_model.py
Integrations and execution
- Integration API
server/app/routers/integration_router.py - Integration service
server/app/services/integration_service.py - n8n client
server/app/services/n8n_client.py
Other components
- User
- n8n
Connections 26
- User → Web app routes: opens platform
README.md - Web app routes → Sign-in and signup: routes to
client/src/App.tsx - Web app routes → Agent creation: routes to
client/src/App.tsx - Web app routes → Agent management: routes to
client/src/App.tsx - Web app routes → Auth state: provides auth
client/src/App.tsx - User → Agent creation: describes automation
README.md - Agent creation → Agent API: submits request
- Agent API → Automation retrieval: searches automations
server/app/routers/agent_router.py - Agent API → Workflow generation: generates workflow
server/app/routers/agent_router.py - Workflow generation → LLM service: uses LLM
- Agent API → Workflow compiler: compiles workflow
server/app/routers/agent_router.py - Agent API → Preview storage: loads workflow data
server/app/routers/agent_router.py - Preview storage → MongoDB previews: writes previews
server/app/services/workflow_storage.py - Agent API → Workflow review: returns preview
- Workflow review → Workflow preview: renders pipeline
client/src/components/workflow/WorkflowReviewStep.tsx - Agent API → n8n client: creates workflow
server/app/routers/agent_router.py - n8n client → n8n: calls API
server/app/services/n8n_client.py - Integration settings → Integration API: manages connections
- Integration API → Integration service: delegates operations
server/app/routers/integration_router.py - Integration service → n8n client: uses credentials API
server/app/services/integration_service.py - Sign-in and signup → Authentication routes: authenticates
- Authentication routes → JWT and password auth: uses auth helpers
server/app/routers/auth.py - JWT and password auth → User records: queries users
server/app/core/auth.py - FastAPI application → Authentication routes: registers routes
server/app/main.py - FastAPI application → Agent API: registers routes
server/app/main.py - FastAPI application → Integration API: registers routes
server/app/main.py