PS Smart Agent - AI-Powered Autonomous Coding Assistant for VS Code

PS Smart Agent is a powerful VS Code extension that provides an autonomous AI coding assistant capable of planning, coding, debugging, and executing tasks directly in your editor. With support for multiple LLM providers including local Ollama models, OpenAI, Anthropic Claude, DeepSeek, and more, PS Smart Agent brings the power of AI-driven development to your fingertips.

Key Features

Multi-Mode Support

PS Smart Agent offers specialized modes for different development tasks:

ModeDescription
CodeEveryday coding, edits, and file operations
ArchitectPlan systems, specs, and migrations
AskFast answers, explanations, and documentation
DebugTrace issues, add logs, isolate root causes
CustomBuild specialized modes for your workflow

Multi-Provider LLM Integration

Connect to your preferred AI model provider:

  • Local Ollama Models - Run AI completely offline with models like Llama, Qwen, Mistral
  • OpenAI - GPT-4, GPT-3.5, and more
  • Anthropic - Claude 3.5 Sonnet, Claude 3 Opus
  • DeepSeek - Cost-effective coding-focused models
  • OpenRouter - Access to 100+ models through one API
  • Custom Providers - Any OpenAI-compatible API

MCP (Model Context Protocol) Integration

Extend PS Smart Agent’s capabilities with MCP servers:

  • Connect to databases, APIs, and external tools
  • Add custom tools and resources
  • Build agentic workflows with external integrations

Intelligent Workflow Automation

  • Plan/Act Loop - Autonomous problem-solving with planning
  • Checkpoint & Restore - Git-based checkpoints for safe experimentation
  • Auto-Approve Mode - Automatic approval for trusted actions
  • Codebase Indexing - Fast semantic search across your project

Installation

From VS Code Marketplace

  1. Open VS Code
  2. Press Ctrl+Shift+X to open Extensions
  3. Search for “PS Smart Agent”
  4. Click Install

From VSIX File

  1. Download the VSIX from VS Code Marketplace
  2. In VS Code, press Ctrl+Shift+P
  3. Type “Install from VSIX” and select the downloaded file
  4. Reload VS Code

Getting Started

1. Configure Your Provider

Ollama (Local - Free):

{
  "apiProvider": "ollama",
  "ollamaBaseUrl": "http://localhost:11434",
  "ollamaModelId": "llama3.2"
}

OpenAI:

{
  "apiProvider": "openai",
  "apiKey": "sk-..."
}

Anthropic Claude:

{
  "apiProvider": "anthropic",
  "apiKey": "sk-ant-..."
}

2. Choose Your Mode

Select the appropriate mode for your task:

  • Code Mode for writing and editing code
  • Architect Mode for planning and design
  • Ask Mode for quick questions
  • Debug Mode for troubleshooting

3. Start Coding with AI

Simply describe what you want to build or fix, and PS Smart Agent will:

  1. Analyze your codebase
  2. Create a plan
  3. Execute the plan step by step
  4. Show you the changes for approval

Why Choose PS Smart Agent?

Privacy First

With local Ollama models, your code never leaves your machine. Perfect for proprietary codebases and sensitive projects.

Cost Effective

Use free local models or choose cost-effective providers like DeepSeek. No subscription required.

Highly Customizable

  • Create custom modes for your workflow
  • Add MCP servers for extended capabilities
  • Configure auto-approve settings
  • Set up custom prompts and instructions

Active Development

PS Smart Agent is actively maintained with regular updates, new features, and bug fixes.

Example Use Cases

1. Code Refactoring

"Refactor this function to use async/await instead of callbacks"

2. Bug Fixing

"Find and fix the memory leak in the WebSocket handler"

3. Feature Development

"Add a REST API endpoint for user authentication with JWT tokens"

4. Documentation

"Generate comprehensive documentation for all public methods in this class"

5. Code Review

"Review this pull request and suggest improvements"

Conclusion

PS Smart Agent brings the power of autonomous AI coding to your VS Code editor. Whether you’re using local Ollama models for privacy or cloud providers for maximum capability, PS Smart Agent adapts to your workflow and helps you code faster and smarter.

Install PS Smart Agent today and experience the future of AI-assisted development!


PS Smart Agent is developed by PyShine - Building AI tools for developers.