Prerequisites
- A terminal (macOS Terminal, iTerm2, Windows Terminal, WSL)
- Internet connection for installation and API calls
- An API key for your preferred AI provider (or use SynapseX built-in credentials)
Step-by-Step Guide
Configure Your Provider and API Key
Run the interactive configuration wizard:You will be prompted to select a provider:Then enter your API key for the selected provider, or press Enter to use
SynapseX built-in credentials (requires a SynapseX account).Finally, select your default model:
Start a Session
Launch an interactive chat session in your terminal:You will enter the SynapseX interactive REPL where you can type queries
and receive responses in real time. Use
exit or Ctrl+C to end the session.Ask Your First Question
In the interactive session (or directly from the command line), ask a question:SynapseX will read the relevant files in your current directory and respond
with a detailed, context-aware answer.
Create Your First Project
Navigate to a new directory and ask SynapseX to create a project:SynapseX will generate all files, install dependencies, and configure the project
for immediate use.
Request Code Improvements
Ask SynapseX to improve existing code:SynapseX will read the current files and apply targeted improvements while
preserving your existing logic and structure.
Debug an Error
Paste an error or describe a problem:SynapseX will locate the error, trace the cause, and apply the fix with an explanation.
Essential Commands
| Command | Description |
|---|---|
synapsex session | Start an interactive REPL session |
synapsex configure | Set up or update provider and API key |
synapsex "query" | Run a single query in the current directory |
synapsex project | Manage the current project context |
synapsex projects | List all saved project contexts |
synapsex run <script> | Run a project script with AI assistance |
synapsex info | Display current configuration and version |
synapsex update | Update the CLI to the latest version |
synapsex /multi-agent | Spawn parallel sub-agents for complex tasks |
synapsex /search | Run a web-augmented query |
synapsex /cli | Execute a background CLI task (from VS Code Agent) |
Provider Configuration Reference
SynapseX (Recommended)
No external API key needed. Uses SynapseX’s managed inference infrastructure:Anthropic Claude
OpenAI / Codex
Google Gemini
Multiple Providers
Configure multiple providers and switch between them:Next Steps
Key Features
Explore all CLI capabilities
Common Use Cases
Real-world project examples
VS Code Agent
Use SynapseX inside VS Code
API Reference
Integrate SynapseX programmatically