Skip to content

nekte-protocol/nekte-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nekte

NEKTE Protocol — Token-efficient agent-to-agent coordination (Python SDK)

Install

pip install nekte

Quick Start

from nekte import NekteClient, HttpTransport, InMemoryCacheStore, CapabilityCache

async with NekteClient(
    "http://localhost:4001",
    transport=HttpTransport("http://localhost:4001"),
    cache=CapabilityCache(store=InMemoryCacheStore()),
) as client:
    catalog = await client.catalog()
    result = await client.invoke("sentiment", input={"text": "Great product!"})
    print(result.out)

Architecture

Hexagonal + DDD with 4 explicit layers:

domain/       Pure logic, zero I/O (types, state machine, SIEVE, hashing)
ports/        Interfaces (Transport, CacheStore, AuthHandler, StreamWriter)
application/  Orchestration (NekteClient, CapabilityCache, TaskRegistry)
adapters/     I/O implementations (HttpTransport, InMemoryCacheStore)

License

MIT — BaronTech Labs

About

NEKTE Protocol Python SDK — Token-efficient agent-to-agent coordination

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages