AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Rka Core

mcp-rka-project-rka-core · by rka-project

Research Knowledge Agent — MCP server + REST API + React dashboard for AI-assisted research orchestration

No reviews yet
0 installs
29 views
0.0% view→install

Install

$ agentstack add mcp-rka-project-rka-core

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-rka-project-rka-core)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
23d ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Rka Core? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

RKA Core — Research Knowledge Agent

[](https://github.com/rka-project/rka-core/actions/workflows/pytest.yml) [](LICENSE)

A local-first research operating system for turning day-to-day research activity into durable, auditable knowledge.

AI-assisted research produces valuable observations, experiments, decisions, and failures, but that reasoning is often scattered across conversations, repositories, notes, and terminal logs. RKA maintains a persistent, provenance-aware research record and helps researchers progressively transform it into claims, evidence clusters, research questions, and defensible publication structures.

With RKA, researchers can:

  • resume long-running projects without reconstructing prior reasoning;
  • preserve why decisions were made and what evidence supports them;
  • separate tentative observations from reviewed claims;
  • supervise AI collaborators through explicit missions and decision gates;
  • expose auditable research records to downstream tools; and
  • support multiple research outputs from the same knowledge substrate without

coupling those tools to Core.

RKA is built for research workflows in computer science, AI, cybersecurity, IoT, and cyber-physical systems. The core is usable today; the interactive manuscript workbench and Agent-Native Research Artifact interoperability described below are active roadmap directions.

Why RKA exists

Research is not a sequence of isolated prompts. It is a long-running process of forming questions, trying approaches, collecting evidence, revising assumptions, and deciding what the evidence supports.

Most AI tools preserve only fragments of that process. Conversation history remembers what was said but not necessarily what remains valid. Vector databases retrieve similar passages but do not explain why a decision was made. Task agents execute work but often discard the reasoning, alternatives, and failed branches that make results interpretable.

RKA treats the research record itself as durable infrastructure.

flowchart LR
    Inputs["Research activitynotes · conversations · files · repositories · experiments"]
    Record["Longitudinal recordobservations · decisions · failures · provenance"]
    Knowledge["Reviewed knowledgeclaims · evidence · clusters · research questions"]
    Spine["Publication reasoninginsight · gap · spine · contributions · evaluation"]
    Outputs["Research outputspaper · proposal · ARA · grounded dialogue"]

    Inputs --> Record --> Knowledge --> Spine --> Outputs

    style Record fill:#E6F1FB,stroke:#185FA5,color:#042C53
    style Knowledge fill:#EEEDFE,stroke:#534AB7,color:#26215C
    style Spine fill:#FAEEDA,stroke:#854F0B,color:#412402
    style Outputs fill:#E1F5EE,stroke:#0F6E56,color:#04342C

RKA Core owns the early stages of this pipeline: durable research records, retrieval, provenance, and reviewed knowledge. Manuscript development is an independent downstream capability in rka-writer; it is not activated by the Core distribution.

How it works

RKA coordinates three roles around one shared, typed knowledge base:

  • Researcher — frames the problem, contributes domain knowledge, ratifies consequential decisions, and retains final authority.
  • Brain — retrieves context, synthesizes evidence, maintains claims and research questions, proposes options, and keeps interpretations current.
  • Executor — performs bounded implementation or experimental missions, records findings, and raises checkpoints when assumptions or scope require review.
  • RKA — stores the shared record, provenance graph, lifecycle state, and auditable handoffs between them.

The roles are architectural responsibilities, not requirements to use one particular model. RKA exposes its capabilities through MCP and REST. The reference workflows are currently tested most extensively with Claude Desktop and Claude Code; ChatGPT can connect through the authenticated HTTP MCP path.

Progressive crystallization

RKA does not require every raw note to become a formal conclusion immediately. Knowledge matures in stages:

flowchart LR
    Journal["Journalobservations · procedures · directives"]
    Candidates["Interpretation candidatessource locator · uncertainty · falsifier"]
    Claims["Claimstyped assertions with source spans"]
    Scope["Claim scope versionsconditions · extension policy · falsifier"]
    Clusters["Evidence clustersrelated claims + synthesis"]
    Questions["Research mapquestions · gaps · contradictions"]
    Writing["Claim spineargument · contribution · evaluation"]

    Journal --> Candidates --> Claims --> Scope --> Clusters --> Questions --> Writing

Raw records remain available even when later interpretations change. Candidate interpretations must be reviewed explicitly before promotion; they can be deferred, rejected, merged, or classified without silently becoming scientific claims. Derived claims and clusters can be reviewed, superseded, or rebuilt without rewriting history.

Each canonical claim has a separate, immutable applicability contract. Scope reviews record typed conditions, uncertainty, allowed and prohibited extensions, and falsifiers. Missing or stale scope stays visible rather than being inferred, and manuscript admission also continues to check grounding, scientific evidence status, contradictions, and freshness independently.

Provenance by construction

RKA connects literature, decisions, missions, findings, claims, and later decisions through typed relationships. A researcher can ask not only “What do we currently believe?” but also:

  • Which observations support this claim?
  • Which decision caused this experiment to be run?
  • What changed after an assumption was invalidated?
  • Which manuscript contribution still lacks sufficient evidence?
  • What did the project believe at an earlier point in time?

Researcher-controlled agency

AI collaborators may propose interpretations and execute approved work, but consequential commitments remain visible. Confirmation briefs, checkpoints, decision records, validation gates, and reversible supersession keep the researcher in control without forcing them to reconstruct every agent action.

What RKA is—and is not

RKA is not a replacement for a reference manager, a generic retrieval database, or a paper generator layered directly on top of chat history.

It combines four concerns that are usually separated:

| Concern | RKA's role | |---|---| | Continuity | Preserve research activity across sessions, tools, and collaborators. | | Epistemic structure | Distinguish observations, assumptions, hypotheses, results, and reviewed claims. | | Control | Record decisions, delegate bounded missions, and escalate uncertainty. | | Publication grounding | Build arguments from traceable claims and evidence rather than reconstructing provenance after writing. |

Zotero, repositories, notebooks, and experimental platforms remain important sources. RKA links and interprets their outputs rather than attempting to replace them.

What is available today

  • Persistent, multi-project research records for journals, literature, decisions, missions, reports, checkpoints, and artifacts.
  • Interpretation staging with exact source locators, uncertainty, falsifiers, immutable review history, and explicit promotion or revocation.
  • Canonical claim-scope contracts with immutable revisions, typed applicability conditions, extension policy, falsifiers, and fail-closed manuscript readiness.
  • Claims and evidence clusters with source-span provenance, confidence states, contradictions, and review workflows.
  • Research maps connecting research questions to clusters and individual claims.
  • Decision and freshness lifecycles with supersession, staleness propagation, assumption tracking, and historical belief queries.
  • Brain–Executor workflows with scoped missions, acceptance criteria, backbriefs, checkpoints, and reports.
  • Hybrid retrieval and graph navigation using FTS5, optional vector embeddings, typed links, and multi-hop context assembly.
  • Researcher-facing dashboard for browsing projects, journals, decisions, missions, research maps, provenance, and audit history.
  • Role-specific skills for strategic research management, execution, and PI supervision.
  • MCP, REST, CLI, and knowledge-pack interfaces for local and connected workflows.

Detailed feature and workflow documentation lives in the [User Manual](docs/USERMANUAL.md) and [Usage Guide](USAGEGUIDE.md).

From one research record to papers and ARA

RKA's publication direction is based on a simple principle: researchers should not have to reconstruct their scientific reasoning separately for every output.

The separately developed manuscript workbench will guide a researcher from an initial insight through problem scoping, related-work positioning, gap analysis, challenges, innovations, research questions, contributions, evaluation design, claim spine, outline, and full draft. Throughout that process, proposed text remains linked to RKA claims, evidence, decisions, and source records through Core's public contract.

This creates a natural interoperability point with the Agent-Native Research Artifact project:

  • RKA provides the longitudinal capture, reasoning, review, and authoring environment.
  • ARA provides a portable agent-native research package spanning scientific logic, executable assets, exploration history, and evidence.
  • Traditional papers and ARA packages can become two grounded views of the same research effort instead of two separately maintained records.

The intended integration is an explicit, testable crosswalk—not a lossy text export. Stable RKA entities should map to ARA objects with preserved provenance, lifecycle status, and claim–evidence bindings. This interoperability is planned work and is not yet part of the released core.

Quick start

1. Install and start RKA

Prerequisites: Git, Python 3, uv, and Docker with the Compose v2 plugin (docker compose version must work). Docker Desktop includes Compose on macOS, Windows, and Linux; Linux users may instead install Docker Engine plus the Compose plugin.

macOS or Linux:

git clone https://github.com/rka-project/rka-core.git
cd rka-core
docker compose up -d
uv tool install --force --reinstall .
~/.local/bin/rka --version
curl http://127.0.0.1:9712/api/health

Windows PowerShell:

New-Item -ItemType Directory -Force "$env:USERPROFILE\Code" | Out-Null
Set-Location "$env:USERPROFILE\Code"
git clone https://github.com/rka-project/rka-core.git
Set-Location rka-core
docker compose up -d
uv tool install --force --reinstall .
& "$env:USERPROFILE\.local\bin\rka.exe" --version
Invoke-RestMethod http://127.0.0.1:9712/api/health

Open http://127.0.0.1:9712. The interactive REST documentation is at http://127.0.0.1:9712/docs. The MCP binary is ~/.local/bin/rka on macOS/Linux and %USERPROFILE%\.local\bin\rka.exe on Windows. Client-specific Claude and Codex configuration, upgrades, and troubleshooting are documented in [INSTALL.md](INSTALL.md).

> The first uncached FastEmbed startup downloads the embedding model. During that download or a generation rebuild after an upgrade/import, health remains available but semantic search can temporarily fall back to lexical retrieval. Check Settings for indexing progress before judging retrieval quality.

2. Begin a project

After connecting a client, ask it to list or create an RKA project and state the selected project at the beginning of the session. Every project-scoped operation uses an explicit project ID so work cannot silently land in the wrong project.

For a complete first-project walkthrough, see [USAGEGUIDE.md](USAGEGUIDE.md).

Interfaces

| Interface | Best for | Documentation | |---|---|---| | Web dashboard | Browsing, reviewing, navigating, and direct editing | [User Manual](docs/USERMANUAL.md) | | MCP | AI-assisted research retrieval, maintenance, and execution workflows | [Installation](INSTALL.md), [Technical Reference](docs/TECHNICALREFERENCE.md) | | CLI | Starting services, status, backup, credentials, and workspace bootstrap | [Technical Reference](docs/TECHNICALREFERENCE.md) | | REST API | Custom integrations and application development | [Technical Reference](docs/TECHNICALREFERENCE.md), live /docs | | ChatGPT connector | Authenticated access from ChatGPT to a local RKA instance | [Connector Guide](docs/CHATGPTCONNECTOR.md) | | Writer (separate project) | Explicitly invoked manuscript assistance using RKA's public contract | rka-project/rka-writer |

Architecture

The core distribution runs a FastAPI service and React dashboard, a background indexing worker, and an MCP adapter over a shared service layer. SQLite, FTS5, and sqlite-vec provide local persistence and retrieval. Server-side research interpretation is intentionally separated from storage: the connected Brain performs synthesis while RKA preserves, validates, and serves the structured record.

See [Architecture](docs/ARCHITECTURE.md) for the runtime model, data layers, provenance graph, MCP dispatch surface, search design, and extension boundaries.

Roadmap

The immediate priority is to harden RKA as an independently usable research- knowledge core. Writer remains a separate downstream product under the same RKA Ecosystem project:

  1. Core reliability — harden journal correctness, provenance, project

isolation, retrieval, claim edges, migrations, export/import, and recovery.

  1. Stable integration contract — freeze the supported REST/MCP surface and

provide version, capability, and compatibility discovery.

  1. RKA Writer extraction — move the Writer skill, manuscript semantics,

academic-writing tools, and Workbench to rka-project/rka-writer.

  1. Future Core slimming and ecosystem validation — slim the Core

distribution only in an explicitly approved breaking release, after legacy-state migration and downstream compatibility tests pass.

The earlier Agentic repository/extraction proposal is shelved. Its history is preserved, but it is not an active product, dependency, or installation path.

The Workbench, ARA interoperability, and dual-output evaluation remain planned Writer/ecosystem work; they are not the immediate Core implementation target.

The dependency-ordered plan lives in the repository [Roadmap](ROADMAP.md), with active work tracked through GitHub milestones. Roadmap items describe direction and should not be interpreted as released features.

Research

The working paper [Framing Is Human: Researcher–Brain–Executor Architecture for AI-Assisted Research](docs/paper/RKA-paper.pdf) describes RKA's architectural argument, design principles, and evaluation.

RKA is being developed for research workflows at UNC Charlotte. Feedback, comparative evaluations, interoperability experiments, and research collaborations are welcome.

Documentation

| Document | Purpose | |---|---| | [Installation](INSTALL.md) | Complete local, MCP-client, and connector setup | | [Usage Guide](USAGEGUIDE.md) | End-to-end Brain, Executor, PI, and research workflows | | [User Manual](docs/USERMANUAL.md) | Concepts, dashboard operation, and researcher-facing reference | | [Architecture](docs/ARCHITECTURE.md) | Design rationale, components, data model, and knowledge lifecycle | | [Technical Reference](docs/TECHNICALREFERENCE.md) | CLI, MCP, REST, configuration, and development entry points | | [Core Profile](docs/COREPROFILE.md) | Supported Core dependencies, test boundary, and startup smoke gate | | [Roadmap](ROADMAP.md) | Dependen

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.