Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

Upsonic

> AI 编程
Open source

Build autonomous AI agents in Python.

7.9K stars0 likes2 views
WebsiteGitHub

About

Build autonomous AI agents in Python.


Overview

Upsonic is a Python framework for building autonomous agents like OpenClaw and Claude Cowork, as well as more traditional agent systems.

Quick Start

Installation

bash
uv pip install upsonic
# pip install upsonic

IDE Integration

Add Upsonic docs as a source in your coding tools:

Cursor: Settings → Indexing & Docs → Add https://docs.upsonic.ai/llms-full.txt

Also works with VSCode, Windsurf, and similar tools.


Create Autonomous Agent

Build Your Own

python
from upsonic import AutonomousAgent, Task

agent = AutonomousAgent(
    model="anthropic/claude-sonnet-4-5",
    workspace="/path/to/logs"
)

task = Task("Analyze server logs and detect anomaly patterns")

agent.print_do(task)

All file and shell operations are restricted to workspace. Path traversal and dangerous commands are blocked.

Use Our Prebuilt Ones

Prebuilt autonomous agents are ready-to-run agents built by the Upsonic community, each packaging a skill, system prompt, and first message so you can go from install to running in seconds. The collection is open to contributions, bring your agent and open a PR.

Learn more: Prebuilt Autonomous Agents

Next steps: Connect a Sandbox Provider (E2B) for isolated cloud execution environments.


Create Traditional Agent

python
from upsonic import Agent, Task

agent = Agent(model="anthropic/claude-sonnet-4-5", name="Stock Analyst Agent")

task = Task(description="Analyze the current market trends")

agent.print_do(task)

Add Custom Tools

python
from upsonic import Agent, Task
from upsonic.tools import tool

@tool
def sum_tool(a: float, b: float) -> float:
    """
    Add two numbers together.

    Args:
        a: First number
        b: Second number

    Returns:
        The sum of a and b
    """
    return a + b

task = Task(
    description="Calculate 15 + 27",
    tools=[sum_tool]
)

agent = Agent(model="anthropic/claude-sonnet-4-5", name="Calculator Agent")

result = agent.print_do(task)

Next steps: Integrate MCP Tools to connect your agents to thousands of external data sources and services.


OCR and Document Processing

Upsonic provides a unified OCR interface with a layered pipeline: Layer 0 handles document preparation (PDF to image conversion, preprocessing), Layer 1 runs the OCR engine.

bash
uv pip install "upsonic[ocr]"
python
from upsonic.ocr import OCR
from upsonic.ocr.layer_1.engines import EasyOCREngine

engine = EasyOCREngine(languages=["en"])
ocr = OCR(layer_1_ocr_engine=engine)

text = ocr.get_text("invoice.pdf")
print(text)

Supported engines: EasyOCR, RapidOCR, Tesseract, PaddleOCR, DeepSeek OCR, DeepSeek via Ollama.

Learn more: OCR Documentation


Check Our Videos

  </a>
</td>
<td align="center">
  <a href="https://www.youtube.com/watch?v=ulUEFIolesQ">
    
  </a>
</td>

Documentation and Resources

  • Documentation - Complete guides and API reference
  • Quickstart Guide - Get started in 5 minutes
  • Examples - Real-world examples and use cases
  • API Reference - Detailed API documentation

Community and Support

** Join our Discord community!** — Ask questions, share what you're building, get help from the team, and connect with other developers using Upsonic.

  • Discord - Chat with the community and get real-time support
  • Issue Tracker - Report bugs and request features
  • Changelog - See what's new in each release

License

Upsonic is released under the MIT License. See LICENCE for details.

Contributing

We welcome contributions from the community! Please read our Contributing Guide and code of conduct before submitting pull requests.

Issues· 34 open

View all issuesOpen on GitHub
  • #554

    [FEATURE] Add pre-tool-call GuardrailProvider alongside SafetyEngine

    featureUpdated Aug 23, 2026
  • #624

    Paid security-scan MCP integration (Upsonic + ScanPay x402)

    Updated Aug 19, 2026
  • #619

    OwnX Network's hackathon offer for Upsonic

    Updated Jun 25, 2026
  • #609

    Possible collab: OwnX x Upsonic

    Updated Jun 25, 2026
  • #617

    Integration: cowork-to-code-bridge for local execution

    Updated Jun 16, 2026
  • #603

    feat(vectordb): Add Valkey Search as a vector database provider

    Updated May 19, 2026
  • #596

    Best-practice: SSL context, SQLAlchemy text(f''), agent shell=True comment, and pickle persistence

    Updated May 15, 2026
  • #555

    [AI Village Outreach] Hello from the AI Village agents!

    Updated Mar 31, 2026
  • #549

    GNAP: git-native task persistence for Upsonic agent teams

    Updated Mar 15, 2026
  • #398

    [FEATURE] Dynamic Pricing Information

    featureUpdated Jan 28, 2026

> Tags

Pythonagentagent-frameworkautonomous-agentautonomous-agents

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.