{"id":30194041,"url":"https://github.com/copilotkit/with-langgraph-python","last_synced_at":"2025-08-13T02:08:54.593Z","repository":{"id":302699520,"uuid":"1006752695","full_name":"CopilotKit/with-langgraph-python","owner":"CopilotKit","description":"CopilotKit utilizing LangGraph with Python","archived":false,"fork":false,"pushed_at":"2025-07-22T22:15:37.000Z","size":32,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-23T00:17:53.119Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CopilotKit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-22T23:41:32.000Z","updated_at":"2025-07-22T22:15:41.000Z","dependencies_parsed_at":"2025-07-03T19:44:30.430Z","dependency_job_id":"2a1fa8af-e2df-4e91-9c9b-bbcaa20a643e","html_url":"https://github.com/CopilotKit/with-langgraph-python","commit_stats":null,"previous_names":["copilotkit/with-langgraph-python"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/CopilotKit/with-langgraph-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CopilotKit%2Fwith-langgraph-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CopilotKit%2Fwith-langgraph-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CopilotKit%2Fwith-langgraph-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CopilotKit%2Fwith-langgraph-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CopilotKit","download_url":"https://codeload.github.com/CopilotKit/with-langgraph-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CopilotKit%2Fwith-langgraph-python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270166108,"owners_count":24538445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-13T02:08:51.646Z","updated_at":"2025-08-13T02:08:54.519Z","avatar_url":"https://github.com/CopilotKit.png","language":"TypeScript","readme":"# CopilotKit \u003c\u003e LangGraph Starter\n\nThis is a starter template for building AI agents using [LangGraph](https://www.langchain.com/langgraph) and [CopilotKit](https://copilotkit.ai). It provides a modern Next.js application with an integrated LangGraph agent to be built on top of.\n\n## Prerequisites\n\n- Node.js 18+ \n- Python 3.8+\n- Any of the following package managers:\n  - [pnpm](https://pnpm.io/installation) (recommended)\n  - npm\n  - [yarn](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable)\n  - [bun](https://bun.sh/)\n- OpenAI API Key (for the LangGraph agent)\n\n\u003e **Note:** This repository ignores lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb) to avoid conflicts between different package managers. Each developer should generate their own lock file using their preferred package manager. After that, make sure to delete it from the .gitignore.\n\n## Getting Started\n\n1. Install dependencies using your preferred package manager:\n```bash\n# Using pnpm (recommended)\npnpm install\n\n# Using npm\nnpm install\n\n# Using yarn\nyarn install\n\n# Using bun\nbun install\n```\n\n\u003e **Note:** Installing the package dependencies will also install the agent's python dependencies via the `install:agent` script.\n\n\n2. Set up your OpenAI API key:\n```bash\necho 'OPENAI_API_KEY=your-openai-api-key-here' \u003e agent/.env\n```\n\n3. Start the development server:\n```bash\n# Using pnpm\npnpm dev\n\n# Using npm\nnpm run dev\n\n# Using yarn\nyarn dev\n\n# Using bun\nbun run dev\n```\n\nThis will start both the UI and agent servers concurrently.\n\n## Available Scripts\nThe following scripts can also be run using your preferred package manager:\n- `dev` - Starts both UI and agent servers in development mode\n- `dev:debug` - Starts development servers with debug logging enabled\n- `dev:ui` - Starts only the Next.js UI server\n- `dev:agent` - Starts only the LangGraph agent server\n- `build` - Builds the Next.js application for production\n- `start` - Starts the production server\n- `lint` - Runs ESLint for code linting\n- `install:agent` - Installs Python dependencies for the agent\n\n## Documentation\n\nThe main UI component is in `src/app/page.tsx`. You can:\n- Modify the theme colors and styling\n- Add new frontend actions\n- Customize the CopilotKit sidebar appearance\n\n## 📚 Documentation\n\n- [LangGraph Documentation](https://langchain-ai.github.io/langgraph/) - Learn more about LangGraph and its features\n- [CopilotKit Documentation](https://docs.copilotkit.ai) - Explore CopilotKit's capabilities\n- [Next.js Documentation](https://nextjs.org/docs) - Learn about Next.js features and API\n- [YFinance Documentation](https://pypi.org/project/yfinance/) - Financial data tools\n\n## Contributing\n\nFeel free to submit issues and enhancement requests! This starter is designed to be easily extensible.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Troubleshooting\n\n### Agent Connection Issues\nIf you see \"I'm having trouble connecting to my tools\", make sure:\n1. The LangGraph agent is running on port 8000\n2. Your OpenAI API key is set correctly\n3. Both servers started successfully\n\n### Python Dependencies\nIf you encounter Python import errors:\n```bash\nnpm install:agent\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopilotkit%2Fwith-langgraph-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcopilotkit%2Fwith-langgraph-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopilotkit%2Fwith-langgraph-python/lists"}