Skip to main content

EdgeCrab AI Agent SDK — build autonomous agents with Python

Project description

EdgeCrab Python SDK

WHY

Use this SDK when you want Python productivity with the Rust runtime doing the heavy lifting.

This is the canonical EdgeCrab Python SDK publication path.

It is designed for:

  • async or sync agent workflows
  • local Ollama validation before paid-provider rollout
  • session-aware applications
  • memory-backed assistants and research tools

WHAT

Core capabilities:

  • native Rust-backed runtime via PyO3
  • sync and async agents
  • streaming callbacks
  • persistent sessions and memory
  • profile-aware configuration via Config.load_profile()

Architecture

Python app
   |
   v
PyO3 bindings
   |
   v
EdgeCrab Rust runtime
   |
   +--> sessions
   +--> memory
   +--> tools
   |
   v
LLM provider or local Ollama

HOW

Quick start

python3 -m pip install -U edgecrab
from edgecrab import Agent

agent = Agent(model="copilot/gpt-5-mini")
reply = agent.chat_sync("Hello")
print(reply)

Development and examples

See the full examples guide in examples/README.md.

cd sdks/python
python3 -m pip install -U maturin
maturin develop
make e2e

SDK Tutorials

All tutorials ship with working Python examples in examples/.

Tutorial Example Model
1. Cost-Aware Code Review examples/cost_aware_review.py openai/gpt-5 + copilot/gpt-5-mini
2. Parallel Research Pipeline examples/parallel_research.py copilot/gpt-5-mini
3. Multi-Agent Pipeline examples/multi_agent_pipeline.py openai/gpt-4o + copilot/gpt-5-mini
4. Session-Aware Support Bot examples/session_aware_support.py copilot/gpt-5-mini
5. Safe SQL Agent examples/safe_sql_agent.py copilot/gpt-5-mini

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

edgecrab-0.9.0.tar.gz (899.0 kB view details)

Uploaded Source

File details

Details for the file edgecrab-0.9.0.tar.gz.

File metadata

  • Download URL: edgecrab-0.9.0.tar.gz
  • Upload date:
  • Size: 899.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for edgecrab-0.9.0.tar.gz
Algorithm Hash digest
SHA256 d969c687d5fbfc278f9be94d6a077495aa9c5a27ecead0c2b6de98bd30717dee
MD5 4c19d385d30db0a8d1a80d38915c5ce6
BLAKE2b-256 d618e43860dbe6b7602652cb9496853e000f18e7bfbfa2e8e57d41d0c5876c5c

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