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

Agentic Sdk

mcp-agentralabs-agentic-sdk · by agentralabs

Shared contracts for the Agentra ecosystem — traits, types, and standards that all sisters implement

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

Install

$ agentstack add mcp-agentralabs-agentic-sdk

✓ 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 No
  • 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-agentralabs-agentic-sdk)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
6mo 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 Agentic Sdk? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

agentic-sdk

Shared contracts for the Agentra ecosystem.

This crate defines the traits, types, and standards that ALL sisters must implement. It serves as the single source of truth for the ecosystem.

Installation

[dependencies]
agentic-sdk = "0.2"

Core Traits

Sister Trait

The foundation that all sisters implement:

use agentic_sdk::prelude::*;

pub struct MyNewSister { /* ... */ }

impl Sister for MyNewSister {
    const SISTER_TYPE: SisterType = SisterType::Memory;
    const FILE_EXTENSION: &'static str = "amem";

    fn init(config: SisterConfig) -> SisterResult { /* ... */ }
    fn health(&self) -> HealthStatus { /* ... */ }
    fn version(&self) -> Version { /* ... */ }
    fn shutdown(&mut self) -> SisterResult { /* ... */ }
    fn capabilities(&self) -> Vec { /* ... */ }
}

SessionManagement Trait

Append-only sequential sessions (Memory, Vision, Identity, Contract, Comm):

impl SessionManagement for MyNewSister {
    fn start_session(&mut self, name: &str) -> SisterResult { /* ... */ }
    fn end_session(&mut self) -> SisterResult { /* ... */ }
    fn current_session(&self) -> Option { /* ... */ }
    fn export_session(&self, id: ContextId) -> SisterResult { /* ... */ }
    fn import_session(&mut self, snapshot: ContextSnapshot) -> SisterResult { /* ... */ }
}

WorkspaceManagement Trait

Switchable named workspaces (Codebase, Planning):

impl WorkspaceManagement for MyNewSister {
    fn create_workspace(&mut self, name: &str) -> SisterResult { /* ... */ }
    fn switch_workspace(&mut self, id: ContextId) -> SisterResult { /* ... */ }
    fn current_workspace(&self) -> Option { /* ... */ }
    fn delete_workspace(&mut self, id: ContextId) -> SisterResult { /* ... */ }
}

Grounding Trait

Search-based claim verification:

impl Grounding for MyNewSister {
    fn ground(&self, claim: &str) -> SisterResult { /* ... */ }
    fn evidence(&self, query: &str, max_results: usize) -> SisterResult> { /* ... */ }
    fn suggest(&self, query: &str, limit: usize) -> SisterResult> { /* ... */ }
}

Queryable Trait

Standard query interface:

impl Queryable for MyNewSister {
    fn query(&self, query: Query) -> SisterResult { /* ... */ }
    fn supports_query(&self, query_type: &str) -> bool { /* ... */ }
    fn query_types(&self) -> Vec { /* ... */ }
}

EventEmitter Trait

Observability events:

impl EventEmitter for MyNewSister {
    fn subscribe(&self, filter: EventFilter) -> EventReceiver { /* ... */ }
    fn recent_events(&self, limit: usize) -> Vec { /* ... */ }
    fn emit(&self, event: SisterEvent) { /* ... */ }
}

File Format

Each sister uses its own binary header format. The contracts provide FileFormatReader and FileFormatWriter traits for unified access:

use agentic_sdk::file_format::*;

impl FileFormatReader for MyNewSister {
    fn can_read(&self, path: &Path) -> bool { /* check magic bytes */ }
    fn file_info(&self, path: &Path) -> SisterResult { /* ... */ }
    fn file_version(&self, path: &Path) -> SisterResult { /* ... */ }
}

impl FileFormatWriter for MyNewSister {
    fn write_file(&self, path: &Path) -> SisterResult { /* ... */ }
    fn export_bytes(&self) -> SisterResult> { /* ... */ }
}

Error Handling

Two-layer error model across all sisters:

use agentic_sdk::errors::*;

// Domain errors (tool execution failures -> isError: true in MCP)
let err = SisterError::not_found("node_123");
let err = SisterError::invalid_input("name cannot be empty");
let err = SisterError::storage("Failed to write file");

// Protocol errors (routing failures -> JSON-RPC error response)
let err = ProtocolError::tool_not_found("unknown_tool");
let err = ProtocolError::invalid_params("missing required field 'name'");

Sisters Covered

| Sister | Type | Extension | Status | |--------|------|-----------|--------| | Memory | SisterType::Memory | .amem | ✅ Shipped | | Vision | SisterType::Vision | .avis | ✅ Shipped | | Codebase | SisterType::Codebase | .acb | ✅ Shipped | | Identity | SisterType::Identity | .aid | ✅ Shipped | | Time | SisterType::Time | .atime | ✅ Shipped | | Contract | SisterType::Contract | .acon | ✅ Shipped | | Comm | SisterType::Comm | .acomm | ✅ Shipped | | Planning | SisterType::Planning | .aplan | ✅ Shipped |

License

MIT

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.