del the funky robosapien — a terminal AI agent
Project description
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.mdinstructions 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
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
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 deltron-0.1.1.tar.gz.
File metadata
- Download URL: deltron-0.1.1.tar.gz
- Upload date:
- Size: 72.1 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d281679d066427216559eb1cdb1e93b0d12ae9a8924bfe30862f6da9ad37c43
|
|
| MD5 |
71a122eb0d6b800c4f60b0086982ccc4
|
|
| BLAKE2b-256 |
5bba80d9c954bc9487b501dce83a40e0b15fdac15907481d28fc7f71493c15c2
|
File details
Details for the file deltron-0.1.1-py3-none-any.whl.
File metadata
- Download URL: deltron-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d78ee88b7017715798d59ec394301785d0eb961d0550c342ae2870452f12ace
|
|
| MD5 |
f0eb46a19fc41faa6989596cdadd70ee
|
|
| BLAKE2b-256 |
f65b614fd44257bb3405900af81ecdf2c3a51e3434d67216608dbd265be19a69
|