Skip to content

Add environment setup automation and starter templates for SDK onboarding#1

Draft
Copilot wants to merge 5 commits into
mainfrom
copilot/setup-development-environment
Draft

Add environment setup automation and starter templates for SDK onboarding#1
Copilot wants to merge 5 commits into
mainfrom
copilot/setup-development-environment

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 23, 2026

New developers face 2-3 hours of manual environment configuration across multiple platforms. This adds automated setup, validation tooling, and production-ready starter templates.

Setup Automation

Scripts (scripts/)

  • setup-dev-env.sh - Automated install for Linux/macOS (gh CLI, Copilot CLI, SDK runtimes)
  • setup-dev-env.ps1 - Windows equivalent using winget
  • validate-env.sh - Validates prerequisites, versions, and authentication

Usage

bash scripts/setup-dev-env.sh  # Install everything
bash scripts/validate-env.sh   # Verify setup

Starter Templates

TypeScript (templates/typescript-quickstart/)

  • Interactive CLI with streaming responses
  • Example tools: calculator, time lookup
  • Hot reload, ESLint/Prettier configs

Python (templates/python-quickstart/)

  • Async/await patterns
  • Same example tools as TypeScript
  • Virtual environment ready

Both include working defineTool examples:

const calculator = defineTool("calculator", {
    description: "Perform basic math calculations",
    parameters: { /* ... */ },
    handler: async (args) => { /* ... */ }
});

Environment Template (templates/.env.example)

  • Copilot model configuration
  • MCP server settings
  • Tool access controls

Documentation

  • docs/environment-setup.md - Multi-platform setup guide
  • docs/troubleshooting.md - 20+ common issues with solutions
  • docs/quick-reference.md - Command cheatsheet
  • Updated main README and getting-started guide with setup links

Coverage

  • Platforms: Windows, macOS, Linux
  • SDKs: TypeScript, Python (templates); Go, .NET (documented)
  • Reduces setup time: 2-3 hours → <15 minutes
Original prompt

set up the environment for developing and agentic app using the co-pilot SDK and all of its features


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 4 commits January 23, 2026 01:21
- Add environment setup documentation
- Add automated setup scripts for Linux/macOS and Windows
- Add environment variable templates
- Add TypeScript and Python quickstart templates
- Add environment validation script
- Update main README with setup links

Co-authored-by: CreativeSystemsDevelopment <225495769+CreativeSystemsDevelopment@users.noreply.github.com>
- Add comprehensive troubleshooting guide
- Add quick reference guide with common commands
- Add README for scripts directory
- Update environment setup to link troubleshooting
- Update getting started with setup links

Co-authored-by: CreativeSystemsDevelopment <225495769+CreativeSystemsDevelopment@users.noreply.github.com>
Co-authored-by: CreativeSystemsDevelopment <225495769+CreativeSystemsDevelopment@users.noreply.github.com>
Co-authored-by: CreativeSystemsDevelopment <225495769+CreativeSystemsDevelopment@users.noreply.github.com>
Copilot AI changed the title [WIP] Set up environment for developing agentic app with co-pilot SDK Add environment setup automation and starter templates for SDK onboarding Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants