Get started in minutes
Codewalk is a hosted service for your organisation's repositories. Sign in, connect a repository, and index it — you do not need a model provider until you want reviews or the agent.
codewalk.xyz/sign-upQuick Start
Create a workspace
Sign in and your organisation is created with you as its owner. Everything below is scoped to it.
Connect a repository
Paste a public HTTPS clone URL. The repository belongs to your organisation; another tenant cannot see it.
Index it
Indexing clones, parses and embeds the repository. You watch each stage, and a failed run reports why.
Ask and search
Semantic search returns cited chunks with their distance and an overall confidence, so a weak match is visible as one.
Connect a provider key
Reviews and the agent need a model. Bring your own key: it is encrypted before storage and never returned.
Review a change
Send a ref range, the working tree, or a pasted patch. Findings come back worst-first for a human to decide on.
Interface Options
View demosWeb UI
Visual dashboard for human exploration and architecture visualization. Start with npm install in the frontend/ directory.
MCP Server
41 tools inside VS Code Copilot, Claude Code, Cursor, and Codex CLI. Configure mcp.json and type @codewalk.
REST API
35+ FastAPI endpoints for analyze, chat, search, review, docs, and voice. Base URL: http://localhost:8000
Indexing on your server. Query everywhere.
The backend is self-hostable, so the index and the review runs live on infrastructure you control. Repositories are connected by clone URL today; an App-based connection with push-triggered incremental indexing is planned, not shipped. Note that indexing and reviews do send code to the embedding and model providers the deployment is configured with — those are your accounts, and nothing is sent to us.
Because the index lives on your server, you can centralize compute for the team: one machine embeds, everyone else pulls and queries. The MCP client still runs locally, so actual code questions are answered on the user's laptop using the downloaded index.
MCP Tools
View MCP demosCodewalk exposes 41 tools through the Model Context Protocol. The AI agent (Copilot, Claude, Cursor) calls most of them automatically; a few are approval or voice steps for the human.
Setup & Query
| Tool | What it does | |
|---|---|---|
| codewalk_analyze_codebase | Scan, chunk, embed, and build the dependency graph in one call. | |
| codewalk_get_overview | Project summary, tech stack, modules, riskiest files, and dependency diagram. | |
| codewalk_search_codebase | Semantic code search. For conceptual questions, call 1-3 times with different phrasings and synthesize the chunks. | |
| codewalk_lookup_symbol | Find definitions and references of a named function, class, or method. | |
| codewalk_get_module_info | Inspect a module: files, languages, dependencies, blast radius. | |
| codewalk_explain_function | AI explanation of what a function does. | |
| codewalk_explain_class | AI explanation of what a class does. | |
| codewalk_get_blast_radius_map | Files and modules affected by changing a target file or module. | |
| codewalk_find_circular_dependencies | Detect import cycles and suggested fixes. | |
| codewalk_get_reading_order | Optimal file reading sequence via topological sort. | |
| codewalk_get_execution_flow | Module/file dependency chains and entry points. | |
| codewalk_get_architecture_health | Graph stats, bottlenecks, PageRank, cycle detection. | |
| codewalk_call_chain | Trace the shortest import path between two files. | |
| codewalk_show_knowledge_graph | Export graph data for visualization. | |
| codewalk_index_docs | Index team docs (.md, .pdf, .txt) into the vector store. | |
| codewalk_search_docs | Search indexed team docs. | |
| codewalk_ask_docs | RAG answer grounded in indexed docs with citations. |
Review & Human-in-the-Loop
| Tool | What it does | |
|---|---|---|
| codewalk_run_review | Review git diff with architecture context and security checks. | |
| codewalk_re_review | Start a fresh review that hides findings rejected in the previous session. | |
| codewalk_review_file | Run the full review pipeline on a single file. | |
| codewalk_get_stack_info | Detect language/framework stack signals. | |
| codewalk_get_review_details | Retrieve persisted findings for a review session. | |
| codewalk_load_guidelines | Load team coding standards into the review context. | |
| codewalk_apply_and_verify_fix | Apply accepted findings and run static analysis + tests in one call. | |
| codewalk_approve_action | Human-in-the-loop approval gate; returns approval token. | |
| codewalk_apply_fix | Apply a single fix using an approval token. |
Maintenance
| Tool | What it does | |
|---|---|---|
| codewalk_generate_config | Create a stack-specific codewalk.yaml with sensible excludes. | |
| codewalk_incremental_reindex | Re-embed only changed files using content hashes. | |
| codewalk_refresh_analysis | Re-scan files and rebuild graph without re-embedding. | |
| codewalk_run_static_analysis | Run ruff/mypy/eslint/etc. on given files. | |
| codewalk_run_tests | Auto-detect and run pytest/npm test/etc. for given files. |
Cloud & Voice
| Tool | What it does | |
|---|---|---|
| codewalk_pull_index | Download the latest index from your Codewalk server. | |
| codewalk_connect_repo | One-step cloud setup for a repo. | |
| codewalk_index_status | Compare local vs cloud index version. | |
| codewalk_check_version | Server health and version check. | |
| codewalk_voice_ask | Record voice, transcribe, and route to the right tool. | |
| codewalk_speak | Speak a summary aloud via text-to-speech. |
API Endpoints
View Web UI demosBase URL: http://localhost:8000 (or your deployed Codewalk server).
Analysis
| Method | Endpoint | Description | |
|---|---|---|---|
| POST | /analyze | Index a codebase. Repo discovered from cwd via codewalk.yaml. | |
| POST | /analyze/stream | Index a codebase with Server-Sent Events progress. | |
| GET | /index-status | Check whether the current workspace is indexed. |
Views, Chat & Search
| Method | Endpoint | Description | |
|---|---|---|---|
| GET | /overview | Project overview with tech stack, modules, and riskiest files. | |
| GET | /modules | List all modules. | |
| GET | /modules/{name} | Details for one module. | |
| GET | /blast-radius | Top 15 riskiest files. | |
| GET | /blast-radius/{module} | Blast radius for a module or file. | |
| GET | /reading-order | Recommended reading order via topological sort. | |
| GET | /execution-flow | Module/file dependency flow. | |
| GET | /architecture | Architecture health: centrality, cycles, bottlenecks. | |
| GET | /cycles | Circular dependencies. | |
| POST | /chat | Ask the AI agent a question. | |
| POST | /chat/stream | Streaming chat response. | |
| POST | /semantic-search | Semantic search over embedded code chunks. | |
| POST | /rag/expand-query | LLM query expansion for RAG. | |
| POST | /rag/rerank | LLM chunk reranking. | |
| POST | /rag/symbol-lookup | Symbol lookup via DuckDB. |
Review & Voice
| Method | Endpoint | Description | |
|---|---|---|---|
| POST | /review | Review git diff. Works with or without an index. | |
| POST | /review/stream | Review git diff with SSE progress. | |
| POST | /review/cancel | Cancel a running review. | |
| POST | /review/file | Review a single file. | |
| POST | /review/guidelines | Load team coding guidelines. | |
| POST | /review/apply-and-verify | Apply accepted findings + run static analysis + tests in one call. | |
| POST | /review/apply | Apply a single fix after approval. | |
| POST | /voice/ask | Voice-in, voice-out Q&A. |
Docs & Maintenance
| Method | Endpoint | Description | |
|---|---|---|---|
| POST | /docs/index | Index team docs. | |
| POST | /docs/search | Search indexed docs. | |
| POST | /docs/ask | Ask a question over indexed docs. | |
| POST | /refresh | Re-scan without re-embedding. | |
| POST | /incremental-reindex | Re-embed only changed files. | |
| POST | /tools/static-analysis | Run ruff/mypy/eslint/etc. | |
| POST | /tools/run-tests | Run pytest/npm test/etc. | |
| POST | /chat/approve | Approve or reject an interrupted agent action. | |
| POST | /research | Deep research over the codebase. | |
| GET | /version | Codewalk version and commit info. | |
| GET | /staleness | Local vs cloud index staleness. | |
| GET | /health | Health check. |
Common patterns
POST /analyze {"index_mode":"auto"}Scans files, chunks, embeds, and builds the dependency graph. On subsequent runs, auto skips unchanged work.
POST /chat {"message":"Explain auth","thread_id":"t1"}Multi-turn agent with memory. Answers cite real files and line numbers.
POST /review {}Reviews working-tree changes by default. Pass target_branch to diff against a branch. Works with or without an index.
codewalk_re_review()Starts a fresh review and hides any finding marked rejected in the previous session.
POST /refresh then POST /incremental-reindexRefresh rebuilds graph metadata without re-embedding. Incremental reindex only re-embeds changed files by content hash.