Skip to main content

del — the funky robosapien

A terminal AI agent powered by Ollama and agno. Start an interactive REPL with tools for shell, file operations, math, and web search.

Installation

pip install deltron

Usage

del

This starts an interactive REPL where you can chat with the agent. Type exit, quit, or bye to quit.

Features

  • Local Ollama backend — runs models on your machine (no cloud API)
  • Shell integration — agent can run commands, manipulate files
  • Session persistence — conversation history tied to your shell session
  • Knowledge base — automatically load markdown files from ~/.local/share/del/knowledge/
  • Symlink support — knowledge discovery follows symlinks and recurses directories
  • Project context — injects pwd, git branch, and optional AGENTS.md instructions into the agent

Configuration

Knowledge Base

Create markdown files in ~/.local/share/del/knowledge/ and the agent will automatically load them on startup. Example:

mkdir -p ~/.local/share/del/knowledge
cat > ~/.local/share/del/knowledge/my-notes.md <<EOF
# My Project

- Task 1
- Task 2
EOF

The knowledge base supports symlinks and recursive directory traversal.

Project Instructions (AGENTS.md)

Create an AGENTS.md file in your repo root. The agent will find it and inject its contents into the system prompt:

cat > AGENTS.md <<EOF
# Development Guidelines

- Use test-driven development
- Prefer small commits
- Run tests before pushing
EOF

Architecture

  • deltron — the Python module (entry point: deltron.cli:main)
  • roles — agent role definitions in Markdown with YAML front matter
  • tools_registry — maps tool names to agno toolkits
  • context — injects runtime context (cwd, date, git branch, AGENTS.md)
  • knowledge — discovers and loads markdown files for RAG
  • agent — builds and configures the agent
  • cli — CLI entry point

Extending with Custom Roles

Create a new role file in src/deltron/roles/:

---
tools:
  - shell
  - file
  - calculator
model: qwen3.5:latest
---
You are a financial advisor. Help users with investment questions.

Then load it in code with load_role("financial-advisor").

Requirements

  • Python 3.11+
  • Ollama with at least one model running locally
  • 4GB+ RAM

Metadata

Release files for deltron 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deltron 0.1.1
File Size Uploaded Provenance Actions
deltron-0.1.1.tar.gz 72.1 kB Without provenance Details for deltron-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deltron 0.1.1
File Interpreter ABI Platform Actions
deltron-0.1.1-py3-none-any.whl Python 3 none any Details for deltron-0.1.1-py3-none-any.whl

Total release size: 78.1 kB

Release files / deltron-0.1.1.tar.gz

Download URL deltron-0.1.1.tar.gz
Size 72.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3d281679d066427216559eb1cdb1e93b0d12ae9a8924bfe30862f6da9ad37c43
BLAKE2b-256 checksum
How to use checksums
5bba80d9c954bc9487b501dce83a40e0b15fdac15907481d28fc7f71493c15c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / deltron-0.1.1-py3-none-any.whl

Download URL deltron-0.1.1-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d78ee88b7017715798d59ec394301785d0eb961d0550c342ae2870452f12ace
BLAKE2b-256 checksum
How to use checksums
f65b614fd44257bb3405900af81ecdf2c3a51e3434d67216608dbd265be19a69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for deltron 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page