Skip to main content

Noeta SDK: build AI agents that run on the server. Import noeta.sdk, define your tools and policy — durable event-sourced execution, multi-worker scheduling, provider-neutral, no vendor lock-in.

Project description

noeta-sdk

The thin in-process client surface (noeta.sdk facade — query / Client / Options / tool / extension interfaces) over the noeta-runtime kernel, plus the built-in plugin catalogue (noeta.builtins — every official capability implementation: the fs/web tool packs, provider adapters, guards, reminders, memory, browser, app, MCP, sandbox backends, skills, the ReAct policy) and the official presets. Like claude-agent-sdk / LangChain: import noeta.sdk, run an agent in-process; no engine internals, no HTTP server.

Part of the Noeta workspace. Apache-2.0.

Install

pip install noeta-sdk      # noeta-runtime comes along as a transitive dependency

Then import noeta.sdk — that single module is the whole public surface. Python 3.11+.

Quickstart — zero credentials

No API key, no network: drive one turn with the deterministic offline provider from noeta.sdk.testing.

import tempfile
from pathlib import Path

from noeta.sdk import Options, query, LLMResponse, TextBlock, Usage
from noeta.sdk.testing import FakeLLMProvider

provider = FakeLLMProvider(
    responses=[
        LLMResponse(
            stop_reason="end_turn",
            content=[TextBlock(text="Hello from a Noeta SDK agent!")],
            usage=Usage(uncached=1, output=1),
        )
    ]
)

with tempfile.TemporaryDirectory() as tmp:
    result = query(
        Options(
            system_prompt="You are a concise assistant.",
            allowed_tools=("read",),
            permission_mode="bypassPermissions",
        ),
        goal="Say hello.",
        provider=provider,
        workspace_dir=Path(tmp),
        model="stub-model",
    )
    assert result.answer() == "Hello from a Noeta SDK agent!"

query returns the full event-envelope stream for the turn; result.answer() reads the answer off the terminal envelope. Swap the FakeLLMProvider for a live adapter from noeta.sdk.providers (AnthropicProvider / OpenAICompatProvider) to connect a real model — the provider is wiring, not agent identity.

Learn more

  • Runnable examples/ — a minimal agent, custom tools, an in-process MCP server, a permission gate, provider swapping, sub-agent delegation, and surviving kill -9 mid-task.
  • Documentation — tutorials, how-to guides, and the SDK reference.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noeta_sdk-0.5.5.tar.gz (407.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noeta_sdk-0.5.5-py3-none-any.whl (503.1 kB view details)

Uploaded Python 3

File details

Details for the file noeta_sdk-0.5.5.tar.gz.

File metadata

  • Download URL: noeta_sdk-0.5.5.tar.gz
  • Upload date:
  • Size: 407.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for noeta_sdk-0.5.5.tar.gz
Algorithm Hash digest
SHA256 72f916938fb8cc7bd74e55041eebfb7907a3d8f5ef61fd48ecd2ca2fffacce0a
MD5 192e228d55177f1451a7eb3b076bfb96
BLAKE2b-256 a615c3c9674f85fd7e98c46e5ad74662dc333e6165b7fad08c3186b808b5892f

See more details on using hashes here.

File details

Details for the file noeta_sdk-0.5.5-py3-none-any.whl.

File metadata

  • Download URL: noeta_sdk-0.5.5-py3-none-any.whl
  • Upload date:
  • Size: 503.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for noeta_sdk-0.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0ba59f31cfc399b4a58bf806bad34baf36e1c2f477a0c6b1f68f1ca94788c996
MD5 32f53d95ba1eb10c7ffbb2af9eab5965
BLAKE2b-256 d1d72610130fbc16899a2338057d8ad3a6dcf307bbb8ec13187e1dc252309a93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page