Skip to content

t1385.11: Add Urbit communications subagent doc#2769

Merged
marcusquinn merged 1 commit intomainfrom
feature/t1385.11-urbit-agent
Mar 3, 2026
Merged

t1385.11: Add Urbit communications subagent doc#2769
marcusquinn merged 1 commit intomainfrom
feature/t1385.11-urbit-agent

Conversation

@marcusquinn
Copy link
Owner

Summary

  • Add .agents/services/communications/urbit.md — comprehensive subagent doc for Urbit bot integration
  • Covers Urbit OS personal server architecture, Ames P2P encrypted networking, Urbit ID (Azimuth) decentralized identity, Hoon/Nock programming basics, HTTP API (Eyre) for external integration
  • Includes privacy/security assessment (fully decentralized, E2E encryption, no central servers, maximum sovereignty) and current limitations (niche ecosystem, steep learning curve, limited bot tooling)
  • Follows established communications subagent template pattern (frontmatter, Quick Reference, Architecture, Protocol, Installation, Limitations, Security, Integration, Related)

Closes #2758

Add .agents/services/communications/urbit.md covering Urbit OS personal
server architecture, Ames P2P encrypted networking, Urbit ID (Azimuth)
decentralized identity, Hoon/Nock programming basics, HTTP API (Eyre)
for external integration, and current limitations (niche ecosystem,
steep learning curve, limited bot tooling). Includes privacy/security
assessment and aidevops integration patterns via HTTP API bridge.
@github-actions github-actions bot added the enhancement Auto-created from TODO.md tag label Mar 3, 2026
@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a detailed guide for integrating Urbit as a communications subagent. It provides an in-depth look at Urbit's unique architecture, programming model, and identity system, aiming to equip users with the necessary knowledge for bot integration and understanding its capabilities and constraints within a decentralized context.

Highlights

  • New Urbit Subagent Documentation: Added a comprehensive documentation file for Urbit as a communications subagent, located at .agents/services/communications/urbit.md.
  • Detailed Urbit Overview: The document covers Urbit's core components, including its OS architecture, Ames P2P encrypted networking, Urbit ID (Azimuth) decentralized identity, Hoon/Nock programming basics, and the HTTP API (Eyre) for external integration.
  • Security and Limitations Assessment: Included a privacy and security assessment highlighting Urbit's fully decentralized nature, E2E encryption, and maximum sovereignty, alongside current limitations such as its niche ecosystem, steep learning curve, and limited bot tooling.
  • Standardized Template Adherence: The new documentation follows the established communications subagent template, incorporating sections like Quick Reference, Architecture, Protocol, Installation, Limitations, Security, Integration, and Related topics.
Changelog
  • .agents/services/communications/urbit.md
    • Added a new document detailing Urbit as a communications subagent.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 3, 2026

Warning

Rate limit exceeded

@marcusquinn has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 22 minutes and 38 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between ac2beaf and 4cc51fb.

📒 Files selected for processing (1)
  • .agents/services/communications/urbit.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/t1385.11-urbit-agent

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Mar 3, 2026

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 113 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Tue Mar 3 04:51:12 UTC 2026: Code review monitoring started
Tue Mar 3 04:51:13 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 113

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 113
  • VULNERABILITIES: 0

Generated on: Tue Mar 3 04:51:15 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 3, 2026

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a comprehensive documentation file for Urbit integration. The document is well-structured and covers the key aspects of Urbit, from its architecture to practical integration examples. I've identified a few areas for improvement, mainly concerning a recurring typo, an outdated repository link, use of a deprecated term, and a potentially confusing code example. Addressing these points will enhance the accuracy and clarity of this excellent guide.

Note: Security Review has been skipped due to the limited scope of the PR.

- **Identity**: Azimuth (Ethereum L1 PKI) — hierarchical address space (~galaxy > ~star > ~planet > ~moon > ~comet)
- **HTTP API**: Eyre (HTTP server vane) — SSE for events, PUT/POST for actions (JSON via `mark` system)
- **Apps**: Groups (chat/forums), Notebook, Landscape (web UI), third-party apps via `desk` distribution
- **Repo**: [github.com/urbit/urbit](https://github.com/urbit/urbit) (runtime) | [github.com/urbit/vere](https://github.com/urbit/vere) (Vere)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The link to github.com/urbit/vere points to an archived repository. The Vere runtime code has been merged into the main urbit/urbit repository. To avoid confusion and pointing to outdated resources, it's better to remove the link to the archived vere repository.

Suggested change
- **Repo**: [github.com/urbit/urbit](https://github.com/urbit/urbit) (runtime) | [github.com/urbit/vere](https://github.com/urbit/vere) (Vere)
- **Repo**: [github.com/urbit/urbit](https://github.com/urbit/urbit) (runtime)


```text
┌─────────────────────────────────────────────────────┐
│ Urbit Ship (~sampel-palnet) │

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There's a recurring typo throughout this document. ~sampel-palnet should be ~sampel-planet. This typo appears in many places, including code examples and diagrams, which could confuse readers. For example, it's present on lines 53, 139, 287, 296, 309, and many others. Please correct all instances of sampel-palnet to sampel-planet.

Suggested change
│ Urbit Ship (~sampel-palnet) │
│ Urbit Ship (~sampel-planet) │


1. **Custom Gall agent** (Hoon) — full native integration but requires learning Hoon
2. **HTTP API bridge** (any language) — connect via Eyre, but limited to what the HTTP API exposes
3. **Airlock libraries** — `@urbit/http-api` (JS/TS), `urbit-api` (Python), `urbit-q` (Rust) — thin HTTP wrappers

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The term 'Airlock' for the HTTP API client libraries is deprecated. The official JavaScript/TypeScript library was renamed from @urbit/airlock-http-api to @urbit/http-api. To use current terminology, please consider rephrasing this.

Suggested change
3. **Airlock libraries**`@urbit/http-api` (JS/TS), `urbit-api` (Python), `urbit-q` (Rust) — thin HTTP wrappers
3. **HTTP API Client Libraries**`@urbit/http-api` (JS/TS), `urbit-api` (Python), `urbit-q` (Rust) — thin HTTP wrappers

Comment on lines +612 to +616
await api.poke({
app: "channels",
mark: "channel-action",
json: buildReply(result),
});

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The TypeScript example for aidevops integration subscribes to the groups app, which is correct for modern Urbit. However, the poke action targets the channels app with a channel-action mark. This is a very low-level and potentially confusing way to send a message. A more idiomatic and robust approach would be to poke the group-push-hook agent with a group-update mark. This would make the example more consistent with modern Urbit development and easier for developers to follow. The buildReply function would need to be adjusted to create the correct JSON payload for this agent and mark.

Suggested change
await api.poke({
app: "channels",
mark: "channel-action",
json: buildReply(result),
});
await api.poke({
app: "group-push-hook",
mark: "group-update",
json: buildReply(result), // Note: The JSON from buildReply must match the 'group-update' structure.
});

@marcusquinn marcusquinn merged commit 941ad50 into main Mar 3, 2026
23 of 24 checks passed
@marcusquinn marcusquinn deleted the feature/t1385.11-urbit-agent branch March 3, 2026 04:54
marcusquinn added a commit that referenced this pull request Mar 3, 2026
Accept worker versions for discord.md and msteams.md (already reviewed/merged).
Keep our urbit.md (more detailed). Keep our AGENTS.md and subagent-index.toon
(superset of all platforms).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Auto-created from TODO.md tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

t1385.11: Urbit bot agent

1 participant