Production-Grade Agent Framework with Crash Safety Guarantees
Project description
Continuum Python SDK
A production-grade agent framework with crash safety guarantees.
Quick Start (3 steps)
from continuum import Agent
agent = Agent() # Auto-loads config from environment
result = agent.run("your task")
Installation
pip install continuum
Configuration
Environment Variables
Priority: CONTINUUM_* > CONTINUUM_* > ANTHROPIC_*
export CONTINUUM_API_KEY=your_api_key
export CONTINUUM_PROVIDER=anthropic # or openai, google
export CONTINUUM_MODEL=claude-sonnet-4-6
Config File
Create ~/.continuum/config.toml:
[providers.anthropic]
api_key = "${ANTHROPIC_API_KEY}"
base_url = "https://api.anthropic.com/v1"
model = "claude-sonnet-4-6"
[providers.openai]
api_key = "${OPENAI_API_KEY}"
base_url = "https://api.openai.com/v1"
model = "gpt-4"
[settings]
session_auto_save = true
checkpoint_enabled = true
audit_enabled = true
Features
- Agent: One-line agent creation with automatic configuration
- Session: Conversation history management with checkpoint support
- Tools: Built-in and custom tool registration
- Memory: Multi-layer memory system (episodic, semantic, procedural)
- Config: Multi-provider configuration with environment variable support
API Reference
from continuum import Agent, Session, Config
# Agent
agent = Agent(name="my-agent", model="claude-sonnet-4-6")
agent.run("task description") # One-shot task execution
agent.chat("message") # Interactive chat
agent.start() # Start agent runtime
# Session
session = agent.create_session()
session.add_message("user", "Hello")
session.save() # Persist to storage
session.load(session_id) # Resume session
# Config
config = Config.from_env() # Load from environment
config = Config.from_file("~/.continuum/config.toml") # Load from file
config.use("openai") # Switch provider
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
continuum_agent_sdk-1.0.0.tar.gz
(72.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file continuum_agent_sdk-1.0.0.tar.gz.
File metadata
- Download URL: continuum_agent_sdk-1.0.0.tar.gz
- Upload date:
- Size: 72.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
580967b58067bc4cfbd67ebb519df2c191eb62645427dc044b3cfea49efce91f
|
|
| MD5 |
fa0c5da72a111dc4b9decc6b1ec71dbd
|
|
| BLAKE2b-256 |
5dc194d53450cc181f8294d97854e062f8aed23cc9cc63db79f0c4edfbe5fbb5
|
File details
Details for the file continuum_agent_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: continuum_agent_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 71.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5233482d2630811e13bf06e7e27c595e62e7bd7aec4f4c0cdf0c077e5cd2aa40
|
|
| MD5 |
67fe44401870cfe4a7cc9ef569064a7a
|
|
| BLAKE2b-256 |
f8bb2bba99f1a8d6e27af1a63497ab4c190608572570fee0ecdde6a35574f2b2
|