Semantic infrastructure for AI coding agents
Project description
agentcortex
Semantic infrastructure for AI coding agents — symbol index, call graph, framework skills, MCP tools, and a live dashboard for Cursor, Claude Code, and other editors.
Install the package, then use the cortex CLI in any project.
pip install agentcortex
Requires Python 3.11+.
Quick start
In your project (not inside the agentcortex install directory):
cd /path/to/your-app
cortex init # name, port, skills, repo path
cortex add cursor # or: cortex add claude
When your editor connects Cortex MCP, it runs cortex serve, which starts MCP tools and the dashboard at http://127.0.0.1:7070 (port configurable in .cortex/cortex.toml).
Optional background indexer (watches files on save):
cortex start
What you get
| Feature | Description |
|---|---|
| Symbol index | Python, JavaScript, TypeScript via tree-sitter |
| MCP tools | find_symbol, find_symbol_usages, trace_symbol_calls, get_file_metadata, and more |
| Framework skills | Optional packs: python, django, react, typescript, nextjs, celery |
| Dashboard | Graph explorer, issues, operations panel |
| Agent wiring | cortex add cursor / cortex add claude installs MCP config and agent rules |
All project data stays under .cortex/ in each repo you index. Nothing is sent to a cloud service by default.
Common commands
| Command | Description |
|---|---|
cortex init |
Create .cortex/cortex.toml and .cortex/cortexignore |
cortex add cursor |
Wire .cursor/mcp.json + rules |
cortex add claude |
Wire .mcp.json + .claude/rules/ |
cortex start |
Background daemon (indexer + HTTP API) |
cortex serve |
MCP over stdio (used by editors) |
cortex skills add django python |
Enable skills |
cortex dashboard |
Open the web UI |
cortex reindex |
Re-scan the repository |
cortex status |
Daemon health and stats |
Run cortex --help for the full list.
Skills
Enable with cortex skills add <name>:
| Skill | Examples |
|---|---|
python |
get_function_signature, get_python_issues |
django |
trace_request_flow, list_django_urls |
react |
list_react_components, trace_component_tree |
typescript |
get_typescript_issues, list_typescript_exports |
nextjs |
get_route_tree, find_server_actions |
celery |
list_celery_tasks |
Documentation
Full docs, source code, and contributing guidelines:
https://github.com/zohaib3249/cortex
- Getting started
- Editor integrations
- Changelog — release notes for every version
License
Cortex Personal Use License — personal and non-commercial use only. See LICENSE on GitHub.
Commercial use requires a separate agreement with the maintainers.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentcortex-1.0.1.tar.gz.
File metadata
- Download URL: agentcortex-1.0.1.tar.gz
- Upload date:
- Size: 286.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61a3215b838e0a13645fdffcee7c900572d09e32149b8bb9917baca8170e9669
|
|
| MD5 |
4537cc93e4983b1d7dfd0619231e6854
|
|
| BLAKE2b-256 |
890e46a2cdb2018e0ddbd2bd8509d7d740ec3c122bfffd610743b56c7c8ac101
|
Provenance
The following attestation bundles were made for agentcortex-1.0.1.tar.gz:
Publisher:
release.yml on zohaib3249/cortex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentcortex-1.0.1.tar.gz -
Subject digest:
61a3215b838e0a13645fdffcee7c900572d09e32149b8bb9917baca8170e9669 - Sigstore transparency entry: 1655287212
- Sigstore integration time:
-
Permalink:
zohaib3249/cortex@af9c9f3246758b82de54da9dfc8771639046740f -
Branch / Tag:
refs/heads/master - Owner: https://github.com/zohaib3249
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@af9c9f3246758b82de54da9dfc8771639046740f -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentcortex-1.0.1-py3-none-any.whl.
File metadata
- Download URL: agentcortex-1.0.1-py3-none-any.whl
- Upload date:
- Size: 360.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4155b4718c9d9d9063b416f5f5a8a336661ea6b85cde4ded20160300e3e16e5
|
|
| MD5 |
dff3d73eed889536aed72db1ed6bdbd1
|
|
| BLAKE2b-256 |
54324a2625a44de3807cda9dc81fb5b86b7c644ef67fdfdb3fbe5df0085b0bb2
|
Provenance
The following attestation bundles were made for agentcortex-1.0.1-py3-none-any.whl:
Publisher:
release.yml on zohaib3249/cortex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentcortex-1.0.1-py3-none-any.whl -
Subject digest:
b4155b4718c9d9d9063b416f5f5a8a336661ea6b85cde4ded20160300e3e16e5 - Sigstore transparency entry: 1655287433
- Sigstore integration time:
-
Permalink:
zohaib3249/cortex@af9c9f3246758b82de54da9dfc8771639046740f -
Branch / Tag:
refs/heads/master - Owner: https://github.com/zohaib3249
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@af9c9f3246758b82de54da9dfc8771639046740f -
Trigger Event:
push
-
Statement type: